|OPENBSD-CWM(1)||General Commands Manual||OPENBSD-CWM(1)|
openbsd-cwmis a window manager for X11 which contains many features that concentrate on the efficiency and transparency of window management, while maintaining the simplest and most pleasant aesthetic.
The options are as follows:
- Specify an alternative configuration file. By default,
openbsd-cwmloads ~/.cwmrc, if present. Any error messages from lines in the configuration file will be sent to stderr; however,
openbsd-cwmwill continue to process the rest of the configuration file.
- Specify the display to use.
- Verbose mode. Multiple
-voptions increase the verbosity.
openbsd-cwm actions are initiated either
via key or mouse bindings. The following notations are used throughout this
The default key bindings are:
- Spawn a new terminal.
- Lock the screen.
- Hide current window.
- Lower current window.
- Raise current window.
- Search for windows.
- Search for applications.
- Label current window.
- Cycle through currently visible windows.
- Reverse cycle through currently visible windows.
- Delete current window.
- Toggle visibility of group n, where n is 1-9.
- Toggle visibility of all groups.
- Toggle group membership of current window.
- Cycle through active groups.
- Reverse cycle through active groups.
- Toggle freezing geometry of current window.
- Toggle stickiness of current window.
- Toggle full-screen mode of current window.
- Toggle maximization of current window.
- Toggle vertical maximization of current window.
- Toggle horizontal maximization of current window.
- Move window by a small amount.
- Move window by a large amount; see cwmrc(5).
- Resize window by a small amount.
- Resize window by a large amount; see cwmrc(5).
- Spawn “exec program” dialog.
- Spawn “ssh to” dialog. This parses $HOME/.ssh/known_hosts to provide host auto-completion. ssh(1) will be executed via the configured terminal emulator.
- Spawn “exec WindowManager” menu, allowing a switch to another window manager.
The default mouse bindings are:
The following key bindings may be used to navigate search and exec dialogs:
openbsd-cwm rereads its configuration file
when it receives a hangup signal,
executing itself with the name and arguments with which it was started. This
is equivalent to the restart function.
openbsd-cwmfeatures the ability to search for windows by their current title, old titles, and by their label. The priority for the search results are: label, current title, old titles in reverse order, and finally window class name.
openbsd-cwmkeeps a history of the 5 previous titles of a window.
When searching, the leftmost character of the result list may show a flag:
- Window is currently focused.
- Window is hidden.
openbsd-cwmhas the ability to group windows together, and use the groups to perform operations on the entire group instead of just one window. Together with the sticky option, this can be used to emulate virtual desktops.
To edit groups, use the group selection commands to toggle membership of a group. A blue border will be shown briefly on windows added to the current group, and a red border will be shown on those just removed.
MENUS¶Menus are recalled by clicking the mouse on the root window:
- Show list of currently defined windows. Selecting an item will warp to that window, unhiding it if necessary.
- Show list of currently defined groups. Selecting an item will hide/unhide that group.
- Show list of applications as defined in ~/.cwmrc. Selecting an item will spawn that application.
openbsd-cwmstarts on this display unless the
-doption is given.
openbsd-cwmwas originally inspired by evilwm, but was rewritten from scratch due to limitations in the evilwm codebase. The from-scratch rewrite borrowed some code from 9wm, however that code has since been removed or rewritten.
openbsd-cwm first appeared in
openbsd-cwmwas developed by Marius Aamodt Eriksen ⟨email@example.com⟩ with contributions from Andy Adamson ⟨firstname.lastname@example.org⟩, Niels Provos ⟨email@example.com⟩, and Antti Nykänen ⟨firstname.lastname@example.org⟩. Ideas, discussion with many others.
|October 22, 2019||Linux 4.19.0-6-amd64|