Re: Detecting if GNOME is OK



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...

-- 
   .--= ULLA! =----------------------------.  finger cactus@cactus.rulez.org
   \      http://cactus.rulez.org           \   for PGP public key
    `----------= cactus@cactus.rulez.org =--'
Kicsi, sárga és kapar: kínai nőgyógyász.



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