OpenBSD Handbook

Current snapshot · amd64 · Generated 2026-09-09

wmctrl-1.07p9

interact with an EWMH/NetWM window manager

Back to search · Project homepage

Description

The wmctrl program is a command line tool to interact with an EWMH/NetWM compatible X Window Manager. It provides command line access to almost all the features defined in the EWMH specification. Using it, it's possible to, for example, obtain information about the window manager, get a detailed list of desktops and managed windows, switch and resize desktops, change number of desktops, make windows full-screen, always-above or sticky, and activate, close, move, resize, maximize and minimize them. The command line access makes it easy to automate these tasks and execute them from any application that is able to run a command in response to some event.

Package information

Ports path
x11/wmctrl
Package architecture
amd64
Maintainer
The OpenBSD ports mailing-list <ports@openbsd.org>
Categories
x11
Available flavors
None listed

These are ports metadata. Binary availability depends on the release, architecture and mirror. Build and test dependencies are not an installation checklist.

Direct dependencies

Library

Installing and updating packages · Package details as JSON