Re: Detecting desktop environment - KDE or Gnome?



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]