Skip to content
Snippets Groups Projects
Commit 90aaaeae authored by Bob Mottram's avatar Bob Mottram
Browse files

Fix dconf mesh script

parent e071f066
No related branches found
No related tags found
No related merge requests found
......@@ -575,7 +575,7 @@ function mesh_client_startup_applications {
mkdir -p $rootdir/home/$MY_USERNAME/.config/autostart
fi
START_DESKTOP=$rootdir/home/$MY_USERNAME/.config/autostart/mesh-desktop
START_DESKTOP=$rootdir/home/$MY_USERNAME/mesh-desktop.sh
echo '#!/bin/bash' > $START_DESKTOP
echo 'dconf write /org/mate/caja/desktop/volumes-visible false' >> $START_DESKTOP
echo 'dconf write /org/mate/caja/desktop/computer-icon-visible false' >> $START_DESKTOP
......@@ -586,7 +586,15 @@ function mesh_client_startup_applications {
echo 'dconf write /org/mate/desktop/media-handling/automount-open false' >> $START_DESKTOP
echo 'dconf write /org/mate/desktop/screensaver/lock-enabled false' >> $START_DESKTOP
chmod +x $START_DESKTOP
chroot "$rootdir" chown $MY_USERNAME:$MY_USERNAME $START_DESKTOP
START_DESKTOP2=$rootdir/home/$MY_USERNAME/.config/autostart/mesh-start.desktop
echo '[Desktop Entry]' > $START_DESKTOP2
echo 'Type=Application' >> $START_DESKTOP2
echo 'Name=Mesh start desktop script' >> $START_DESKTOP2
echo "Exec=bash -c '~/mesh-desktop.sh'" >> $START_DESKTOP2
echo 'X-GNOME-Autostart-enabled=true' >> $START_DESKTOP2
chmod +x $START_DESKTOP2
chroot "$rootdir" chown -R $MY_USERNAME:$MY_USERNAME /home/$MY_USERNAME/.config
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment