[Xquartz-dev] env variables and launchd problem
Dave Ray
apple at jonive.com
Wed Mar 23 17:37:16 PDT 2011
Peter Dyballa wrote:
>> 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.
Actually, a correction.
I'm observing the same thing on shells that are launched by my window manager (e17). Those shells are dropping me in at the root level, but my ENV looks correct in those shells. $HOME=/Users/davidray.
Shells/terminals launched by X11.app (from the Applications menu) are correctly dropping me into my home directory.
It seems there's something unusual about the environment that the wm is getting. I'm using a 3rd party wm so it's hard for me to tell if the issue is in XQuartz or that wm.
Dave
More information about the Xquartz-dev
mailing list