Re: Detecting GNOME

On Sun, 24 Jul 2005, Benjamin Kahn wrote:

> On Sat, 2005-07-23 at 21:22 +0200, Tomasz Melcer wrote:
> > Hello!
> > 
> >   Is there a simple way to check if GNOME manages an X display? I have
> On Novell Linux Desktop, we have a number of applications which try to
> detect which desktop environment is running and perform the correct
> action.  I have no idea how much customization went into the detection
> scripts, but I know at least some did.  Here's what we look for:
> 	$DESKTOP_SESSION == gnome
> 	${WINDOWMANAGER##*/} == *gnome*
> maybe this can help you?
My friends says that he was running gnome, and he has:


So that's probably not an answer. Also if you will run a program without
these environment variables, but with DESKTOP one set, for example from
another computer through network?

Thanks for answer,

Tomasz Melcer

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