.bashrc not getting sourced during Gnome login
stan
stanb at panix.com
Sat Oct 14 15:03:50 UTC 2006
On Sat, Oct 14, 2006 at 05:41:53PM +0300, Rino Mardo 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
> >
>
> hey there. check your ~/.bash_profile and remove the "#" (without the
> quotes) before the lines that checks for the presence of the .bashrc
> file. it should be something like:
>
> # if (blah-blah)
> # souce ~/.bashrc
> # fi
>
> to that effect.
Mmm, thanks, but here is my ~/,bash_profile
# ~/.bash_profile: executed by bash(1) for login shells.
# see /usr/share/doc/bash/examples/startup-files for examples.
# the files are located in the bash-doc package.
# the default umask is set in /etc/login.defs
#umask 022
# include .bashrc if it exists
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
# set PATH so it includes user's private bin if it exists
if [ -d ~/bin ] ; then
PATH=~/bin:"${PATH}"
fi
So, I don't think that is the problem.
What else should I check?
--
Unix is very simple, but it takes a genius to understand the simplicity.
(Dennis Ritchie)
More information about the ubuntu-users
mailing list