Environment variables are used to create shared settings that persist between invocations of applications. They are used to provide information such as paths to important directories, user information and other information programs need for common tasks.

learn more… | top users | synonyms (1)

1
vote
2answers
242 views

X11 applications don't open after XQuartz update (OS X 10.10.4)

I updated X11 by installing the most recent XQuartz package, 2.7.9. Now, when opening an application that is supported by X11 (e.g., emacs), my terminal throws an error (while X11 starts in the ...
0
votes
2answers
43 views

Is it possible to set the JAVA_HOME env in El Captitan?

I am unable to set the JAVA_HOME environment variable osx. I added the following line to my .bash_profile export JAVA_HOME=`/usr/libexec/java_home` and sourced it afterwards; yet when I printenv or ...
6
votes
1answer
752 views

/etc/launchd.conf setenv value containing whitespace

In my /etc/launchd.conf file, I added these lines in an effort to figure out exactly how to create globally scoped environment variables whose values contain whitespace. setenv foo1 123456 setenv ...
1
vote
1answer
79 views

Setting locale via launch daemon - downside to this approach?

I have the same problem as in this post here that R started in ESS / Emacs can not set the locales: R version 3.2.2 (2015-08-14) -- "Fire Safety" Copyright (C) 2015 The R Foundation for Statistical ...
1
vote
1answer
40 views

Can you save a work session and reopen it later?

Imagine you are working on a book, for which you need 5 precise internet tabs/pages to be open at the same time, Apple Pages, Dictionary, and, I don't know, a classical music CD in iTunes that ...
1
vote
1answer
78 views

Public wifi issue

I am living in an RV park while going to school. When I moved in, the park's wifi worked great, but recently a new (unrelated) wifi network popped up. When I try to get on the park's wifi on my ...
5
votes
0answers
740 views

OS X Yosemite permanent environement variables

Since I upgraded to OS X Yosemite I do have massive problems with environment variables that I really, really NEED for development of some projects. The Problems is: Every time I install some kind ...
1
vote
0answers
42 views

How do items in the 'Applications' folder get on the path?

How does the 'Applications' folder get on the path? For example, I installed Chrome browser into the Applications folder on my Mac and I can type chrome at a bash shell prompt to start it. Now, if I ...
1
vote
0answers
106 views

Set environment variable for iCloud Drive path

Foreword Setting env vars on Yosemite seems to be really a pain, but I've managed doing it thanks to this clever way: http://stackoverflow.com/questions/25385934/setting-environment-variables-via-...
1
vote
0answers
91 views

Environment variable for a user's Documents folder?

When I'm developing with Xcode or maybe using tools like gulp or grunt I notice that the tools try to access resources from an incorrect path. I've observed the problem in more that one program so ...
1
vote
0answers
108 views

Adding comments to /etc/launchd.conf

Since I migrate to Maverick, I cannot add comments anymore to entries in /etc/launchd.conf, like: # setenv VAR VALUE Is there a new format for adding comments there ? When I restart launchctl with:...
0
votes
0answers
22 views

Set language-related environment vars for _all_ processes (not just inside Terminal)

On my somewhat creaky MBP running Yosemite, I find that the POSIX environment variables for controlling the locale (LANG and LC_*) are properly set inside Terminal windows... $ printenv | grep -E '^(...
0
votes
0answers
98 views

Will the Apple Watch charger have too much magnetic field and affect an external hard drive or credit cards?

One time I disconnected the Apple Watch charger and the magnetic attachment landed right next to an external hard drive. Since the charger uses magnetic field to charge the Apple Watch, will placing ...
0
votes
0answers
187 views

Is the iPhone 6 waterproof or water-resistant?

Before the iPhone 6 was officially announced by Apple, several reports claimed that the device will be waterproof. However, the announcement and specifications on Apple's site make no mention of it. ...
0
votes
0answers
123 views

Is it possible to change the PATH variable for a specific user in a single place and have it available on console and GUI applications too?

I am looking for a solution that would allow me to modify PATH for single OS X user but have the PATH available not only to console applications but also to GUI applications.