[Xquartz-dev] MacPorts XQuartz 2.3.2 (xorg-server 1.4.2-apple32) has problems with $PATH
Martin Costabel
costabel at wanadoo.fr
Mon Feb 16 09:41:19 PST 2009
Peter Dyballa wrote:
>
>
> Am 16.02.2009 um 16:07 schrieb Jeremy Huddleston:
>
>> X11.app inherits its path from your default shell.
>
> This cannot be true.
It is true, but you are not looking at X11.app's environment if you are
in ~/.xinitrc. In ~/.xinitrc (or in the scripts inside ~/.xinitrc.d/,
which is the currently recommended replacement for ~/.xinitrc), you get
an environment inherited directly from /usr/X11/bin/startx as started by
launchd.
This is a minimalist environment that does not take into account *any*
shell startup scripts, and not even ~/.MacOSX/environment.plist.
If you want an environment in ~/.xinitrc, you have to create it yourself.
--
Martin
More information about the Xquartz-dev
mailing list