proper place to set environment variables?

MR ZenWiz mrzenwiz at gmail.com
Mon May 12 20:27:07 CEST 2014


On Mon, May 12, 2014 at 11:09 AM, John Gabriele <jgabriele at fastmail.fm> wrote:
> Hi,
>
> I'm running as my desktop a stock Debian "Testing" (which is currently
> aliased to "jessie") system with Xfce 4.10, and log in graphically via
> LightDM.
>
> Where is the proper location to set environment variables? That is, I
> tried doing so in ~/.profile, but that file does not appear to be
> sourced when logging into the desktop (I think it may when logging in
> via text console though).
>
Typically you set these in your shell's rc file or any other file it sources.

E.g., I use bash, so my ~/.bashrc file contains what I want set and it
also sources other files so I can keep things like my aliases and
functions under separate controls.

MR


More information about the Xfce mailing list