Re: Detecting GNOME
- From: Tomasz Melcer <liori tlen pl>
- To: desktop-devel-list gnome org
- Subject: Re: Detecting GNOME
- Date: Sun, 24 Jul 2005 15:05:37 +0200
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*
> $GNOME_DESKTOP_SESSION_ID == gnome
>
> maybe this can help you?
My friends says that he was running gnome, and he has:
$ echo $GNOME_DESKTOP_SESSION_ID
Default
$ echo $DESKTOP_SESSION
$ echo $WINDOWMANAGER
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]