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]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux