[PyQt] Detect Desktop environment

Albert Cervera i Areny albert at nan-tic.com
Sat Sep 20 09:57:06 BST 2008

A Divendres 19 Setembre 2008, Gustavo A. Díaz va escriure:
> Hi!!
> I wanted to ask a way to do this in PyQt. Any tip?

I don't know if there's another way of doing this but KDE sets the environment 
variable KDE_FULL_SESSION=true. For windows you can check if os.name == 'nt'.

> Thanks!
> Cheers.

Albert Cervera i Areny

More information about the PyQt mailing list