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