osx - Setting environment variables in OS X? - Stack Overflow Bruno is right on track. I've done extensive research and if you want to set variables that are available in all GUI apps, your only option is /etc/launchd.conf. Please ...