Re: Detecting desktop environment - KDE or Gnome?

Doesn't gnome always run the "gnome-session" proces?

On 25 Nov 2005 14:24:42 +0100, Erik Forsberg < forsberg+gnome-list cendio se> wrote:

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?

Erik Forsberg                OpenSource-based Thin Client Technology
Cendio AB                    Phone: +46-13-21 46 00

gnome-list mailing list
gnome-list gnome org

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