[Xquartz-dev] env variables and launchd problem

Peter Dyballa Peter_Dyballa at Web.DE
Wed Mar 23 14:24:25 PDT 2011


Am 23.03.2011 um 19:44 schrieb Jeremy Huddleston:

> As I mentioned earlier, it has to do with X11.app inheriting a login  
> shell environment from ~/.bash_profile, ~/.bash_login, or  
> ~/.profile ... which means it does not use ~/.bashrc.  Non-login  
> shells use ~/.bashrc.  If you want your ~/.bashrc used in login  
> shells as well, make sure you source it in your ~/.bash_profile

I'm not using bash, I'm true to tcsh. It works as described: What I  
set in ~/.login appears in the environment of the X clients. (The  
question stays: Why do I have to set the environment values twice?)  
And X11.app obviously knows the value of $HOME; why doesn't it launch  
its X clients in $HOME? GNU Emacs, FontForge, xterm – all are in /!  
X11.app has PWD=/Users/me. Why do the X clients forget it or set it  
to /? They have HOME=/Users/me set.

--
Greetings

   Pete
                       ~  o
                        ~_\\_/\
                       ~  O   O



More information about the Xquartz-dev mailing list