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