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.

154 lines
4.5 KiB

17 years ago
18 years ago
18 years ago
18 years ago
18 years ago
18 years ago
18 years ago
18 years ago
18 years ago
18 years ago
18 years ago
18 years ago
18 years ago
18 years ago
18 years ago
18 years ago
18 years ago
18 years ago
18 years ago
18 years ago
18 years ago
18 years ago
18 years ago
18 years ago
18 years ago
18 years ago
18 years ago
18 years ago
18 years ago
18 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 layout 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. dwm contains a small status bar which displays all available tags, the layout,
  23. the title of the focused window, and the text read from standard input. A
  24. floating window is indicated with an empty square and a maximised
  25. floating window is indicated with a filled square before the windows
  26. title. The selected tags are indicated with a different color. The tags of
  27. the focused window are indicated with a filled square in the top left
  28. corner. The tags which are applied to one or more windows are indicated
  29. 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 Standard input
  40. is read and displayed in the status text area.
  41. .TP
  42. .B Button1
  43. click on a tag label to display all windows with that tag, click on the layout
  44. label toggles between tiled and floating layout.
  45. .TP
  46. .B Button3
  47. click on a tag label adds/removes all windows with that tag to/from the view.
  48. .TP
  49. .B Mod1\-Button1
  50. click on a tag label applies that tag to the focused window.
  51. .TP
  52. .B Mod1\-Button3
  53. click on a tag label adds/removes that tag to/from the focused window.
  54. .SS Keyboard commands
  55. .TP
  56. .B Mod1\-Shift\-Return
  57. Start
  58. .BR xterm.
  59. .TP
  60. .B Mod1\-Return
  61. Zooms/cycles current window to/from master area (tiled layout only).
  62. .TP
  63. .B Mod1\-Tab
  64. Toggles to the previously selected tags.
  65. .TP
  66. .B Mod1\-f
  67. Apply floating layout.
  68. .TP
  69. .B Mod1\-m
  70. Apply monocle layout.
  71. .TP
  72. .B Mod1\-t
  73. Apply tiled layout.
  74. .TP
  75. .B Mod1\-j
  76. Focus next window.
  77. .TP
  78. .B Mod1\-k
  79. Focus previous window.
  80. .TP
  81. .B Mod1\-r
  82. Re-applies tagging rules to all windows.
  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\-Shift\-space
  101. Toggle focused window between tiled and floating state.
  102. .TP
  103. .B Mod1\-[1..n]
  104. View all windows with
  105. .BR nth
  106. tag.
  107. .TP
  108. .B Mod1\-0
  109. View all windows with any tag.
  110. .TP
  111. .B Mod1\-Control\-[1..n]
  112. Add/remove all windows with
  113. .BR nth
  114. tag to/from the view.
  115. .TP
  116. .B Mod1\-Shift\-q
  117. Quit dwm.
  118. .SS Mouse commands
  119. .TP
  120. .B Mod1\-Button1
  121. Move current window while dragging. Tiled windows will be toggled to the floating state.
  122. .TP
  123. .B Mod1\-Button2
  124. Zooms/cycles current window to/from master area. If it is floating (but not fixed) it will be toggled to the tiled state instead.
  125. .TP
  126. .B Mod1\-Button3
  127. Resize current window while dragging. Tiled windows will be toggled to the floating state.
  128. .SH CUSTOMIZATION
  129. dwm is customized by creating a custom config.h and (re)compiling the source
  130. code. This keeps it fast, secure and simple.
  131. .SH SEE ALSO
  132. .BR dmenu (1)
  133. .SH BUGS
  134. The status bar may display
  135. .BR "EOF"
  136. when dwm has been started by an X session manager like
  137. .BR xdm (1),
  138. because those close standard output before executing dwm.
  139. .P
  140. Java applications which use the XToolkit/XAWT backend may draw grey windows
  141. only. The XToolkit/XAWT backend breaks ICCCM-compliance in recent JDK 1.5 and early
  142. JDK 1.6 versions, because it assumes a reparenting window manager. As a workaround
  143. you can use JDK 1.4 (which doesn't contain the XToolkit/XAWT backend) or you
  144. can set the following environment variable (to use the older Motif
  145. backend instead):
  146. .BR AWT_TOOLKIT=MToolkit .
  147. .P
  148. Recent GTK 2.10.9+ versions contain a broken
  149. .BR Save\-As
  150. file dialog implementation,
  151. which requests to reconfigure its window size in an endless loop. However, its
  152. window is still respondable during this state, so you can simply ignore the flicker
  153. until a new GTK version appears, which will fix this bug, approximately
  154. GTK 2.10.12+ versions.