> > > i'm trying to run gimp from the command prompt (i tried both xterm
> and
[quoted text clipped - 20 lines]
> prompt. must be the bash thing that tom was talking about...but that
> shouldn't be the case with X 11, right?
Why not? If you're running things from the command line, then your
command line environment is of primary importance in determining which
commands work and which ones don't. If you're not using the shell you
think you're using, then DISPLAY isn't really set, and therefore
attempting to use any command that needs DISPLAY will fail.

Signature
Tom "Tom" Harrington
Macaroni, Automated System Maintenance for Mac OS X.
Version 2.0: Delocalize, Repair Permissions, lots more.
See http://www.atomicbird.com/
Andre Berger - 10 Feb 2005 17:55 GMT
* Tom Harrington <tph@pcisys.no.spam.dammit.net>, 2005-02-10 17:16 +0100:
> > > > "Gtk-WARNING **: cannot open display:"
[...]
> > > > setenv DISPLAY :0.0
[...]
> > > open-x11 gimp
[...]
> Why not? If you're running things from the command line, then your
> command line environment is of primary importance in determining which
> commands work and which ones don't. If you're not using the shell you
> think you're using, then DISPLAY isn't really set, and therefore
> attempting to use any command that needs DISPLAY will fail.
It would probably help to put create an ~/.MacOSX/environment.plist,
like
<?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>
BTW, I put LC_* and PATH variables in there as well.
-Andre