I agree with Mr. Tolf that having to edit .xsession is completely counterintuitive and error prone, forcing one to keep track of two files (.bash_profile, .xsession) for something as simple as the value of PATH.
Even Microsoft Windows allows you to set environment variables that will be used in the graphical environment without resorting to edit autoexec.bat, config.sys, etc. -- .bash_profile is not sources when X session starts https://launchpad.net/bugs/66004 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs