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