]> Dogcows Code - chaz/openbox/blobdiff - data/autostart.sh
add xce-mcs-manager to the autostart.sh - run it if gsd is not found
[chaz/openbox] / data / autostart.sh
index ab5428417cd1394a5729d6f7a00876935b592360..233450491d69c35c542743883d8218d1842bd8b6 100644 (file)
@@ -22,8 +22,13 @@ if which dbus-launch >/dev/null && test -z "$DBUS_SESSION_BUS_ADDRESS"; then
 fi
 
 # Make GTK apps look and behave how they were set up in the gnome config tools
-if which gnome-settings-daemon >/dev/null; then
+if test -x /usr/libexec/gnome-settings-daemon >/dev/null; then
+  /usr/libexec/gnome-settings-daemon &
+elif which gnome-settings-daemon >/dev/null; then
   gnome-settings-daemon &
+# Make GTK apps look and behave how they were set up in the XFCE config tools
+elif which xfce-mcs-manager >/dev/null; then
+  xfce-mcs-manager n &
 fi
 
 # Preload stuff for KDE apps
@@ -34,6 +39,6 @@ fi
 # Run XDG autostart things.  By default don't run anything desktop-specific
 # See xdg-autostart --help more info
 DESKTOP_ENV=""
-if which xdg-autostart; then
+if which xdg-autostart >/dev/null; then
   xdg-autostart $DESKTOP_ENV
 fi
This page took 0.025389 seconds and 4 git commands to generate.