How can I set environment variables for a graphical login on linux?

Posted by Ryan Thompson on Super User See other posts from Super User or by Ryan Thompson
Published on 2010-03-18T07:11:07Z Indexed on 2010/03/18 7:21 UTC
Read the original article Hit count: 304

Filed under:
|
|

I'm looking for a way to set arbitrary environment variables for my graphical login on linux. I am not talking about starting a terminal and exporting environment variables within the terminal, because those variables only exist within that one terminal. I want to know how to set an environment variable that will apply to all programs started in my graphical session.

In other words, what's the Xorg equivalent of ~/.bash_login?

© Super User or respective owner

Related posts about linux

Related posts about environment-variables