Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Caspa

macrumors member
Original poster
Apr 11, 2003
51
0
Sydney
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!
 
Caspa said:
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:
Code:
. /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.
 
Worked perfectly!!
I didn't have a .bashrc so i simply copied the .profile to it and all is great!
Thanks for your help :)
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.