• 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: Path on x11 startup?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Path on x11 startup?


  • Subject: Re: Path on x11 startup?
  • From: Randy Ford <email@hidden>
  • Date: Wed, 12 Feb 2003 22:40:36 -0600

On Wednesday, February 12, 2003, at 05:20  PM, RCohen wrote:

What is the path availble when X11 starts up?  How can it be
modified?

Where are you wanting it to be set? If you want it set for your window manager, you can set it in your ~/.xinitrc before starting the windows manager. If you want it set for programs launched from the Applications menu, you can set it in the command for each one. You can also set it in the plist, as others have said.


The problem I have with using to plist is that you can't use other environment variables and can't set other things. Setting PATH in the plist doesn't do everything that, for instance, your .cshrc. You would have to set the entire path; you can't just add to the default one.

I source a file from my .xinitrc and also from the Application menu, like this:

    source ~/.cshrc;xterm

randy.
_______________________________________________
x11-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/x11-users
X11 for Mac OS X FAQ: http://developer.apple.com/qa/qa2001/qa1232.html
Report issues, request features, feedback: http://developer.apple.com/bugreporter
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Path on x11 startup?
      • From: RCohen <email@hidden>
References: 
 >Path on x11 startup? (From: RCohen <email@hidden>)

  • Prev by Date: Re: A bit off topic, Xemacs?
  • Next by Date: Re: X11 0.2 Startup Behaviour
  • Previous by thread: Re: Path on x11 startup?
  • Next by thread: Re: Path on x11 startup?
  • Index(es):
    • Date
    • Thread