[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#289143: kdm: does not source $HOME/.profile anymore



On Monday 21 March 2005 20:32, David Morel wrote:
> To solve my problem I created /etc/X11/Xsession.d/95source-profile which
> contains only the following line :
>
> source $HOME/.profile
>
> I noticed that /etc/X11/Xsession executes .Xsession or .xsession but
> does not source it, hence the env vars problem. I really coudn't find a
> place where to put the user environment so as to have kdm source it, and
> I spent some time on this. It is especially annoying for gtk apps or
> when you try to define a per-user JAVA_HOME for intance. Maybe the right
> thing to do is to put a script in .kde/Autostart ?

In case you are running KDE >=3.3 you can put session wide environment thing 
into file (ending with .sh) into .kde/env/

Cheers,
Kevin



Reply to: