Re: Detecting GNOME
- From: Stanislav Brabec <sbrabec suse cz>
- To: Tomasz Melcer <liori tlen pl>
- Cc: desktop-devel-list gnome org
- Subject: Re: Detecting GNOME
- Date: Mon, 25 Jul 2005 19:14:54 +0200
Tomasz Melcer wrote:
> My friends says that he was running gnome, and he has:
> $ echo $GNOME_DESKTOP_SESSION_ID
> Default
It means that he is running GNOME session called Default.
For detection of latest KDE you can use variable KDE_FULL_SESSION.
These variables are set by host computer, not by display computer, so it
works for session started remotely, too.
> $ echo $DESKTOP_SESSION
> $ echo $WINDOWMANAGER
These two are distribution specific.
> 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?
Most people want to integrate only actually running desktop. Integrating
"alien" command (started from different machine) is much more
complicated - it can have different environment, theme, different home
directory...
--
Best Regards / S pozdravem,
Stanislav Brabec
software developer
---------------------------------------------------------------------
SuSE CR, s. r. o. e-mail: sbrabec suse cz
Drahobejlova 27 tel: +420 296 542 382
190 00 Praha 9 fax: +420 296 542 374
Czech Republic http://www.suse.cz/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]