Cwm (window manager)

Stacking window manager


title: "Cwm (window manager)" type: doc version: 1 created: 2026-02-28 author: "Wikipedia contributors" status: active scope: public tags: ["free-software-programmed-in-c", "free-x-window-managers", "openbsd", "openbsd-software-using-the-isc-license"] description: "Stacking window manager" topic_path: "general/free-software-programmed-in-c" source: "https://en.wikipedia.org/wiki/Cwm_(window_manager)" license: "CC BY-SA 4.0" wikipedia_page_id: 0 wikipedia_revision_id: 0

::summary Stacking window manager ::

::data[format=table title="infobox software"]

FieldValue
nameOpenBSD
titlecwm
screenshotCwm (window manager).png
captioncwm running on OpenBSD
authorMarius Aamodt Eriksen
developerMarius Aamodt Eriksen, Andy Adamson, Niels Provos, Martin Murray, Dimitris Economou, Antti Nykänen
released
latest release version
latest release date
latest preview version
latest preview date
programming languageC
operating systemUnix-like
genreWindow manager
licenseISC License
::

| name = OpenBSD | title = cwm | logo = | screenshot = Cwm (window manager).png | caption = cwm running on OpenBSD | collapsible = | author = Marius Aamodt Eriksen | developer = Marius Aamodt Eriksen, Andy Adamson, Niels Provos, Martin Murray, Dimitris Economou, Antti Nykänen | released = | latest release version = | latest release date = | latest preview version = | latest preview date = | programming language = C | operating system = Unix-like | platform = | size = | language = | genre = Window manager | license = ISC License

cwm (Calm Window Manager) is a stacking window manager for the X Window System. While it is primarily developed as a part of OpenBSD's base system, portable versions are available on other Unix-like operating systems.

History

Development of cwm started from patches to evilwm by Marius Aamodt Eriksen. To ease the implementation of new features, cwm was eventually rewritten using some code from 9wm. The last release by the original author came out in August 2005.

In April 2007, cwm was imported into the OpenBSD source tree. By January 2008, a substantial part of the original source code, including all of the 9wm code, was rewritten.

cwm has been distributed with OpenBSD since version 4.2, where it replaced wm2. A third-party Linux port also exists.

Description

cwm is a stacking window manager oriented towards heavy keyboard usage, small footprint and ease of use. While it lacks explicit virtual desktops functionality, it can be emulated by using the window groups mechanism. cwm does not draw window decorations except for a border around windows.

cwm includes several menus:

  • exec menu (launch an application)
  • window menu (search for a running application)
  • ssh to menu (start a Secure Shell session)
  • exec wm menu (switch to a different window manager)

All these menus operate in a "search as you type" manner.

cwm allows raising, hiding, switching between, and searching for windows using just the keyboard, making it suitable to use as terminal emulator multiplexer. Furthermore, it allows manipulating pointing devices, such as mice, with the keyboard.

Additional key bindings and configuration options can be specified in the configuration file ~/.cwmrc.

Reception

cwm is generally well received in software minimalist communities.

cwm is noted to be used mainly due to its status as one of the default window managers in OpenBSD, though other reasons are sometimes cited. cwm is also praised for its flexibility, ease of use, and the fact that it can be used without a mouse.

References

::callout[type=info title="Wikipedia Source"] This article was imported from Wikipedia and is available under the Creative Commons Attribution-ShareAlike 4.0 License. Content has been adapted to SurfDoc format. Original contributors can be found on the article history page. ::

free-software-programmed-in-cfree-x-window-managersopenbsdopenbsd-software-using-the-isc-license