Mac OS X X11 Behaviour and DarwinPorts

Salvatore Domenick Desiano sal at ri.cmu.edu
Wed Oct 25 11:11:48 PDT 2006


Alternatively, you can create a file called ~/.MacOSX/environment.plist
that sets up the environment for anything run as that user (it is read
by loginWindow, which is the process that runs everything else,
including Finder).

http://developer.apple.com/qa/qa2001/qa1067.html

-- Sal
smile.



On Wed, 25 Oct 2006, Yves de Champlain wrote:

o
o Le 06-10-25 à 10:06, Merton Campbell Crockett a écrit :
o
o > I seem to have done something wrong or have misunderstood how to
o > configure Mac OS X 10.4.8 to use DarwinPorts.
o >
o > Although ~/.profile exists and .../xinit/xinitrc includes "source
o > ~./profile", only the first xterm window opened will have "/opt/
o > local/bin:/opt/local/sbin:" set in its environment.  When I open
o > subsequent xterm windows, I need to explicitly enter the command
o > "source .profile" to include the path to the DarwinPorts X11
o > applications.
o
o X11.app being an aqua app, it does not read the unix environment.
o The first xterm is probably considered a login shell and thus reads
o the environment.  You can set every xterm to be login shell with the
o "-ls" option.  Or you can use a window manager that is aware of the
o environment (any other, I guess)
o
o yves
o
o _______________________________________________
o macports-users mailing list
o macports-users at lists.macosforge.org
o http://lists.macosforge.org/mailman/listinfo/macports-users
o
o

--------------
  Salvatore Domenick Desiano
    Doctoral Candidate
      Robotics Institute
        Carnegie Mellon University




More information about the macports-users mailing list