Re: Setting enviroment variables



Kai Weber wrote:
Hi,

Where is the place to set the PATH, so if I would like to run a program in
my $HOME/bin from the run dialog (Alt+F2) I do not have to give the
whole path.

(The true reason for this question is: I do not want gnome-terminal be a
login shell. Thus it reads not every time .bash_profile where normally
the PATH and other global varialbes for a login session are set. So
everytime I have to type: ~/bin/foo to run a program because it is not
in the PATH).

GDM sources ~/.profile as part of Xsession. Therefore, all subprocesses of gnome-session inheirit the environment set up by GDM/Xsession.

You need to rename .bash-profile to .profile.

/Joe




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