Gnome applications and .bash_profile

Didar Hossain didar.hossain at gmail.com
Sun Nov 1 08:31:06 UTC 2009


On Sun, Nov 1, 2009 at 1:57 PM, Didar Hossain <didar.hossain at gmail.com> wrote:
> On Sun, Nov 1, 2009 at 8:04 AM, Mikkel <mikkel at infinity-ltd.com> wrote:
>> Jonathan Ryshpan wrote:
>>> 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.
>>>
>> It depends on the type of shell. Only a login shell reads
>> .bash_profile. If you are starting a (x)terminal, and launching the
>> program from there, the default is not to run your as a login shell.
>
> Stuff that you need defined irrespective of the type of shell should go in
> ~/.bashrc

Correction: ~/.bashrc is for non-login shells *only*. So, you will need to put
the stuff in both ~/.bashrc and ~/.bash_profile

Didar




More information about the fedora-list mailing list