Re: Detecting desktop environment - KDE or Gnome?

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

 



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


_______________________________________________
gnome-list mailing list
gnome-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gnome-list

[Index of Archives]     [Fedora Desktop]     [Trinity Users]     [KDE]     [Gimp]     [Yosemite News]

  Powered by Linux