Merge branch 'backport' into work
authorDana Jansens <danakj@orodu.net>
Fri, 5 Feb 2010 18:47:58 +0000 (13:47 -0500)
committerDana Jansens <danakj@orodu.net>
Fri, 5 Feb 2010 18:47:58 +0000 (13:47 -0500)
data/autostart.sh.in
data/xsession/openbox-gnome-session.in

index 62a30e1..eb55558 100644 (file)
@@ -38,7 +38,7 @@ fi
 
 # Run XDG autostart things.  By default don't run anything desktop-specific
 # See xdg-autostart --help more info
-DESKTOP_ENV=""
+DESKTOP_ENV="OPENBOX"
 if which @secretbindir@/xdg-autostart >/dev/null; then
   @secretbindir@/xdg-autostart $DESKTOP_ENV
 fi
index 1f17edb..8dd799c 100644 (file)
@@ -37,7 +37,7 @@ else
   if test -z "$SESSION"; then
       # if its empty then just run openbox
       SESSION="[openbox]"
-  elif echo "$SESSION" | grep -q openbox; then
+  elif echo "$SESSION" | grep -q openbox; then
       # if openbox isn't in the session then append it
       SESSION="${SESSION%]},openbox]"
   fi