PDA

View Full Version : Changing X11 Path




Caspa
Apr 12, 2004, 01:32 AM
Hey all,

I use applications installed via fink commander (so they are located in /sw/bin) but would like to change my x11 path to incorporate this location. My terminal has the correct path I want:
/sw/bin:/sw/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/sw/bin:/usr/X11R6/bin
But my x11 path is only:
/usr/bin:/bin:/usr/sbin:/sbin:/Users/bla:/usr/X11R6/bin

Anybody know how I can edit my x11 path??
Haven't found anything helpful yet :rolleyes:

Thanks in advance!



robbieduncan
Apr 12, 2004, 06:10 AM
Hey all,

I use applications installed via fink commander (so they are located in /sw/bin) but would like to change my x11 path to incorporate this location. My terminal has the correct path I want:
/sw/bin:/sw/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/sw/bin:/usr/X11R6/bin
But my x11 path is only:
/usr/bin:/bin:/usr/sbin:/sbin:/Users/bla:/usr/X11R6/bin

Anybody know how I can edit my x11 path??
Haven't found anything helpful yet :rolleyes:

Thanks in advance!

I have just checked and this was the same for me. My fink path is being set up in my .profile via a line that says:
. /sw/bin/init.sh

For some reason the profile does not seem to effect the shell in and XTerm. I simply copied my .profile to a new file called .bashrc. My normal terminal still works as it should and I now have /sw/bin in my path under XTerm.

Obviously if you already have a .bashrc you want to add to it, not copy over it. I hope that helps you.

Caspa
Apr 12, 2004, 06:50 AM
Worked perfectly!!
I didn't have a .bashrc so i simply copied the .profile to it and all is great!
Thanks for your help :)