On Thursday, September 5, 2002, at 04:04 AM, BABA Yoshihiko wrote:
> >> lenny bruce wrote: >> At 5:55 PM -0700 9/4/02, John Gnaegy wrote: >> I can launch Gimp from a X11 terminal window and it lau... > >> doing the same thing from MacOS X's Terminal app doesn't work, giving >> an error like "can't connect to window environment" (I'm rebuilding >> Gimp right now so I can't try it again and paste the exact wording). > > Was this question posted to Fink-beginners? I'm not on the beginners > list. Anyway, to run gimp from Aqua terminal, do > > setenv DISPLAY :0.0 > gimp & > > This works only if XDarwin is running. > Would it be possible to write a script that checks to see if X is running, and if not launch it and then the program? Or could Applescript do something similar? I know nothing about how applescript interacts with the command line(if at all). Either way, you'd have to have a check every time there is a request to run anything, messy...hmm(this is how you think aloud while typing) :) Thank you, Andrew Hartung ------------------------------------------------------- This sf.net email is sponsored by: OSDN - Tired of that same old cell phone? Get a new here for FREE! https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390 _______________________________________________ Fink-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-users
