dot/xinitrc: Start gnome-session(1).
authorMark Wooding <mdw@distorted.org.uk>
Tue, 30 Mar 2010 08:50:08 +0000 (09:50 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Tue, 30 Mar 2010 08:50:08 +0000 (09:50 +0100)
I think I've rigged it to not actually start anything on all my machines
now.  Very annoying.

dot/xinitrc

index f29eddd..cf54467 100755 (executable)
@@ -113,11 +113,11 @@ start-e16 () {
   run bginit $wm $wmopts
   win=nil
   for i in $(seq 10); do
+    sleep 1
     if eesh version >/dev/null 2>&1; then
       win=t
       break
     fi
-    sleep 1
   done
   case $win in
     t)
@@ -150,6 +150,10 @@ start-clients () {
   ## Mail notification.
   run bginit mail-notification
 
+  ## Gnome session.  With great reluctance.  At least it doesn't actually do
+  ## anything.
+  run bginit gnome-session
+
   ## Policykit authentication agent.
   agent=/usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1
   if [ -x $agent ]; then run bginit $agent; fi
@@ -168,9 +172,6 @@ start-clients () {
   ## Panel.
   case $vnc in no) run bginit gnome-panel ;; esac
 
-  ## System tray.
-  ## run bginit stalonetray
-
   ## Local clients.
   start-clients-local
 }