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. 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 the 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.
| Tags | Desktop Environment Window Manager Utilities |
|---|---|
| Licenses | GPL |
| Operating Systems | Unix |
| Implementation | C |
Recent releases


Changes: A minor window list formatting fix was made.


Changes: Various minor features and a man page were added. The program now works in 64-bit environments.


Changes: A new option to include geometry in the window list has been added. A segfault in UTF-8 mode has been fixed.


Changes: The ability to select windows by clicking on them (ala xwininfo) and to change their titles was added.


Changes: This version features better compatibility with WMs which don't support _NET_MOVERESIZE_WINDOW.