comparison dwm.1 @ 2:de6bb7885c97

add right-click eventon layout icon to go to previous layout
author pang@hit-nxdomain.opendns.com
date Tue, 24 Mar 2009 12:52:45 -0700
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:a01382ea2468
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 tiling and
9 versatile layouts. Either layout can be applied dynamically, optimizing the
10 environment for the application in use and the task performed.
11 .P
12 In tiling layout windows are managed in a master and stacking area. The master
13 area contains the windows which currently need most attention, whereas the
14 stacking area contains all other windows. In versatile layout windows can be
15 resized and moved freely. Dialog windows are always managed versatile,
16 regardless of the layout applied.
17 .P
18 Windows are grouped by tags. Each window can be tagged with one or multiple
19 tags. Selecting certain tags displays all windows with these tags.
20 .P
21 dwm contains a small status bar which displays all available tags, the layout,
22 the title of the focused window, and the text read from standard input. The
23 selected tags are indicated with a different color. The tags of the focused
24 window are indicated with a filled square in the top left corner. The tags
25 which are applied to one or more windows are indicated with an empty square in
26 the top left corner.
27 .P
28 dwm draws a small border around windows to indicate the focus state.
29 .SH OPTIONS
30 .TP
31 .B \-v
32 prints version information to standard output, then exits.
33 .SH USAGE
34 .SS Status bar
35 .TP
36 .B Standard input
37 is read and displayed in the status text area.
38 .TP
39 .B Button1
40 click on a tag label to display all windows with that tag, click on the layout
41 label toggles between tiling and versatile layout.
42 .TP
43 .B Button3
44 click on a tag label adds/removes all windows with that tag to/from the view.
45 .TP
46 .B Button4
47 click on the layout label increases the number of windows in the master area (tiling layout only).
48 .TP
49 .B Button5
50 click on the layout label decreases the number of windows in the master area (tiling layout only).
51 .TP
52 .B Mod1-Button1
53 click on a tag label applies that tag to the focused window.
54 .TP
55 .B Mod1-Button3
56 click on a tag label adds/removes that tag to/from the focused window.
57 .SS Keyboard commands
58 .TP
59 .B Mod1-Shift-Return
60 Start
61 .BR xterm (1).
62 .TP
63 .B Mod1-Tab
64 Focus next window.
65 .TP
66 .B Mod1-Shift-Tab
67 Focus previous window.
68 .TP
69 .B Mod1-Return
70 Zooms/cycles current window to/from master area (tiling layout), toggles maximization of current window (versatile layout).
71 .TP
72 .B Mod1-g
73 Grow master area (tiling layout only).
74 .TP
75 .B Mod1-s
76 Shrink master area (tiling layout only).
77 .TP
78 .B Mod1-i
79 Increase the number of windows in the master area (tiling layout only).
80 .TP
81 .B Mod1-d
82 Decrease the number of windows in the master area (tiling layout only).
83 .TP
84 .B Mod1-Shift-[1..n]
85 Apply
86 .RB nth
87 tag to current window.
88 .TP
89 .B Mod1-Shift-0
90 Apply all tags to current window.
91 .TP
92 .B Mod1-Control-Shift-[1..n]
93 Add/remove
94 .B nth
95 tag to/from current window.
96 .TP
97 .B Mod1-Shift-c
98 Close focused window.
99 .TP
100 .B Mod1-space
101 Toggle between tiling and versatile layout (affects all windows).
102 .TP
103 .B Mod1-Shift-space
104 Toggle focused window between versatile and non-versatile state (tiling layout only).
105 .TP
106 .B Mod1-[1..n]
107 View all windows with
108 .BR nth
109 tag.
110 .TP
111 .B Mod1-0
112 View all windows with any tag.
113 .TP
114 .B Mod1-Control-[1..n]
115 Add/remove all windows with
116 .BR nth
117 tag to/from the view.
118 .TP
119 .B Mod1-Shift-q
120 Quit dwm.
121 .SS Mouse commands
122 .TP
123 .B Mod1-Button1
124 Move current window while dragging (versatile layout only).
125 .TP
126 .B Mod1-Button2
127 Zooms/cycles current window to/from master area (tiling layout), toggles maximization of current window (versatile layout).
128 .TP
129 .B Mod1-Button3
130 Resize current window while dragging (versatile layout only).
131 .SH CUSTOMIZATION
132 dwm is customized by creating a custom config.h and (re)compiling the source
133 code. This keeps it fast, secure and simple.
134 .SH SEE ALSO
135 .BR dmenu (1)
136 .SH BUGS
137 The status bar may display
138 .BR "EOF"
139 when dwm has been started by an X session manager like
140 .BR xdm (1),
141 because those close standard output before executing dwm.
142 .P
143 Java applications which use the XToolkit/XAWT backend may draw grey windows
144 only. The XToolkit/XAWT backend breaks ICCCM-compliance in recent JDK 1.5 and early
145 JDK 1.6 versions, because it assumes a reparenting window manager. As a workaround
146 you can use JDK 1.4 (which doesn't contain the XToolkit/XAWT backend) or you
147 can set the following environment variable (to use the older Motif
148 backend instead):
149 .BR AWT_TOOLKIT=MToolkit .