I apologise if I wasn't clear, I am asking how can I get the opened windows, the currently running programs with an UI, the ones that should be shown in a taskbar or a dock (Firefox, qt creator, mail clients etc) on a Linux system with Qt. Thanks for your suggestion but unfortunately QDesktopServices doesn't seem to have what I'm looking for.