macOS
brew install wmctrllocal Homebrew formula metadata
sudo port install wmctrlMacPorts ports tree · x11/wmctrl/Portfile · source: api.github.com
brew
UNIX/Linux command-line tool to interact with an EWMH/NetWM. Version 1.07 via Homebrew; verified 2026-06-19.
install
brew install wmctrllocal Homebrew formula metadata
sudo port install wmctrlMacPorts ports tree · x11/wmctrl/Portfile · source: api.github.com
sudo apk add wmctrlAlpine Linux edge package indexes · wmctrl · source: dl-cdn.alpinelinux.org
sudo apt install wmctrlDebian stable package indexes · wmctrl · source: deb.debian.org
sudo dnf install wmctrlFedora Rawhide package metadata · wmctrl · source: dl.fedoraproject.org
nix profile install nixpkgs#wmctrlnixpkgs package indexes · pkgs/by-name/wm/wmctrl/package.nix · source: api.github.com
sudo pacman -S wmctrlArch Linux sync databases · wmctrl · source: geo.mirror.pkgbuild.com
sudo zypper install wmctrlopenSUSE Tumbleweed package metadata · wmctrl · source: download.opensuse.org
overview
UNIX/Linux command-line tool to interact with an EWMH/NetWM
history
wmctrl is a small X11 command-line utility for querying and controlling window managers that implement the Extended Window Manager Hints, also known as EWMH or NetWM. It is an old-fashioned Unix desktop automation tool: scriptable, tiny, and useful precisely because it exposes window-manager operations outside the graphical shell.
The upstream ChangeLog, preserved in the Conservatory archive, records an initial release by Tomas Styblo on 15 September 2003 and a compact burst of releases through 1.07 on 3 January 2005. The original README identifies Tomas Styblo as author and maintainer, gives the upstream homepage, and states that wmctrl is based on the freedesktop.org EWMH specification.
The Conservatory archive exists because wmctrl had no public upstream version-control repository. Its maintainers imported the upstream tarball history into Git in 2018 and noted that the latest upstream release was still the January 2005 1.07 release.
wmctrl persisted through distribution packaging rather than active upstream development. Debian, Fedora, Arch, Guix, RPM-based distributions, and others have carried version 1.07 or downstream builds because the tool remains handy for X11 desktops, scripts, hotkeys, test automation, and glue code around lightweight window managers.
Users run wmctrl to list windows and desktops, activate or close a window, move or resize windows, change desktop geometry, switch desktops, or set EWMH states such as fullscreen, maximized, sticky, or always-on-top. Its usefulness depends on the window manager implementing the EWMH/NetWM protocol, which standardizes interactions between window managers, pagers, taskbars, applications, and desktop utilities.
wmctrl is package-nerd significant because it is the kind of tiny, stable X11 utility that survives for decades with little upstream activity. It codifies a desktop protocol into one scriptable binary and is still pulled into environments where shell scripts need to reason about graphical windows.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
wmctrl | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://packages.debian.org/sid/wmctrl
install metadata
| Package key | brew:wmctrl |
|---|---|
| Version | 1.07 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/wmctrl |
| Homepage | https://packages.debian.org/sid/wmctrl |
| Upstream docs | http://tripie.sweb.cz/utils/wmctrl |
| License | GPL-2.0-or-later |
| Source archive | https://deb.debian.org/debian/pool/main/w/wmctrl/wmctrl_1.07.orig.tar.gz |
| Last updated | 2026-06-19T12:33:04-07:00 |
| Pulse | updated |
| Dependencies | gettext, glib, libice, libsm, libx11, libxmu |
| Build dependencies | pkgconf |
| Bottle | available (on arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | wmctrl |
| Version Scheme | 0 |
| Revision | 2 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
wmctrl 1.07+git20240228.1105759-1
control an EWMH/NetWM compatible X Window Manager
https://github.com/Conservatory/wmctrl
sudo apt install wmctrlwmctrl
nix profile install nixpkgs#wmctrlwmctrl 1.07-7ubuntu3
control an EWMH/NetWM compatible X Window Manager
http://tripie.sweb.cz/utils/wmctrl/
sudo apt install wmctrlwmctrl 1.07-r1
wmctrl is a UNIX/Linux command line tool to interact with an EWMH/NetWM compatible X Window Manager
https://sites.google.com/site/tstyblo/wmctrl
sudo apk add wmctrlwmctrl-doc 1.07-r1
wmctrl is a UNIX/Linux command line tool to interact with an EWMH/NetWM compatible X Window Manager (documentation)
https://sites.google.com/site/tstyblo/wmctrl
sudo apk add wmctrl-docwmctrl 1.07-41.fc44
Command line tool to interact with an X Window Manager
http://sweb.cz/tripie/utils/wmctrl
sudo dnf install wmctrlwmctrl 1.07-6
Control your EWMH compliant window manager from command line
http://tripie.sweb.cz/utils/wmctrl/
sudo pacman -S wmctrlwmctrl 1.07-152.6
Command line tool to interact with an EWMH/NetWM compatible X Window Manager
http://sweb.cz/tripie/utils/wmctrl/
sudo zypper install wmctrlwmctrl
sudo port install wmctrlsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.