Re: Detecting desktop environment - KDE or Gnome?
- From: Ikke <eikke eikke com>
- To: Erik Forsberg <forsberg+gnome-list cendio se>
- Cc: gnome-list gnome org
- Subject: Re: Detecting desktop environment - KDE or Gnome?
- Date: Fri, 25 Nov 2005 21:35:04 +0100
On Fri, 2005-11-25 at 14:24 +0100, Erik Forsberg wrote:
> Hi!
>
> I have a program that needs to detect which desktop environment it's
> running under - KDE or Gnome.
>
> Are there a good way to detect that you're running under Gnome? Some
> Gnome-specific environment variable or similar?
>
> Regards,
> \EF
${DESKTOP_SESSION} contains "kde" or "gnome", normally... Use getenv or
something alike.
Ikke
http://www.eikke.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]