Wmctrl provides command line access to almost all the features defined
in the EWMH specification. Using it, it's possible to, for example,
obtain information about the window manager, get a detailed list of
desktops and managed windows, switch and resize desktops, change number
of desktops, make windows full-screen, always-above or sticky, and
activate, close, move, resize, maximize and minimize them.
The command line access makes it easy to automate these tasks and
execute them from any application that is able to run a command in
response to some event.
Please note that wmctrl only works with window managers which implement
Tomas Styblo <firstname.lastname@example.org>