Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Forum Archive > Main Support Categories > Desktop Environments
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Hello, Unregistered You are browsing a READ only archive of the main support categories pre 4/21/2008. You will not be able to post or reply any threads in this section.

Desktop Environments
Support for your Ubuntu desktop. Including Gnome, KDE and XFCE.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old October 31st, 2004   #1
Bob Collins
First Cup of Ubuntu
 
Join Date: Oct 2004
Beans: 11
Where to set environment variables?

This must have been asked before, but both searches on this list and google didn't reveal the answer. To what file do I add environment variables, both for all users and on a per-user basis.

The way I understood was to add system (all users) info in /etc/profile and per-user info in ~/.profile (or ~/.bash_profile?). Neither appear to be called by Ubuntu.

The Gnome developers, in there documentation, think the profile files should be sourced by /etc/gdm/Xsession but Ubuntu's configuration doesn't follow Gnome's model.

So... if I want to follow the Ubuntu way, where do I set variables?

Thanks,

Bob Collins
Sunnyvale CA USA
Bob Collins is offline   Reply With Quote
 

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 03:59 AM.


vBulletin ©2000 - 2010, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. bilberry