Re: [Xquartz-dev] env variables and launchd problem - solved
24 Mar
2011
24 Mar
'11
3:43 a.m.
Jeremy Huddleston wrote:
Is there a good way for me to pass my ENV to whatever is launched by ~/.xinitrc.d/99-wm.sh, without passing the ENV to every single launchd process?
Yes.
echo ". ~/.profile" > ~/.xinitrc.d/00-env.sh echo "cd $HOME" >> ~/.xinitrc.d/00-env.sh chmod 755 ~/.xinitrc.d/00-env.sh
That solved everything. Thanks! On unix I always did this, but I never did it on MacOS. It wasn't intuitive that xinit would pass a different ENV than launchd. I suspect this will fix Peter's problem as well. -Dave
5343
Age (days ago)
5343
Last active (days ago)
0 comments
1 participants
participants (1)
-
Dave Ray