mesh autostart script

This commit is contained in:
Bob Mottram 2016-07-30 17:48:28 +01:00
parent a27c11d09f
commit e071f066fc
1 changed files with 1 additions and 3 deletions

View File

@ -577,9 +577,7 @@ function mesh_client_startup_applications {
START_DESKTOP=$rootdir/home/$MY_USERNAME/.config/autostart/mesh-desktop
echo '#!/bin/bash' > $START_DESKTOP
echo 'PID=$(pgrep mate-session)' >> $START_DESKTOP
echo 'export DBUS_SESSION_BUS_ADDRESS=$(grep -z DBUS_SESSION_BUS_ADDRESS /proc/$PID/environ|cut -d= -f2-)' >> $START_DESKTOP
echo 'gsettings set org.mate.caja.desktop volumes-visible false' >> $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
echo 'dconf write /org/mate/caja/desktop/home-icon-visible false' >> $START_DESKTOP
echo 'dconf write /org/mate/caja/desktop/network-icon-visible false' >> $START_DESKTOP