You are not logged in.

#1 2005-07-15 06:47:54

Daenzello
Member
From: Brussels
Registered: 2005-05-02
Posts: 12

[SOLVED] how to change the $PATH, outside the shell ?

Dear Archers,
I've tried to extend the PATH variable in .bashrc, it works in the shell but has no effect on tools like Application Runner (the Gnome Alt-F2) or the Command Line applet for gnome-panel (which I find more than useful). So, what should I do/edit for a "general" path modification ?

Offline

#2 2005-07-15 07:00:05

cactus
Taco Eater
From: t͈̫̹ͨa͖͕͎̱͈ͨ͆ć̥̖̝o̫̫̼s͈̭̱̞͍̃!̰
Registered: 2004-05-25
Posts: 4,615
Website

Re: [SOLVED] how to change the $PATH, outside the shell ?

put it in /etc/profile


"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍

Offline

#3 2005-07-15 09:15:22

Daenzello
Member
From: Brussels
Registered: 2005-05-02
Posts: 12

Re: [SOLVED] how to change the $PATH, outside the shell ?

thanks,
I thought there was some no-root way to do that but that's not an issue...

Offline

#4 2005-07-15 11:20:56

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: [SOLVED] how to change the $PATH, outside the shell ?

~/.bashrc will work too, for your user only, but you have to relogin.

Offline

#5 2005-07-15 14:39:18

Dusty
Schwag Merchant
From: Medicine Hat, Alberta, Canada
Registered: 2004-01-18
Posts: 5,986
Website

Re: [SOLVED] how to change the $PATH, outside the shell ?

Also make sure that you export the variable from your .bashrc.

Dusty

Offline

Board footer

Powered by FluxBB