You are not logged in.

#1 2007-02-03 18:11:40

jinn
Member
From: Gothenburg
Registered: 2005-12-10
Posts: 506

global PATH variables?[solved]

How do i set global path variables in archlinux??

I need to do this because ie, I am using gmrun, and I just installed xarchiver. But gmrun cant find xarchiver since it is located in /opt/xfce4/bin/.. I can append this to my PATH in .zshrc/ .bashrc file, but this only helps when i run it through the terminal.

I want to also be able to have a global alias file, to run the alias xterm = 'xterm -bg black -fg white' through gmrun.

Couldnt find any documents on how this works in archlinux.

Last edited by jinn (2007-02-04 10:56:40)


The ultimate Archlinux release name: "I am your father"

Offline

#2 2007-02-03 19:31:35

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: global PATH variables?[solved]

For the path, run 'bash /etc/profile' to update the path for the current terminal. You can also logout then relogin to set them for the whole session. No files needs changing.

For the alias, create a 'etc/profile.d/alias.sh' file. add the alias in it and give it executable permission. For the change to take effect, you'll need to run  'bash /etc/profile' or logout/relogin.

Offline

#3 2007-02-04 10:56:16

jinn
Member
From: Gothenburg
Registered: 2005-12-10
Posts: 506

Re: global PATH variables?[solved]

Alright thanks.


The ultimate Archlinux release name: "I am your father"

Offline

Board footer

Powered by FluxBB