# Installer wmctrl avec Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de wmctrl pour les workflows d'agents IA.

## installation

```sh
sudo av install brew:wmctrl
```

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install wmctrl
```

  Preuve: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install wmctrl
```

  Preuve: MacPorts ports tree: x11/wmctrl/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add wmctrl
```

  Preuve: Alpine Linux edge package indexes: wmctrl from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install wmctrl
```

  Preuve: Debian stable package indexes: wmctrl from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install wmctrl
```

  Preuve: Fedora Rawhide package metadata: wmctrl from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#wmctrl
```

  Preuve: nixpkgs package indexes: pkgs/by-name/wm/wmctrl/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S wmctrl
```

  Preuve: Arch Linux sync databases: wmctrl from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install wmctrl
```

  Preuve: openSUSE Tumbleweed package metadata: wmctrl from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

## Faits du paquet

- **Clé du paquet:** brew:wmctrl
- **Gestionnaire de paquets:** Homebrew
- **Page du gestionnaire de paquets:** <https://formulae.brew.sh/formula/wmctrl>
- **Version:** 1.07
- **Résumé source:** UNIX/Linux command-line tool to interact with an EWMH/NetWM
- **Page d'accueil:** <https://packages.debian.org/sid/wmctrl>
- **Docs amont:** <http://tripie.sweb.cz/utils/wmctrl>
- **Licence:** GPL-2.0-or-later
- **Archive source:** <https://deb.debian.org/debian/pool/main/w/wmctrl/wmctrl_1.07.orig.tar.gz>
- **Dernière mise à jour:** 2026-06-19T12:33:04-07:00
- **Généré:** 2026-07-08T18:08:21+00:00

## exécutables

- wmctrl (cli)
- wmctrl (alias)

## Dépendances

- gettext
- glib
- libice
- libsm
- libx11
- libxmu

## Dépendances de compilation

- pkgconf

## Comportement d'installation

- hook post-installation: non défini
- Bouteille: disponible sur arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura

## Version et fraîcheur

- page générée: 2026-07-08
- version du gestionnaire: 1.07
- gestionnaire mis à jour: 2026-06-19
- données locales: OK
- dépôt amont: https://packages.debian.org/sid/wmctrl
- info: Release/tag comparison is only available for GitHub repositories.
## Historique du projet et usages

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.

### Historique du projet

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.

### Historique d'adoption

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.

### Modes d'utilisation

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.

### Pourquoi les passionnés de paquets s'y intéressent

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.

### Chronologie

- 2003: Initial wmctrl release recorded in the upstream ChangeLog.
- 2005: wmctrl 1.07 released, with additions such as WM_CLASS support, active-window addressing, 64-bit support, and a man page recorded around the same release period.
- 2011: EWMH 1.5 published by freedesktop.org, documenting the protocol family wmctrl targets.
- 2018: Conservatory imported the released wmctrl tarball history into a Git archive because no public upstream VCS was available.

### Related projects

- EWMH/NetWM is the freedesktop.org specification that defines the window-manager properties and client messages wmctrl manipulates.
- Zenity is mentioned in the original README as a complementary tool for combining GUI interactions with shell scripts.

### Sources

- <https://archlinux.org/packages/extra/x86_64/wmctrl/>
- <https://github.com/Conservatory/wmctrl>
- <https://github.com/Conservatory/wmctrl/blob/master/ChangeLog>
- <https://packages.debian.org/sid/wmctrl>
- <https://packages.fedoraproject.org/pkgs/wmctrl/wmctrl/fedora-39.html>
- <https://specifications.freedesktop.org/wm-spec/latest/>


## Notes de sécurité

narrow executable package without higher-risk signals.

- **Risque Geiger:** vert / faible
- narrow executable package without higher-risk signals

## Détails de la base source

- **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:** stable

## Autres enregistrements de gestionnaires de paquets

