Re: Detecting if GNOME is OK



On Sun, 26 Mar 2000, ERDI Gergo wrote:

> On Sun, 26 Mar 2000, Dave Gilbert wrote:
> 
> > works fine if DISPLAY is set, but segs if it isn't or if it is set to a
> > non-existant display:
> 
> Well, just wrap it into an if (getenv ("DISPLAY")) block...

No! What if the DISPLAY is set to a server I can't connect to or some
other thing that GNOME doesn't like???

Dave

-- 
 ---------------- Have a happy GNU millennium! ----------------------   
/ Dr. David Alan Gilbert      | Running GNU/Linux on       |  Happy  \ 
\   gro.gilbert @ treblig.org |  Alpha, x86, ARM and SPARC |  In Hex /
 ____________________________|___ http://www.treblig.org  |________/



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]