Le jeudi, 19 d�c 2002, � 19:08 Europe/Paris, Alexander Hansen a �crit :

I put the following in .cshrc, which does the trick:

if (! $?DISPLAY) then
   setenv DISPLAY :0.0
endif
but this always set DISPLAY, and thus can cause the problem I mentioned. Here's what I've just come up with :

if ("`ps axc | grep XDarwinStartup`" != "") then
setenv DISPLAY :0
endif

this will set DISPLAY only if XDarwin is launched. Of course you could mix the 2 (by adding $?DISPLAY), if you don't want to overwrite DISPLAY.



--
zauc



-------------------------------------------------------
This SF.NET email is sponsored by: Geek Gift Procrastinating?
Get the perfect geek gift now! Before the Holidays pass you by.
T H I N K G E E K . C O M http://www.thinkgeek.com/sf/
_______________________________________________
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to