bash_profile question
ZIYAD A. M. AL-BATLY
zamb at spymac.com
Thu Apr 7 07:54:22 UTC 2005
On Wed, 2005-04-06 at 22:14 -0700, Vram wrote:
> Well, maybe I am confused but, when you initially login you
> run .bash_profile and ~/bin gets added to your path.
>
> Once it is added it is there for the rest of the session..
>
> My understanding
>
> Vram
True *only* if you login from the console but not from GDM! As I'm
guessing, most users of Ubuntu (since this is the default) will login
using GDM (GNOME Display Manager) and in that case ~/.bash_profile wont
be read at all.
You could have the same effect as ~/.bash_profile with the file
~/.gnomerc (you could add "[ -r ~/.bash_profile ] && . ~/.bash_profile"
to it to source ~/.bash_profile every time you login using GDM!).
Ziyad.
More information about the ubuntu-users
mailing list