[Qt-interest] GUI Application List?

Arnold Krille arnold at arnoldarts.de
Tue Aug 4 09:36:31 CEST 2009


On Tuesday 04 August 2009 00:36:17 Ben Axelrod wrote:
> Does anyone know how to get the list of currently running GUI applications
> on Linux programmatically?  (Note: I do not mean ps, although I may have to
> resort to that).  I imagine there must be some way to poke the window
> manager for this info.  I am doing this through Qt, so if there is a
> cross-platform way to do this, that would be best.  But I am focusing on
> Linux for now.

Why???

Do you want to close apps that are not yours?

Who tells you that there aren't any other X-sessions running?
Who tells you that the "windows" you encounter aren't Xnest/Xephyr/vnc windows 
which in turn have apps running in them (local or remote)?

This is really another of the strange requests and I would like to understand 
_why_ you want to do that.

Arnold
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090804/138d9fcc/attachment.bin 


More information about the Qt-interest-old mailing list