X11 Question
X11 Question
- Subject: X11 Question
- From: Nathan Brazil <email@hidden>
- Date: Wed, 24 Aug 2005 23:46:18 -0700
Hi. I am writing a X11 application launcher that does the following:
1. Launch X11 if it is not already launched
2. Set the DISPLAY environment variable
3. Set some other environment variables
4. Launch the X11 application
All is well, except for step 2, where I need to figure out the user's
X11 display (:0, :1, etc.). I see that if I do a grep for X11, one
of the X11 instances will tell me the the display on the command-line
it was started with, but that seems inelegant to me.
Is there a better way?
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden