I'm upgrading a bunch of installations of 10.04 to 12.04. In 10.04 I used to define system wide env. variables in /etc/environment.
It works, but not for $PATH that seems to be overwirtten.
I don't want to define it in /etc/bash.bashrc nor /etc/profile because I want all desktop apps can see its value properly, not only the terminal.
Anybody knows where could $PATH get overwritten? If I log in via tty the PATH has the value I indicated in /etc/environment but if I log into X the PATH has the value /usr/local/bin:/usr/bin:/bin:/usr/games
Any help will be appreciated.