• 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: default PATH in X11
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: default PATH in X11


  • Subject: Re: default PATH in X11
  • From: Jeremy Huddleston <email@hidden>
  • Date: Thu, 29 Nov 2007 15:28:46 -0800

X doesn't have a path, per se. If you start an xterm, the path is inherited from the environment that launched it (like Terminal.app) assuming PATH was exported. This in turn was set via path_helper (referencing /etc/paths). If you use /A/U/11.app to launch the xterm, it starts a bash login shell which uses /etc/profile to run path_helper and any user preferences in ~/.login (or ~/.bash_login). xterm is started from this login shell inheriting its $PATH. xterm then starts a non-login shell which uses your ~/.bashrc

Hope that helps,
Jeremy

On Nov 29, 2007, at 15:12, Ian Kaufman wrote:

Hey all,

Where does X11 set/get its default PATH from? It currently appears
to inherit a default PATH from the actual build (via config) and does
not seem to reference /etc/paths nor /etc/paths.d .

Thanks,

Ian
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list      (email@hidden)
This email sent to email@hidden

_______________________________________________ Do not post admin requests to the list. They will be ignored. X11-users mailing list (email@hidden) This email sent to email@hidden
  • Follow-Ups:
    • Re: default PATH in X11
      • From: Ian Kaufman <email@hidden>
References: 
 >default PATH in X11 (From: Ian Kaufman <email@hidden>)

  • Prev by Date: default PATH in X11
  • Next by Date: Re: default PATH in X11
  • Previous by thread: default PATH in X11
  • Next by thread: Re: default PATH in X11
  • Index(es):
    • Date
    • Thread