Detecting that a program is running under KDE?

Erik Forsberg forsberg-+4tYiAq3b6azQB+pC5nmwQ at public.gmane.org
Fri Nov 25 13:22:46 GMT 2005


Hi!

I have a program that needs to detect which desktop environment it's
running under. I'm happy if I can detect either Gnome or KDE. 

Are there any KDE-specific enviornment variables or similar that I can
depend on, and that only exists in KDE? 

Ideally, I'd like to be able to use the same mechanism for detecting
KDE 3.2 and up.

Regards,
\EF
-- 
Erik Forsberg                OpenSource-based Thin Client Technology
Cendio AB                    Phone: +46-13-21 46 00    
			     Web: http://www.thinlinc.com
		             


___________________________________________________
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.




More information about the kde mailing list