Re: default PATH in X11
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