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
# 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