|
@@ -586,6 +586,10 @@ function mesh_client_startup_applications {
|
586
|
586
|
echo 'dconf write /org/mate/caja/desktop/volumes-visible false' >> $START_DESKTOP
|
587
|
587
|
echo 'dconf write /org/mate/desktop/media-handling/automount-open false' >> $START_DESKTOP
|
588
|
588
|
echo 'dconf write /org/mate/desktop/screensaver/lock-enabled false' >> $START_DESKTOP
|
|
589
|
+ echo "touch /home/$MY_USERNAME/.dbus/Xdbus" >> $START_DESKTOP
|
|
590
|
+ echo "chmod 600 /home/$MY_USERNAME/.dbus/Xdbus" >> $START_DESKTOP
|
|
591
|
+ echo "env | grep DBUS_SESSION_BUS_ADDRESS > /home/$MY_USERNAME/.dbus/Xdbus" >> $START_DESKTOP
|
|
592
|
+ echo "echo 'export DBUS_SESSION_BUS_ADDRESS' >> /home/$MY_USERNAME/.dbus/Xdbus" >> $START_DESKTOP
|
589
|
593
|
chmod +x $START_DESKTOP
|
590
|
594
|
|
591
|
595
|
START_DESKTOP2=$rootdir/home/$MY_USERNAME/.config/autostart/mesh-start.desktop
|
|
@@ -646,6 +650,8 @@ function configure_user_interface {
|
646
|
650
|
# to provide notifications
|
647
|
651
|
chroot "$rootdir" apt-get -y install libnotify-bin
|
648
|
652
|
|
|
653
|
+ # some dbus stuff to enable notifications
|
|
654
|
+
|
649
|
655
|
if [[ $VARIANT != "usb" ]]; then
|
650
|
656
|
# log in automatically
|
651
|
657
|
chroot "$rootdir" apt-get -y install nodm xinit
|