[YLUG] gnome-terminal/fedora 10
Roger Leigh
rleigh at codelibre.net
Sun Mar 15 22:32:47 UTC 2009
On Sat, Mar 14, 2009 at 11:22:30PM +0000, Patrick Dupre wrote:
> When I run gnome-terminal, it does run .bash_profile, but it looks like
> that it should not.
> xtern and terminal have the right behavior.
Why would it not be considered "right"? This depends entirely on
what you want it to do.
> How can avoid to run .bash_profile when I run gnome-terminal ?
gnome-terminal does not "run" .bash_profile. It runs /bin/bash
just time xterm does, but as a "login" shell which causes it to
read .bash_profile instead. This is a configuration option in
gnome-terminal, and it's not done by default, so you most likely
configured it to do this; just uncheck the box in the edit profile
dialogue.
The BASH manual and info pages explain exactly how login shells
work.
Regards,
Roger
--
.''`. Roger Leigh
: :' : Debian GNU/Linux http://people.debian.org/~rleigh/
`. `' Printing on GNU/Linux? http://gutenprint.sourceforge.net/
`- GPG Public Key: 0x25BFB848 Please GPG sign your mail.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
Url : http://mailman.lug.org.uk/pipermail/york/attachments/20090315/4baa6439/attachment.pgp
More information about the York
mailing list