Re: Detecting GNOME



On Mon, 2005-07-25 at 17:33 +0100, ghee teo wrote:
> [1] In JDS, we simply set a atom by the name of "GNOME_SM_DESKTOP"
> on the root window for legacy apps to ping that the session is GNOME.
> Though this is not as sophiscated as you suggested, but we do document this
> as a interface.

I just pulled that trick from what we used to do a long time ago (circa
GNOME 1.2) to detect whether a file manager already was handling clicks
on the root window.  It would work equally well for "am I running
GNOME?".  Wanna cok a patch? :)

  Federico




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