.bashrc not getting sourced during Gnome login
Mirna Limic
mirnalim at cs.ubc.ca
Sat Oct 14 18:25:16 UTC 2006
The only way I can set PATH and any other variable, or aliases I have to
add lines to the end of /etc/bash.bashrc
This is the only way breezy recognizes them.
On Sat, 14 Oct 2006, stan wrote:
> On Sat, Oct 14, 2006 at 10:19:36AM -0700, Constantine Evans wrote:
>> stan wrote:
>>> For some reason terminal sessions spawned from the Gnome window manager do
>>> not seem to inherit variables set in .bashec.
>>>
>>> How can I fix this?
>>>
>>> 6.10, if it matters
>>>
>>
>> Sorry about the uninformed suggestions here. Gnome terminal is not a
>> login shell by default (unless you change that setting), so it should
>> not be sourcing .bash_profile.
>>
>> It is sourcing ~/.bashrc on my system, so you should try to see if there
>> is something wrong with the file. If you replace it with a small file
>> like "export THIS_IS_WORKING=1", does that work? Does it work when you
>> start bash from in the terminal? Does the script show up when you start
>> bash --verbose?
>
> That was he problem. I changed the icon to satrt xterm instead, and now all
> is well.
>
> Thanks.
>
> --
> Unix is very simple, but it takes a genius to understand the simplicity.
> (Dennis Ritchie)
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>
More information about the ubuntu-users
mailing list