dogtail r376 - in trunk: . scripts



Author: zcerza
Date: Mon Jan 21 17:26:38 2008
New Revision: 376
URL: http://svn.gnome.org/viewvc/dogtail?rev=376&view=rev

Log:
* scripts/dogtail-run-headless: Use a real GNOME session instead of a
"fake" one.


Modified:
   trunk/ChangeLog
   trunk/scripts/dogtail-run-headless

Modified: trunk/scripts/dogtail-run-headless
==============================================================================
--- trunk/scripts/dogtail-run-headless	(original)
+++ trunk/scripts/dogtail-run-headless	Mon Jan 21 17:26:38 2008
@@ -142,15 +142,7 @@
         xinitrc.write('#!/bin/sh\n')
         
         if opt in (shortOpts[1], longOpts[1]):
-            # (Fake) GNOME session
-
-            # Damn binaries, always ambling about the filesystem
-            if os.path.exists('/usr/libexec/gnome-settings-daemon'):
-                xinitrc.write('/usr/libexec/')
-            xinitrc.write('gnome-settings-daemon &\n')
-            xinitrc.write('gnome-panel &\n')
-            xinitrc.write('nautilus -n &\n')
-            xinitrc.write('metacity &\n')
+            xinitrc.write('gnome-session &\n')
             xinitrc.write('sleep 10\n')
             xinitrc.write('cd %s && dogtail-detect-session && sh -c "%s"; echo -n $? > %s\n' % (os.getcwdu(), script, exitCodeFile))
             xinitrc.close()



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]