X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=data%2Fautostart.sh;h=5306326258b9b087109afbfb8c2037a88eb0905e;hb=dd97c9beac2778cddb97603315b21778323a25c7;hp=f8b804c6da0a47a02651f27e02151ed230b45398;hpb=f83135a47c7b139727a818e1afd383b0313306c3;p=chaz%2Fopenbox diff --git a/data/autostart.sh b/data/autostart.sh index f8b804c6..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 @@ -31,10 +33,9 @@ if which start_kdeinit >/dev/null; then LD_BIND_NOW=true start_kdeinit --new-startup +kcminit_startup & fi -# Support for SCIM -if which scim >/dev/null; then - export XMODIFIERS=@im=SCIM - export GTK_IM_MODULE=scim - export QT_IM_MODULE=scim - scim -d & +# Run XDG autostart things. By default don't run anything desktop-specific +# See xdg-autostart --help more info +DESKTOP_ENV="" +if which xdg-autostart >/dev/null; then + xdg-autostart $DESKTOP_ENV fi