summaryrefslogtreecommitdiffstats
path: root/scripts/bluepin
diff options
context:
space:
mode:
authorMax Krasnyansky <maxk@qualcomm.com>2002-05-09 16:31:11 +0000
committerMax Krasnyansky <maxk@qualcomm.com>2002-05-09 16:31:11 +0000
commit6524a7f07a5b73e2b34a5b8feeb8b4c4ff1fd385 (patch)
tree6fa347e3a167aa2ce2b28d94b3af23873f6a81c3 /scripts/bluepin
parentc1df5fbb4f48cfdd3cd4a566a0836889aa6e8458 (diff)
Add XFree86 to the list X servers that we look for.
Diffstat (limited to 'scripts/bluepin')
-rwxr-xr-xscripts/bluepin5
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/bluepin b/scripts/bluepin
index 6246283e..aa1a0f3c 100755
--- a/scripts/bluepin
+++ b/scripts/bluepin
@@ -11,9 +11,10 @@ import sys, os, string, popen2
# using info extracted from X Server args.
#
def set_display():
- disp = ":0"
+ disp = ":0"
auth = ""
- ps = "/bin/ps -C X --format args --no-headers"
+ proc = "-C X -C XFree86"
+ ps = "/bin/ps " + proc + " --format args --no-headers"
r,w = popen2.popen2(ps)
arg = string.split(r.read())