Changing X11 Path

Discussion in 'Mac Apps and Mac App Store' started by Caspa, Apr 11, 2004.

  1. Caspa macrumors member

    Joined:
    Apr 11, 2003
    Location:
    Sydney
    #1
    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!
     
  2. robbieduncan Moderator emeritus

    robbieduncan

    Joined:
    Jul 24, 2002
    Location:
    London
    #2
    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.
     
  3. Caspa thread starter macrumors member

    Joined:
    Apr 11, 2003
    Location:
    Sydney
    #3
    Worked perfectly!!
    I didn't have a .bashrc so i simply copied the .profile to it and all is great!
    Thanks for your help :)
     

Share This Page