Re: problems with system-config-display and crtl-alt-backspace

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

 



Hi Aaron,

On Monday 28 December 2009 02:11 PM, Aaron Konstam wrote:
On Mon, 2009-12-28 at 03:04 -0800, Suvayu Ali wrote:
~/.bash_profile gets sourced by any "well behaved" desktop environment
when ever you login. In my experience XFCE and WindowMaker does this. (I
don't use Gnome/KDE as often, so can't comment on them).

~/.bashrc gets sourced when ever you open an interactive shell, maybe by
opening a terminal emulator or login in remotely.

This means whenever you login remotely both ~/.bash_profile&  ~/.bashrc
gets sourced. However if you open a terminal emulator like
gnome-terminal or xterm only your ~/.bashrc gets sourced.

It is my impression that.bashrc is souurced whenever any program is run
in a bash environment. I am willing to be corrected.


By bash environment if you mean a terminal emulator then that is exactly what I meant in my previous post. However if for example you run something using a menu or shortcut on your desktop or maybe Alt-F2 then ~/.bashrc is _not_ sourced, and environment variables defined there won't be available to you. If you want something like that, you need to define it in your ~/.bash_profile.

Hope this makes my point clearer. :)
--
Suvayu

Open source is the future. It sets us free.

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