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