Re: Gnome applications and .bash_profile

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2009-11-02 at 13:03 -0500, Steven W. Orr wrote:
> On 11/02/09 12:20, quoth Jonathan Ryshpan:

> > My *question* is what process is reading .bash_profile and acquiring 
> > LC_COLLATE=POSIX.  Let me repeat it:
> > 
> > The invocation chain for evolution, namely:
> > <deleted...>
> > doesn't show a shell of any kind anywhere between gdm, which manages the 
> > login screen, and evolution, which knows that LC_COLLATE=POSIX.  Very 
> > likely the good guy is gnome-session.  Maybe I should examine the 
> > gnome-session code (What's open source for, anyway?), but I have been too
> > lazy.
> > 
> > Thanks to all - jon
> > 
> > 
> 
> Great question. The answer is that if gnome-session is not a bash process then
> it is probably the result of a bash process that became gnome-session after
> running the xinit component and then doing an exec. The exec results in
> gnome-session and preservation of the established environment.
> 
> See my reply to Suvayu dated 12:57 EST.

Your theory that gnome-session is exec-ed by bash is a reasonable one.
It appears that gnome, at least, is sourcing in the environment
variables (LC_COLLATE at least) as you say it should, which would make
it unnecessary to source them in *again* in each individual shell.
Except, of course, that the method that gnome uses to acquire them is
that they be in .bash_login.

Interesting.

Thanks - jon



-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux