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