Fix dconf mesh script
This commit is contained in:
parent
e071f066fc
commit
90aaaeaea7
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue