On Mon, May 11, 2009 at 11:06, Rogan Creswick <[email protected]> wrote:
> On Mon, May 11, 2009 at 10:03 AM, Tim Wescott <[email protected]> wrote:
>> Is there a way to tell, under Gnome or Wine, where an application thinks
>> it has it's windows open?
>
> wmctrl is *probably* your best bet.
>
> eg: to get a list of all windows open, and their geometry:
>
> $ wmctrl -l -G
> 0x01200233  0 564  416  577  602                   gnuwestlake
> Terminal - rcresw...@gnuwestlake: ~/src/xuggler-2.0
> 0x01800001  0 233  36   854  689                   gnuwestlake
> myprint-version.PDF - Okular
> 0x00e00049  0 1299 33   1144 920                   gnuwestlake Inbox
> for [email protected] - Thunderbird
> .....

If that works, run with it--way more readable than the program that
should always work, xwininfo.  xwininfo tells you not only window
geometry but widget geometry and thus is pretty ridiculously verbose.
(xwininfo -tree -root).  wmctrl doesn't like my WM but xwininfo has no
trouble with it.

primary piece of advice would be to close anything like acrobat or a
browser before running xwininfo.  my 25 open tabs in opera and open
acrobat gave me pages and pages of output.
_______________________________________________
PLUG mailing list
[email protected]
http://lists.pdxlinux.org/mailman/listinfo/plug

Reply via email to