Command line tool to interact with an EWMH/NetWM compatible X Window Manager
http://sweb.cz/tripie/utils/wmctrl