- `/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
On Ubuntu 9.04 (and probably other versions),
Posted by Matt McClure at 6:46 AM