Fix mesh desktop icons

This commit is contained in:
Bob Mottram 2016-07-30 17:43:29 +01:00
parent 184ccae59e
commit a27c11d09f
1 changed files with 6 additions and 6 deletions

View File

@ -31,6 +31,9 @@ PROJECT_NAME='freedombone'
export TEXTDOMAIN=${PROJECT_NAME}-image-mesh
export TEXTDOMAINDIR="/usr/share/locale"
# The browser application to use
BROWSER=iceweasel
MY_USERNAME='fbone'
PEER_ID=
INSTALL_DIR=/root/build
@ -472,13 +475,12 @@ function create_tox_user {
echo 'Name=Tox Chat' >> /home/$MY_USERNAME/Desktop/tox.desktop
echo 'Type=Application' >> /home/$MY_USERNAME/Desktop/tox.desktop
echo 'Comment=Chat, VoIP, Video' >> /home/$MY_USERNAME/Desktop/tox.desktop
echo 'TryExec=qtox -p data' >> /home/$MY_USERNAME/Desktop/tox.desktop
echo 'Exec=qtox -p data' >> /home/$MY_USERNAME/Desktop/tox.desktop
echo "Exec=bash -c 'qtox -p data'" >> /home/$MY_USERNAME/Desktop/tox.desktop
echo 'Icon=qtox' >> /home/$MY_USERNAME/Desktop/tox.desktop
echo 'StartupNotify=true' >> /home/$MY_USERNAME/Desktop/tox.desktop
chown ${MY_DESKTOP}:${MY_DESKTOP} /home/$MY_USERNAME/Desktop/*
chmod +x /home/$MY_USERNAME/Desktop/*
chown ${MY_DESKTOP}:${MY_DESKTOP} /home/$MY_USERNAME/Desktop/*
}
function show_desktop_icons {
@ -505,10 +507,8 @@ function show_desktop_icons {
echo 'Terminal=false' >> /home/$MY_USERNAME/Desktop/new_identity.desktop
echo 'Categories=Application;' >> /home/$MY_USERNAME/Desktop/new_identity.desktop
chown ${MY_DESKTOP}:${MY_DESKTOP} /home/$MY_USERNAME/Desktop/*
chmod +x /home/$MY_USERNAME/Desktop/*
pkill caja
chown ${MY_DESKTOP}:${MY_DESKTOP} /home/$MY_USERNAME/Desktop/*
}
function disable_password_logins {