How to set environment variables for X session? [Was Re: Any idea why starting evolution...]

Chris G cl at isbd.net
Sun Oct 24 16:57:59 CEST 2010


On Sun, Oct 24, 2010 at 03:47:00PM +0200, Jérôme Guelfucci wrote:
> On 24/10/10 15:42, Chris G wrote:
> >What's the proper/official way to set environment variables for an X
> >session?  I.e. how do I run a command and set some variables early in
> >the X session startup so that they will be available to any/all programs
> >in the X session?
> >
> >Setting them in .xprofile isn't early enough, that only sets variables
> >for programs run in terminal windows far as I can tell.
> >
> 
> Here on Debian, I set them in .xsessionrc.
> 
I tried that, totally ignored as far as I can see.  I'll have another
try though as I'm running xubuntu which should be pretty similar to
Debian. 

-- 
Chris Green



More information about the Xfce mailing list