One problem is that /opt/local/bin isn't in your environment.plist, so X11.app fixes it (see ensure_path in bundle-main.c). As for where the others are coming from, you'll have to figure that out on your own. The only place that PATH is touched by X11 is ensure_path and startx. --Jeremy On Mar 9, 2009, at 09:43, Peter Dyballa wrote:
Am 09.03.2009 um 15:05 schrieb Jeremy Huddleston:
Still the paths in X11 are not correct and have no resemblance to what I have in all other applications.
What do you mean by that?
What I described before: that the PATH value does not correspond to what is recorded in ~/.MacOSX/environment.plist, which is:
/Users/pete/bin:/sw/lib/freetype219/bin:/sw/lib/fontconfig2/bin:/ usr/local/bin:/usr/local/ActivePerl-5.8/bin:/usr/local/texlive/2008/ bin/universal-darwin:/usr/bin:/bin:/sbin:/usr/sbin:/usr/local/sbin:/ sw/sbin:/usr/X11/bin:/sw/bin:/sw/lib/coreutils/bin:/Developer/Tools.
The shell RC files use either
PATH=`defaults read "${HOME}/.MacOSX/environment" PATH`
or
export PATH=$(defaults read "${HOME}/.MacOSX/environment" PATH)
or
set path=(`defaults read ~/.MacOSX/environment PATH | tr ':' ' '`)
The PATH value for example GNU Emacs 23.0.91 sees is:
/Users/pete/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11R6/bin:/usr/ local/sbin:/usr/local/bin:/sw/bin:/usr/local/bin:/usr/local/texlive/ 2008/bin/universal-darwin:/Users/pete/bin/FDK/Tools/osx:/opt/local/ bin:/usr/X11R6/bin
or
/opt/local/bin:/usr/X11/bin:/Users/pete/bin:/usr/bin:/bin:/usr/sbin:/ sbin:/usr/X11R6/bin:/usr/local/sbin:/usr/local/bin:/sw/bin:/usr/local/ bin:/usr/local/texlive/2008/bin/universal-darwin:/Users/pete/bin/FDK/ Tools/osx:/opt/local/bin:/usr/X11R6/bin
when in ~/.xinitrc the line
PATH=/opt/local/bin:/usr/X11/bin:$PATH
-- Greetings
Pete
I love deadlines. I love the whooshing noise they make as they go by. – Douglas Adams
_______________________________________________ Xquartz-dev mailing list Xquartz-dev@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/xquartz-dev