Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

set $PATH in Gnome?

Status
Not open for further replies.

nawlej

Programmer
Mar 26, 2004
380
0
0
US
I have a minor inconvenience that happens whenever I invoke the Gnome desktop my on my sunblade. The $PATH changes..... completely different than the one I have set up in /etc/profile. Does anyone know where the file is that globally sets this for Gnome?

___________________________________
[morse]--... ...--[/morse], Eric.
 
after /etc/profile comes $HOME/dotfiles
g.e. $HOME/.profile or $HOME/.login or .....
overwrites /etc/profile
 
Nope, .profile isnt overwriting it. Let me be a little clearer than my previous post. It only happens when I invoke Gnome.....whenever I ssh to my box, it sets the correct path.

___________________________________
[morse]--... ...--[/morse], Eric.
 

You need to set the PATH var in a profile which get executed every time you open a new terminal under Gnome.
For eg: if you use ksh shell, $HOME/.kshrc (or what ever ENV var points to)...

Lets know if it works...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top