Re: Gnome applications and .bash_profile

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

 



On Sun, Nov 1, 2009 at 1:57 PM, Didar Hossain <didar.hossain@xxxxxxxxx> wrote:
> On Sun, Nov 1, 2009 at 8:04 AM, Mikkel <mikkel@xxxxxxxxxxxxxxxx> 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

-- 
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