summaryrefslogtreecommitdiff
path: root/data/autostart.sh
diff options
context:
space:
mode:
Diffstat (limited to 'data/autostart.sh')
-rw-r--r--data/autostart.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/data/autostart.sh b/data/autostart.sh
index ab542841..53063262 100644
--- a/data/autostart.sh
+++ b/data/autostart.sh
@@ -22,7 +22,9 @@ 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 which /usr/libexec/gnome-settings-daemon >/dev/null; then
+ /usr/libexec/gnome-settings-daemon &
+elif which gnome-settings-daemon >/dev/null; then
gnome-settings-daemon &
fi
@@ -34,6 +36,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