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 and
9floating layouts. Either layout can be applied dynamically, optimizing the
10environment for the application in use and the task performed.
11.P
12In tiled layout 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 floating layout windows can be
15resized and moved freely. Dialog windows are always managed floating,
16regardless of the layout applied.
17.P
18Windows are grouped by tags. Each window can be tagged with one or multiple
19tags. Selecting certain tags displays all windows with these tags.
20.P
21dwm contains a small status bar which displays all available tags, the layout,
22the title of the focused window, and the text read from standard input. A
23floating window is indicated with an empty square and a maximized
24floating window is indicated with a filled square before the windows
25title. The selected tags are indicated with a different color. The tags of
26the focused window are indicated with a filled square in the top left
27corner. The tags which are applied to one or more windows are indicated
28with an empty square in the top left corner.
29.P
30dwm draws a small border around windows to indicate the focus state.
31.SH OPTIONS
32.TP
33.B \-v
34prints version information to standard output, then exits.
35.SH USAGE
36.SS Status bar
37.TP
38.B Standard input
39is read and displayed in the status text area.
40.TP
41.B Button1
42click on a tag label to display all windows with that tag, click on the layout
43label toggles between tiled and floating layout.
44.TP
45.B Button3
46click on a tag label adds/removes all windows with that tag to/from the view.
47.TP
48.B Mod1\-Button1
49click on a tag label applies that tag to the focused window.
50.TP
51.B Mod1\-Button3
52click on a tag label adds/removes that tag to/from the focused window.
53.SS Keyboard commands
54.TP
55.B Mod1\-Shift\-Return
56Start
57.BR xterm.
58.TP
59.B Mod1\-Return
60Zooms/cycles current window to/from master area (tiled layout only).
61.TP
62.B Mod1\-Tab
63Toggles to the previously selected tags.
64.TP
65.B Mod1\-b
66Shows/hides the status bar.
67.TP
68.B Mod1\-h
69Decreases the master area width about 5% (tiled layout only).
70.TP
71.B Mod1\-j
72Focus next window.
73.TP
74.B Mod1\-k
75Focus previous window.
76.TP
77.B Mod1\-l
78Increases the master area width about 5% (tiled layout only).
79.TP
80.B Mod1\-m
81Toggles maximization of current window.
82.TP
83.B Mod1\-r
84Re-applies tagging rules to all windows.
85.TP
86.B Mod1\-Shift\-[1..n]
87Apply
88.RB nth
89tag to current window.
90.TP
91.B Mod1\-Shift\-0
92Apply all tags to current window.
93.TP
94.B Mod1\-Control\-Shift\-[1..n]
95Add/remove
96.B nth
97tag to/from current window.
98.TP
99.B Mod1\-Shift\-c
100Close focused window.
101.TP
102.B Mod1\-space
103Toggle between tiled and floating layout (affects all windows).
104.TP
105.B Mod1\-Shift\-space
106Toggle focused window between tiled and floating state.
107.TP
108.B Mod1\-[1..n]
109View all windows with
110.BR nth
111tag.
112.TP
113.B Mod1\-0
114View all windows with any tag.
115.TP
116.B Mod1\-Control\-[1..n]
117Add/remove all windows with
118.BR nth
119tag to/from the view.
120.TP
121.B Mod1\-Shift\-q
122Quit dwm.
123.SS Mouse commands
124.TP
125.B Mod1\-Button1
126Move current window while dragging. Tiled windows will be toggled to the floating state.
127.TP
128.B Mod1\-Button2
129Zooms/cycles current window to/from master area. If it is floating (but not fixed) it will be toggled to the tiled state instead.
130.TP
131.B Mod1\-Button3
132Resize current window while dragging. Tiled windows will be toggled to the floating state.
133.SH CUSTOMIZATION
134dwm is customized by creating a custom config.h and (re)compiling the source
135code. This keeps it fast, secure and simple.
136.SH SEE ALSO
137.BR dmenu (1)
138.SH BUGS
139The status bar may display
140.BR "EOF"
141when dwm has been started by an X session manager like
142.BR xdm (1),
143because those close standard output before executing dwm.
144.P
145Java applications which use the XToolkit/XAWT backend may draw grey windows
146only. The XToolkit/XAWT backend breaks ICCCM-compliance in recent JDK 1.5 and early
147JDK 1.6 versions, because it assumes a reparenting window manager. As a workaround
148you can use JDK 1.4 (which doesn't contain the XToolkit/XAWT backend) or you
149can set the following environment variable (to use the older Motif
150backend instead):
151.BR AWT_TOOLKIT=MToolkit .
152.P
153Recent GTK 2.10.9+ versions contain a broken
154.BR Save\-As
155file dialog implementation,
156which requests to reconfigure its window size in an endless loop. However, its
157window is still respondable during this state, so you can simply ignore the flicker
158until a new GTK version appears, which will fix this bug, approximately
159GTK 2.10.12+ versions.