The wmctrl program is a command line tool to interact with an
EWMH/NetWM-compatible X Window Manager. It provides command line
access to almost all the features defined in the EWMH specification.
Homepage: http://sweb.cz/tripie/utils/wmctrl