New identity icon
This commit is contained in:
parent
4f14ac5a25
commit
728ff314c1
|
@ -585,12 +585,14 @@ function mesh_client_startup_applications {
|
|||
echo 'StartupNotify=true' >> $rootdir/home/$MY_USERNAME/Desktop/tox.desktop
|
||||
|
||||
echo '[Desktop Entry]' > $rootdir/home/$MY_USERNAME/Desktop/new_identity.desktop
|
||||
echo 'Version=1.0' >> $rootdir/home/$MY_USERNAME/Desktop/new_identity.desktop
|
||||
echo 'Name=New Identity' >> $rootdir/home/$MY_USERNAME/Desktop/new_identity.desktop
|
||||
echo 'Type=Application' >> $rootdir/home/$MY_USERNAME/Desktop/new_identity.desktop
|
||||
echo 'Comment=Create a new identity' >> $rootdir/home/$MY_USERNAME/Desktop/new_identity.desktop
|
||||
echo 'TryExec=freedombone-mesh-reset' >> $rootdir/home/$MY_USERNAME/Desktop/new_identity.desktop
|
||||
echo 'Exec=freedombone-mesh-reset' >> $rootdir/home/$MY_USERNAME/Desktop/new_identity.desktop
|
||||
echo 'Exec=mate-terminal -e freedombone-mesh-reset' >> $rootdir/home/$MY_USERNAME/Desktop/new_identity.desktop
|
||||
echo 'Icon=user-away' >> $rootdir/home/$MY_USERNAME/Desktop/new_identity.desktop
|
||||
echo 'Terminal=false' >> $rootdir/home/$MY_USERNAME/Desktop/new_identity.desktop
|
||||
echo 'Categories=Application;' >> $rootdir/home/$MY_USERNAME/Desktop/new_identity.desktop
|
||||
|
||||
#cp $rootdir/home/$MY_USERNAME/Desktop/tox.desktop $rootdir/home/$MY_USERNAME/.config/autostart/tox.desktop
|
||||
|
||||
|
|
|
@ -704,6 +704,12 @@ if [ -f $MESH_INSTALL_SETUP ]; then
|
|||
pkill caja
|
||||
fi
|
||||
|
||||
if [ -d /home/${MY_USERNAME}/Desktop ]; then
|
||||
# Remove the Icon from the desktop
|
||||
gsettings set org.mate.caja.desktop home-icon-visible false
|
||||
gsettings set org.mate.caja.desktop computer-icon-visible false
|
||||
gsettings set org.mate.caja.desktop trash-icon-visible false
|
||||
fi
|
||||
|
||||
mesh_restart_daemons
|
||||
if [ ! -f $MESH_INSTALL_COMPLETED ]; then
|
||||
|
|
Loading…
Reference in New Issue