all repos — dwm @ c1128417a991258b2382a76ec4529b213ee15c91

fork of suckless dynamic window manager

dwm.1 (view raw)

  1.TH DWM 1 dwm\-VERSION
  2.SH NAME
  3dwm \- dynamic window manager
  4.SH SYNOPSIS
  5.B dwm
  6.RB [ \-v ]
  7.SH DESCRIPTION
  8dwm is a dynamic window manager for X. It manages windows in tiled, monocle
  9and floating layouts. Either layout can be applied dynamically, optimising the
 10environment for the application in use and the task performed.
 11.P
 12In tiled layouts windows are managed in a master and stacking area. The master
 13area contains the window which currently needs most attention, whereas the
 14stacking area contains all other windows. In monocle layout all windows are
 15maximised to the screen size. In floating layout windows can be resized and
 16moved freely. Dialog windows are always managed floating, regardless of the
 17layout applied.
 18.P
 19Windows are grouped by tags. Each window can be tagged with one or multiple
 20tags. Selecting certain tags displays all windows with these tags.
 21.P
 22Each screen contains a small status bar which displays all available tags, the
 23layout, the title of the focused window, and the text read from the root window
 24name property, if the screen is focused. A floating window is indicated with an
 25empty square and a maximised floating window is indicated with a filled square
 26before the windows title.  The selected tags are indicated with a different
 27color. The tags of the focused window are indicated with a filled square in the
 28top left corner.  The tags which are applied to one or more windows are
 29indicated with an empty square in the top left corner.
 30.P
 31dwm draws a small border around windows to indicate the focus state.
 32.SH OPTIONS
 33.TP
 34.B \-v
 35prints version information to standard output, then exits.
 36.SH USAGE
 37.SS Status bar
 38.TP
 39.B X root window name
 40is read and displayed in the status text area. It can be set with the
 41.BR xsetroot (1)
 42command.
 43.TP
 44.B Button1
 45click on a tag label to display all windows with that tag, click on the layout
 46label toggles between tiled and floating layout.
 47.TP
 48.B Button3
 49click on a tag label adds/removes all windows with that tag to/from the view.
 50.TP
 51.B Mod1\-Button1
 52click on a tag label applies that tag to the focused window.
 53.TP
 54.B Mod1\-Button3
 55click on a tag label adds/removes that tag to/from the focused window.
 56.SS Keyboard commands
 57.TP
 58.B Mod1\-Shift\-Return
 59Start
 60.BR uxterm (1).
 61.TP
 62.B Mod1\-,
 63Focus previous screen, if any.
 64.TP
 65.B Mod1\-.
 66Focus next screen, if any.
 67.TP
 68.B Mod1\-Shift\-,
 69Send focused window to previous screen, if any.
 70.TP
 71.B Mod1\-Shift\-.
 72Send focused window to next screen, if any.
 73.TP
 74.B Mod1\-b
 75Toggles bar on and off.
 76.TP
 77.B Mod1\-t
 78Sets tiled layout.
 79.TP
 80.B Mod1\-f
 81Sets floating layout.
 82.TP
 83.B Mod1\-m
 84Sets monocle layout.
 85.TP
 86.B Mod1\-space
 87Toggles between current and previous layout.
 88.TP
 89.B Mod1\-j
 90Focus next window.
 91.TP
 92.B Mod1\-k
 93Focus previous window.
 94.TP
 95.B Mod1\-i
 96Increase clients in master area.
 97.TP
 98.B Mod1\-d
 99Decrease clients in master area.
100.TP
101.B Mod1\-l
102Increase master area size.
103.TP
104.B Mod1\-h
105Decrease master area size.
106.TP
107.B Mod1\-Return
108Zooms/cycles focused window to/from master area (tiled layouts only).
109.TP
110.B Mod1\-Shift\-c
111Close focused window.
112.TP
113.B Mod1\-Shift\-space
114Toggle focused window between tiled and floating state.
115.TP
116.B Mod1\-Tab
117Toggles to the previously selected tags.
118.TP
119.B Mod1\-Shift\-[1..n]
120Apply nth tag to focused window.
121.TP
122.B Mod1\-Shift\-0
123Apply all tags to focused window.
124.TP
125.B Mod1\-Control\-Shift\-[1..n]
126Add/remove nth tag to/from focused window.
127.TP
128.B Mod1\-[1..n]
129View all windows with nth tag.
130.TP
131.B Mod1\-0
132View all windows with any tag.
133.TP
134.B Mod1\-Control\-[1..n]
135Add/remove all windows with nth tag to/from the view.
136.TP
137.B Mod1\-Shift\-q
138Quit dwm.
139.SS Mouse commands
140.TP
141.B Mod1\-Button1
142Move focused window while dragging. Tiled windows will be toggled to the floating state.
143.TP
144.B Mod1\-Button2
145Toggles focused window between floating and tiled state.
146.TP
147.B Mod1\-Button3
148Resize focused window while dragging. Tiled windows will be toggled to the floating state.
149.SH CUSTOMIZATION
150dwm is customized by creating a custom config.h and (re)compiling the source
151code. This keeps it fast, secure and simple.
152.SH SEE ALSO
153.BR dmenu (1)
154.SH BUGS
155Java applications which use the XToolkit/XAWT backend may draw grey windows
156only. The XToolkit/XAWT backend breaks ICCCM-compliance in recent JDK 1.5 and early
157JDK 1.6 versions, because it assumes a reparenting window manager. Possible workarounds
158are using JDK 1.4 (which doesn't contain the XToolkit/XAWT backend) or setting the
159environment variable
160.BR AWT_TOOLKIT=MToolkit
161(to use the older Motif backend instead) or running
162.B xprop -root -f _NET_WM_NAME 32a -set _NET_WM_NAME LG3D
163or
164.B wmname LG3D
165(to pretend that a non-reparenting window manager is running that the
166XToolkit/XAWT backend can recognize) or when using OpenJDK setting the environment variable
167.BR _JAVA_AWT_WM_NONREPARENTING=1 .
168.P
169GTK 2.10.9+ versions contain a broken
170.BR Save\-As
171file dialog implementation,
172which requests to reconfigure its window size in an endless loop. However, its
173window is still respondable during this state, so you can simply ignore the flicker
174until a new GTK version appears, which will fix this bug, approximately
175GTK 2.10.12+ versions.