• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: X11 Question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: X11 Question
      • From: Nathan Brazil <email@hidden>
References: 
 >X11 Question (From: Nathan Brazil <email@hidden>)

  • Prev by Date: X11 Question
  • Next by Date: Re: X11 Question
  • Previous by thread: X11 Question
  • Next by thread: Re: X11 Question
  • Index(es):
    • Date
    • Thread