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