16 Feb
2009
16 Feb
'09
5:41 p.m.
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