dwm.1 5.0 KB

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