all repos — dwm @ 839c7f6939368fe5784058975ee95062cc88d4c3

fork of suckless dynamic window manager

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