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