Re: X11 Question
Re: X11 Question
- Subject: Re: X11 Question
- From: Chris Ridd <email@hidden>
- Date: Thu, 25 Aug 2005 08:04:09 +0100
On 25/8/05 7:46, Nathan Brazil <email@hidden> wrote:
> 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?
Run /usr/bin/open-x11? :-)
Cheers,
Chris
_______________________________________________
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
References: | |
| >X11 Question (From: Nathan Brazil <email@hidden>) |