keys 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159
  1. # click on the desktop to get menus
  2. OnDesktop Mouse1 :HideMenus
  3. OnDesktop Mouse2 :WorkspaceMenu
  4. OnDesktop Mouse3 :RootMenu
  5. # scroll on the desktop to change workspaces
  6. OnDesktop Mouse4 :PrevWorkspace
  7. OnDesktop Mouse5 :NextWorkspace
  8. # scroll on the toolbar to change current window
  9. OnToolbar Mouse4 :PrevWindow {static groups} (iconhidden=no)
  10. OnToolbar Mouse5 :NextWindow {static groups} (iconhidden=no)
  11. # alt + left/right click to move/resize a window
  12. OnWindow Mod4 Mouse1 :MacroCmd {Raise} {Focus} {StartMoving}
  13. OnWindowBorder Move1 :StartMoving
  14. OnWindow Mod4 Mouse3 :MacroCmd {Raise} {Focus} {StartResizing NearestCorner}
  15. OnLeftGrip Move1 :StartResizing bottomleft
  16. OnRightGrip Move1 :StartResizing bottomright
  17. # alt + middle click to lower the window
  18. OnWindow Mod4 Mouse2 :Lower
  19. # control-click a window's titlebar and drag to attach windows
  20. OnTitlebar Control Mouse1 :StartTabbing
  21. # double click on the titlebar to shade
  22. OnTitlebar Double Mouse1 :Shade
  23. # left click on the titlebar to move the window
  24. OnTitlebar Mouse1 :MacroCmd {Raise} {Focus} {ActivateTab}
  25. OnTitlebar Move1 :StartMoving
  26. # middle click on the titlebar to lower
  27. OnTitlebar Mouse2 :Lower
  28. # right click on the titlebar for a menu of options
  29. OnTitlebar Mouse3 :WindowMenu
  30. # alt-tab
  31. Mod4 Tab :NextWindow {groups} (workspace=[current])
  32. Mod4 Shift Tab :PrevWindow {groups} (workspace=[current])
  33. # cycle through tabs in the current window
  34. # Control Tab :NextTab
  35. # Control Shift Tab :PrevTab
  36. # go to a specific tab in the current window
  37. # Control 1 :Tab 1
  38. # Control 2 :Tab 2
  39. # Control 3 :Tab 3
  40. # Control 4 :Tab 4
  41. # Control 5 :Tab 5
  42. # Control 6 :Tab 6
  43. # Control 7 :Tab 7
  44. # Control 8 :Tab 8
  45. # Control 9 :Tab 9
  46. # open a terminal
  47. Shift Mod4 Return :Exec uxterm
  48. # open a dialog to run programs
  49. Mod4 space :Exec fbrun
  50. # lock the screen
  51. Shift Mod4 F11 :Exec xlock -mode star -trek 100000
  52. # volume settings, using common keycodes
  53. # if these don't work, use xev to find out your real keycodes
  54. # NetBSD
  55. 176 :Exec mixerctl -w outputs.master+=5
  56. 174 :Exec mixerctl -w outputs.master-=5
  57. 160 :Exec mixerctl -w outputs.master=0
  58. # Linux ALSA
  59. #176 :Exec amixer sset Master,0 1+
  60. #174 :Exec amixer sset Master,0 1-
  61. #160 :Exec amixer sset Master,0 toggle
  62. # current window commands
  63. Mod4 w :Close
  64. Mod4 q :Kill
  65. Mod4 m :Minimize
  66. Shift Mod4 m :Maximize
  67. Shift Mod4 f :Fullscreen
  68. # open the window menu
  69. Mod4 p :WindowMenu
  70. # open the root menu
  71. Mod4 r :RootMenu
  72. # exit fluxbox
  73. Shift Mod4 q :Exit
  74. # change to previous/next workspace
  75. Control Mod4 Left :PrevWorkspace
  76. Control Mod4 Right :NextWorkspace
  77. # send the current window to previous/next workspace
  78. Mod4 Left :SendToPrevWorkspace
  79. Mod4 Right :SendToNextWorkspace
  80. # send the current window and follow it to previous/next workspace
  81. Control Mod4 Left :TakeToPrevWorkspace
  82. Control Mod4 Right :TakeToNextWorkspace
  83. # change to a specific workspace
  84. Mod4 1 :Workspace 1
  85. Mod4 2 :Workspace 2
  86. Mod4 3 :Workspace 3
  87. Mod4 4 :Workspace 4
  88. Mod4 5 :Workspace 5
  89. Mod4 6 :Workspace 6
  90. Mod4 7 :Workspace 7
  91. Mod4 8 :Workspace 8
  92. Mod4 9 :Workspace 9
  93. Mod4 10 :Workspace 10
  94. Mod4 11 :Workspace 11
  95. Mod4 12 :Workspace 12
  96. # send the current window to a specific workspace
  97. Shift Mod4 1 :SendToWorkspace 1
  98. Shift Mod4 2 :SendToWorkspace 2
  99. Shift Mod4 3 :SendToWorkspace 3
  100. Shift Mod4 4 :SendToWorkspace 4
  101. Shift Mod4 5 :SendToWorkspace 5
  102. Shift Mod4 6 :SendToWorkspace 6
  103. Shift Mod4 7 :SendToWorkspace 7
  104. Shift Mod4 8 :SendToWorkspace 8
  105. Shift Mod4 9 :SendToWorkspace 9
  106. Shift Mod4 10 :SendToWorkspace 10
  107. Shift Mod4 11 :SendToWorkspace 11
  108. Shift Mod4 12 :SendToWorkspace 12
  109. # send the current window and change to a specific workspace
  110. Control Shift Mod4 F1 :TakeToWorkspace 1
  111. Control Shift Mod4 F2 :TakeToWorkspace 2
  112. Control Shift Mod4 F3 :TakeToWorkspace 3
  113. Control Shift Mod4 F4 :TakeToWorkspace 4
  114. Control Shift Mod4 F5 :TakeToWorkspace 5
  115. Control Shift Mod4 F6 :TakeToWorkspace 6
  116. Control Shift Mod4 F7 :TakeToWorkspace 7
  117. Control Shift Mod4 F8 :TakeToWorkspace 8
  118. Control Shift Mod4 F9 :TakeToWorkspace 9
  119. Control Shift Mod4 F10 :TakeToWorkspace 10
  120. Control Shift Mod4 F11 :TakeToWorkspace 11
  121. Control Shift Mod4 F12 :TakeToWorkspace 12
  122. # tiling commands
  123. Mod4 Shift h :MacroCmd {MoveTo 0 0} {ResizeTo 50% 100%}
  124. Mod4 Shift l :MacroCmd {MoveTo 50% 0} {ResizeTo 50% 100%}
  125. Mod4 Shift k :MacroCmd {MoveTo 0 0} {ResizeTo 100% 50%}
  126. Mod4 Shift j :MacroCmd {MoveTo 0 50%} {ResizeTo 50% 100%}
  127. Mod4 Shift y :MacroCmd {MoveTo 0 0} {ResizeTo 50% 50%}
  128. Mod4 Shift u :MacroCmd {MoveTo 50% 0} {ResizeTo 50% 50%}
  129. Mod4 Shift b :MacroCmd {MoveTo 0 50%} {ResizeTo 50% 50%}
  130. Mod4 Shift n :MacroCmd {MoveTo 50% 50%} {ResizeTo 50% 50%}