Environment variables

Nils Kassube kassube at gmx.net
Tue May 27 20:47:23 UTC 2008


Robert Holtzman wrote:
> On Tue, 27 May 2008, Nils Kassube wrote:
> > Thanks for the hint. I didn't remember ~/.profile when I needed a
> > modified /etc/environment for one user only. Therefore I tried
> > ~/.environment and it worked (at least with KDE). Actually here both
> > ~/.profile and ~/.environment work.
>
> Out of curiosity, did you upgrade from 7.10 to 8.04 or did you make a
> clean install of 8.04? I'm wondering if a clean install creates a
> ~/.environment file whereas an upgrade doesn't.

I made an upgrade, but the file wasn't there anyway. As Thilo wrote 
already, it doesn't exist by default. Maybe I should have written it more 
precisely. I created the file ~/.environment by copying /etc/environment 
and then I modified it according to my needs. I just tried it because for 
many config files in /etc you can use the same file name 
replacing "/etc/" with "~/." and you get a separate config file for the 
particular user.


Nils




More information about the ubuntu-users mailing list