You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

170 lines
4.7 KiB

17 years ago
19 years ago
19 years ago
19 years ago
19 years ago
19 years ago
17 years ago
19 years ago
19 years ago
19 years ago
18 years ago
18 years ago
19 years ago
18 years ago
17 years ago
17 years ago
17 years ago
18 years ago
18 years ago
17 years ago
18 years ago
17 years ago
18 years ago
17 years ago
18 years ago
17 years ago
18 years ago
18 years ago
18 years ago
18 years ago
19 years ago
18 years ago
17 years ago
18 years ago
17 years ago
18 years ago
17 years ago
17 years ago
  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 X root window name
  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 xterm.
  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
  114. .RB nth
  115. tag to focused window.
  116. .TP
  117. .B Mod1\-Shift\-0
  118. Apply all tags to focused window.
  119. .TP
  120. .B Mod1\-Control\-Shift\-[1..n]
  121. Add/remove
  122. .B nth
  123. tag to/from focused window.
  124. .TP
  125. .B Mod1\-[1..n]
  126. View all windows with
  127. .BR nth
  128. tag.
  129. .TP
  130. .B Mod1\-0
  131. View all windows with any tag.
  132. .TP
  133. .B Mod1\-Control\-[1..n]
  134. Add/remove all windows with
  135. .BR nth
  136. tag to/from the view.
  137. .TP
  138. .B Mod1\-Shift\-q
  139. Quit dwm.
  140. .SS Mouse commands
  141. .TP
  142. .B Mod1\-Button1
  143. Move focused window while dragging. Tiled windows will be toggled to the floating state.
  144. .TP
  145. .B Mod1\-Button2
  146. Toggles focused window between floating and tiled state.
  147. .TP
  148. .B Mod1\-Button3
  149. Resize focused window while dragging. Tiled windows will be toggled to the floating state.
  150. .SH CUSTOMIZATION
  151. dwm is customized by creating a custom config.h and (re)compiling the source
  152. code. This keeps it fast, secure and simple.
  153. .SH SEE ALSO
  154. .BR dmenu (1)
  155. .SH BUGS
  156. Java applications which use the XToolkit/XAWT backend may draw grey windows
  157. only. The XToolkit/XAWT backend breaks ICCCM-compliance in recent JDK 1.5 and early
  158. JDK 1.6 versions, because it assumes a reparenting window manager. As a workaround
  159. you can use JDK 1.4 (which doesn't contain the XToolkit/XAWT backend) or you
  160. can set the following environment variable (to use the older Motif
  161. backend instead):
  162. .BR AWT_TOOLKIT=MToolkit .
  163. .P
  164. GTK 2.10.9+ versions contain a broken
  165. .BR Save\-As
  166. file dialog implementation,
  167. which requests to reconfigure its window size in an endless loop. However, its
  168. window is still respondable during this state, so you can simply ignore the flicker
  169. until a new GTK version appears, which will fix this bug, approximately
  170. GTK 2.10.12+ versions.