- Debian apt - wmctrl - 1.07+git20240228.1105759-1: normalized package name match | Debian stable package indexes: wmctrl from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | control an EWMH/NetWM compatible X Window Manager | https://github.com/Conservatory/wmctrl
- Nix - wmctrl: normalized package name match | nixpkgs package indexes: pkgs/by-name/wm/wmctrl/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - wmctrl - 1.07-7ubuntu3: normalized package name match | Ubuntu 24.04 LTS package indexes: wmctrl from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | control an EWMH/NetWM compatible X Window Manager | http://tripie.sweb.cz/utils/wmctrl/
- apk - wmctrl - 1.07-r1: normalized package name match | Alpine Linux edge package indexes: wmctrl from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | 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
- apk - wmctrl-doc - 1.07-r1: normalized package name match | Alpine Linux edge package indexes: wmctrl-doc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | 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
- dnf - wmctrl - 1.07-41.fc44: normalized package name match | Fedora Rawhide package metadata: wmctrl from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Command line tool to interact with an X Window Manager | http://sweb.cz/tripie/utils/wmctrl
- pacman - wmctrl - 1.07-6: normalized package name match | Arch Linux sync databases: wmctrl from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Control your EWMH compliant window manager from command line | http://tripie.sweb.cz/utils/wmctrl/
- zypper - wmctrl - 1.07-152.6: normalized package name match | openSUSE Tumbleweed package metadata: wmctrl from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Command line tool to interact with an EWMH/NetWM compatible X Window Manager | http://sweb.cz/tripie/utils/wmctrl/
- MacPorts - wmctrl: normalized package name match | MacPorts ports tree: x11/wmctrl/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Liens liés

- [Terminal utility packages](https://www.automicvault.com/fr/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/fr/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Homebrew utility packages](https://www.automicvault.com/fr/pkg/brew-utility-packages/) - Matched Homebrew package provider.
- [Secret-risk packages](https://www.automicvault.com/fr/pkg/secret-risk-packages/) - Matched curated package taxonomy and local package facts.
- [gettext](https://www.automicvault.com/fr/pkg/brew/gettext/) - Runtime dependency declared by Homebrew.
- [glib](https://www.automicvault.com/fr/pkg/brew/glib/) - Runtime dependency declared by Homebrew.
- [pkgconf](https://www.automicvault.com/fr/pkg/brew/pkgconf/) - Build dependency declared by Homebrew.
- [paneru](https://www.automicvault.com/fr/pkg/brew/paneru/) - Shares av.db curated category or tags: cli, system, window-management, window-manager.
- [quartz-wm](https://www.automicvault.com/fr/pkg/brew/quartz-wm/) - Shares av.db curated category or tags: cli, system, window-manager, x11.
- [twm](https://www.automicvault.com/fr/pkg/brew/twm/) - Shares av.db curated category or tags: cli, system, window-manager, x11.
- [bdftopcf](https://www.automicvault.com/fr/pkg/brew/bdftopcf/) - Shares av.db curated category or tags: cli, system, x11.
- [libxcvt](https://www.automicvault.com/fr/pkg/brew/libxcvt/) - Shares av.db curated category or tags: cli, system, x11.
- [libxkbcommon](https://www.automicvault.com/fr/pkg/brew/libxkbcommon/) - Shares av.db curated category or tags: cli, system, x11.
- [libxpm](https://www.automicvault.com/fr/pkg/brew/libxpm/) - Shares av.db curated category or tags: cli, system, x11.
- [mkfontscale](https://www.automicvault.com/fr/pkg/brew/mkfontscale/) - Shares av.db curated category or tags: cli, system, x11.
- [openmotif](https://www.automicvault.com/fr/pkg/brew/openmotif/) - Local package facts share a topical domain. Shared terms: cli, libice, libsm, libx11, libxmu.

## Combined YAML source

View the package source record on GitHub. [combined/wmctrl.yml](https://github.com/automic-vault/db/blob/main/combined/wmctrl.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
