/etc/enviorment not being read into PATH variable

Posted by Dan on Super User See other posts from Super User or by Dan
Published on 2010-05-18T05:22:59Z Indexed on 2010/05/18 5:31 UTC
Read the original article Hit count: 312

Filed under:

In Ubuntu the path variable is stored in /etc/enviorment. This is mine (I've made no changes to it, this is the system default):

$ cat /etc/environment 

but when I examine my PATH variable:

$ echo $PATH

You'll notice /usr/games is missing (it was there up until a few days ago). My /etc/profile makes no mention of PATH. My ~/.profile is the default and only has:

if [ -d "$HOME/bin" ] ; then

This only happens in gnome, not in tty1-6. This is missing from both gnome terminal and when I try to call applications from the applications dropdown. Anyone know what could be causing this?


© Super User or respective owner

Related posts about ubuntu

Related posts about path