X11: get list of all gnome-terminal windows on my display?

I have two xterms and several gnome-terminal windows active on my X display. However, xlsclients only shows one gnome-terminal client. $ xlsclients luban.local /usr/X11/bin/xterm ohm ...

X11: list top level windows

So far I've found two approaches: For each root window (default screen, specific screen, all screens, etc), list each immediate child. Search each immediate child recursively for a window with...

Getting X window id for GLUT program? or, How to remote control a GLUT program on X?

I want to send a keystroke to a GLUT program on X11, but I can't find there's an X11 client attached to the GLUT program. I do this, using the most excellent demo program for the chipmunk 2d...

X11: move an existing window via command line?

Given an X client window ID, is there a way to move that window or change its geometry from the command line? $ xlsclients -a Window 0x3000001: Machine: ohm Name: Terminal Icon Name: foo ...

X11: raise an existing window via command line?

Given an X client window ID, is there a way to raise that window from the command line? $ xlsclients -a Window 0x3000001: Machine: ohm Name: Terminal Icon Name: foo Command: foo ...