Automic VaultAutomic Vault

brew

使用 Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper 安装 wmctrl

查看 wmctrl 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install wmctrl

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install wmctrl

MacPorts ports tree · x11/wmctrl/Portfile · 来源: api.github.com

Linux

Alpine Linux apk已验证 · 92%
sudo apk add wmctrl

Alpine Linux edge package indexes · wmctrl · 来源: dl-cdn.alpinelinux.org

Debian apt已验证 · 92%
sudo apt install wmctrl

Debian stable package indexes · wmctrl · 来源: deb.debian.org

Fedora dnf已验证 · 92%
sudo dnf install wmctrl

Fedora Rawhide package metadata · wmctrl · 来源: dl.fedoraproject.org

Nix已验证 · 92%
nix profile install nixpkgs#wmctrl

nixpkgs package indexes · pkgs/by-name/wm/wmctrl/package.nix · 来源: api.github.com

Arch Linux pacman已验证 · 92%
sudo pacman -S wmctrl

Arch Linux sync databases · wmctrl · 来源: geo.mirror.pkgbuild.com

openSUSE zypper已验证 · 92%
sudo zypper install wmctrl

openSUSE Tumbleweed package metadata · wmctrl · 来源: download.opensuse.org

概览

软件包摘要

UNIX/Linux command-line tool to interact with an EWMH/NetWM

命令和别名

  • wmctrl

历史

项目历史与用法

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.

时间线

  • 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.

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 13 个平台目标。
  • 安装时包含 6 个运行时依赖。
  • 构建元数据列出 1 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
wmctrlcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-08
管理器版本1.07
管理器更新时间2026-06-19
本地数据OK
上游not checked
检测到的最新版本未检测到

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
Pulseupdated
依赖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 DatabaseHomebrew formula API
Taphomebrew/core
Full Namewmctrl
Version Scheme0
Revision2
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Debian apt95%

wmctrl 1.07+git20240228.1105759-1

control an EWMH/NetWM compatible X Window Manager

https://github.com/Conservatory/wmctrl

sudo apt install wmctrl
  • Section: x11
  • Architecture: amd64
  • 5 依赖
  • normalized package name match
  • 匹配方式:Wmctrl
Debian stable package indexes · deb.debian.org · Debian stable package indexes: wmctrl from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

wmctrl

nix profile install nixpkgs#wmctrl
  • normalized package name match
  • 匹配方式:Wmctrl
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/wm/wmctrl/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

wmctrl 1.07-7ubuntu3

control an EWMH/NetWM compatible X Window Manager

http://tripie.sweb.cz/utils/wmctrl/

sudo apt install wmctrl
  • Section: universe/x11
  • Architecture: amd64
  • 4 依赖
  • normalized package name match
  • 匹配方式:Wmctrl
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: wmctrl from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

wmctrl 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 wmctrl
  • License: GPL
  • Architecture: x86_64
  • Source Package: wmctrl
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Wmctrl
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: wmctrl from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
apk95%

wmctrl-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-doc
  • License: GPL
  • Architecture: x86_64
  • Source Package: wmctrl
  • normalized package name match
  • 匹配方式:Wmctrl
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: wmctrl-doc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
dnf95%

wmctrl 1.07-41.fc44

Command line tool to interact with an X Window Manager

http://sweb.cz/tripie/utils/wmctrl

sudo dnf install wmctrl
  • License: GPL-2.0-or-later
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: wmctrl
  • 5 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Wmctrl
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: wmctrl from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

wmctrl 1.07-6

Control your EWMH compliant window manager from command line

http://tripie.sweb.cz/utils/wmctrl/

sudo pacman -S wmctrl
  • License: GPL
  • Architecture: x86_64
  • 2 依赖
  • normalized package name match
  • 匹配方式:Wmctrl
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: wmctrl from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

wmctrl 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 wmctrl
  • License: GPL-2.0-or-later
  • Category: System/X11/Utilities
  • Architecture: x86_64
  • Source Package: wmctrl
  • 4 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Wmctrl
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: wmctrl from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
MacPorts95%

wmctrl

sudo port install wmctrl
  • normalized package name match
  • 匹配方式:Wmctrl
MacPorts ports tree · api.github.com · MacPorts ports tree: x11/wmctrl/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

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