AptLynx

Command-line tool

wmctrl

brew/wmctrl

Checked 25 Oct 2026, 21:09 UTC · Listing refreshed from Homebrew, winget, npm, Scoop and cargo; npm packages checked against OSV.dev

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

At a glance

Type
Command-line tool
Install on
macOS, Linux
Last checked
25 Oct 2026, 21:09 UTC

Install it

macOS

brew install wmctrl

Linux

brew install wmctrl

List all windows, managed by the window manager

wmctrl -l

Switch to the first window whose (partial) title matches

wmctrl -a window_title

Move a window to the current workspace, raise it, and give it focus

wmctrl -R window_title

Related command-line tools

Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents