All,

Before I go dumpster diving through a lot of VLC source to figure out how they do it, is there a Qt way to find out the desktop and version? How you turn off the lock screen and power save is different depending on desktop and version.

FDO_SS, /**< KDE >= 4 and GNOME >= 3.10 */
FDO_PM, /**< KDE and GNOME <= 2.26 */
MATE, /**< >= 1.0 */
GNOME, /**< GNOME 2.26..3.4 */

Not seeing anything off top of head so thought I would ask. There "should" be something somewhere, but too many classes to guess the name. Didn't see it in sysinfo.