This work for ubutnu 8.04
You need to put variable definition in the
and for ubuntu 11.04
- put the environment variables into the global “/etc/environment” file:
From bash man page:
When an interactive shell that is not a login shell is started, bash reads and executes commands from /etc/bash.bashrc and ~/.bashrc, if these files exist.