On Thu, 2009-11-05 at 02:02 +0000, Allen Halsey wrote:
Jonathan Ryshpan <jonrysh <at> pacbell.net> writes:
It looks like environment variables set in .bash_profile are visible to applications started in gnome but not via a shell. For example evolution knows when I modify LC_COLLATE.
But how? Here's the invocation chain from login down to evolution -- no shells here...
See this excellent post by Chris Tyler where he explores the sequence of events leading to execution of .bash_profile:
http://dailypackage.fedorabook.com/index.php?/archives/122-Wednesday-Why-Log...
The critical line is in the /etc/X11/xdm/Xsession script:
exec -l $SHELL -c "$SSH_AGENT $DBUS_LAUNCH gnome-session"
where SHELL is bash.
Thanks. The article seems to be about the exact question I asked. (Haven't had a chance to read it yet.)
jon