Re: x11 apps in terminal.app
Re: x11 apps in terminal.app
- Subject: Re: x11 apps in terminal.app
- From: Jonathan Mckeown <email@hidden>
- Date: Fri, 23 Jan 2004 11:20:17 +1300
On Wed, Jan 21, 2004 at 04:23:25PM -0700, Markian Hlynka wrote:
:
: I just discovered that I can no longer launch x apps from
Terminal.app.
: Presumably this happened when I installed panther, and I just noticed.
:
: So, I'm wondering what the "correct" way to fix this is? ie, I once
had
: setenv DISPLAY localhost:0.0 in my .cshrc
: But what if I'm not logged in as the only user on the machine? in
which
: case it might be 0.1
:
: What is the recommended procedure?
You can just do this in your .cshrc:
if (! $?DISPLAY) then
setenv DISPLAY localhost:0.0
endif
Then DISPLAY will only be set to localhost:0.0 if DISPLAY is not already
set to a value.
Jonathan Mckeown.
_______________________________________________
x11-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/x11-users
X11 for Mac OS X FAQ: http://developer.apple.com/qa/qa2001/qa1232.html
Report issues, request features, feedback: http://developer.apple.com/bugreporter
Do not post admin requests to the list. They will be ignored.