macOS
brew install wmctrllocal Homebrew formula metadata
sudo port install wmctrlMacPorts ports tree · x11/wmctrl/Portfile · 来源: api.github.com
安装
brew install wmctrllocal Homebrew formula metadata
sudo port install wmctrlMacPorts ports tree · x11/wmctrl/Portfile · 来源: api.github.com
sudo apk add wmctrlAlpine Linux edge package indexes · wmctrl · 来源: dl-cdn.alpinelinux.org
sudo apt install wmctrlDebian stable package indexes · wmctrl · 来源: deb.debian.org
sudo dnf install wmctrlFedora Rawhide package metadata · wmctrl · 来源: dl.fedoraproject.org
nix profile install nixpkgs#wmctrlnixpkgs package indexes · pkgs/by-name/wm/wmctrl/package.nix · 来源: api.github.com
sudo pacman -S wmctrlArch Linux sync databases · wmctrl · 来源: geo.mirror.pkgbuild.com
sudo zypper install wmctrlopenSUSE Tumbleweed package metadata · wmctrl · 来源: download.opensuse.org
概览
UNIX/Linux command-line tool to interact with an EWMH/NetWM
历史
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.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
wmctrl | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://packages.debian.org/sid/wmctrl
安装元数据
| 软件包键 | brew:wmctrl |
|---|---|
| 版本 | 1.07 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/wmctrl |
| 主页 | https://packages.debian.org/sid/wmctrl |
| 上游文档 | http://tripie.sweb.cz/utils/wmctrl |
| 许可证 | GPL-2.0-or-later |
| 源码归档 | https://deb.debian.org/debian/pool/main/w/wmctrl/wmctrl_1.07.orig.tar.gz |
| 最后更新 | 2026-06-19T12:33:04-07:00 |
| Pulse | updated |
| 依赖 | gettext, glib, libice, libsm, libx11, libxmu |
| 构建依赖 | pkgconf |
| Bottle | 可用 (于 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 | 未定义 |
| 服务 | 未声明 |
注册表事实
| 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 |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
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 wmctrl来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.