- `/bin/sh /etc/gdm/Xsession default` reads ~/.profile
- /bin/sh is Dash, not Bash. Dash accepts a subset of the syntax that Bash accepts.
- Environment variables set in ~/.profile or in files sourced by ~/.profile are propagated to Gnome and programs launched from Gnome.
Thursday, September 24, 2009
Set Environment Variables in Gnome on Ubuntu Linux
On Ubuntu 9.04 (and probably other versions),
Subscribe to:
Post Comments (Atom)