diff --git a/src/freedombone-image-customise b/src/freedombone-image-customise index 792dcbb1..67ca7890 100755 --- a/src/freedombone-image-customise +++ b/src/freedombone-image-customise @@ -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 diff --git a/src/freedombone-image-mesh b/src/freedombone-image-mesh index 88dd8099..687c52be 100755 --- a/src/freedombone-image-mesh +++ b/src/freedombone-image-mesh @@ -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