[mcclim-devel] Re: McCLIM/CLX on MacOS X

Nikodemus Siivola nikodemus at random-state.net
Sun Jun 18 11:02:38 UTC 2006


Christophe Rhodes <csr21 at cam.ac.uk> writes:

> You probably don't have a $DISPLAY variable set in your shell / lisp
> process.  Are you running X11.app?  If not, that's the first mistake;
> if so, then either running your lisp or emacs from the xterm (as
> opposed to Terminal.app) or exporting DISPLAY=0.0 from your shell
> before starting your lisp should help.

FWIW, something like the bit below in ~/.MacOSX/environment.plist
should also do the trick for running X-stuff from outside an xterm
(assuming X11.app is running, of course). Decorate with other environment
variables to taste.

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
        <key>DISPLAY</key>
        <string>:0.0</string>
</dict>
</plist>

Cheers,

  -- Nikodemus              Schemer: "Buddha is small, clean, and serious."
                   Lispnik: "Buddha is big, has hairy armpits, and laughs."




More information about the mcclim-devel mailing list