Getting info from open applications

Jeremy C. Reed reed at reedmedia.net
Fri Jun 16 23:08:15 PDT 2006


On Fri, 16 Jun 2006, 3saul wrote:

> How should I go about getting a list of running applications (or application
> windows) using X?

You may want to look at the code for xrestop and xlsclients.

> I'm trying my hand at a dock type app. Also, how do I make
> an application active when the user chooses the app from the list?

You may want to look at the XMapRaised manual page.

And you may want to read the wmctrl source code. It is very short and 
shows many examples of communicating to window managers.

 Jeremy C. Reed

echo ':6DB6=88>?;@69876tA=AC8BB5tA6487><' | tr '4-F' 'wu rofIn.lkigemca'



More information about the xorg mailing list