1 # begin /usr/share/fluxbox/keys from Gentoo's x11-wm/fluxbox-1.3.1 package
3 # click on the desktop to get menus
4 OnDesktop Mouse1 :HideMenus
5 OnDesktop Mouse2 :WorkspaceMenu
6 OnDesktop Mouse3 :RootMenu
8 # scroll on the desktop to change workspaces
9 OnDesktop Mouse4 :PrevWorkspace
10 OnDesktop Mouse5 :NextWorkspace
12 # scroll on the toolbar to change current window
13 OnToolbar Mouse4 :PrevWindow {static groups} (iconhidden=no)
14 OnToolbar Mouse5 :NextWindow {static groups} (iconhidden=no)
16 # alt + left/right click to move/resize a window
17 OnWindow Mod1 Mouse1 :MacroCmd {Raise} {Focus} {StartMoving}
18 OnWindowBorder Move1 :StartMoving
20 OnWindow Mod1 Mouse3 :MacroCmd {Raise} {Focus} {StartResizing NearestCorner}
21 OnLeftGrip Move1 :StartResizing bottomleft
22 OnRightGrip Move1 :StartResizing bottomright
24 # alt + middle click to lower the window
25 OnWindow Mod1 Mouse2 :Lower
27 # control-click a window's titlebar and drag to attach windows
28 OnTitlebar Control Mouse1 :StartTabbing
30 # double click on the titlebar to shade
31 OnTitlebar Double Mouse1 :Shade
33 # left click on the titlebar to move the window
34 OnTitlebar Mouse1 :MacroCmd {Raise} {Focus} {ActivateTab}
35 OnTitlebar Move1 :StartMoving
37 # middle click on the titlebar to lower
38 OnTitlebar Mouse2 :Lower
40 # right click on the titlebar for a menu of options
41 OnTitlebar Mouse3 :WindowMenu
44 Mod1 Tab :NextWindow {groups} (workspace=[current])
45 Mod1 Shift Tab :PrevWindow {groups} (workspace=[current])
47 # cycle through tabs in the current window
49 Mod4 Shift Tab :PrevTab
51 # go to a specific tab in the current window
65 # open a dialog to run programs
68 # volume settings, using common keycodes
69 # if these don't work, use xev to find out your real keycodes
70 176 :Exec amixer sset Master,0 1+
71 174 :Exec amixer sset Master,0 1-
72 160 :Exec amixer sset Master,0 toggle
74 # current window commands
81 # open the window menu
82 Mod1 space :WindowMenu
85 Control Mod1 Delete :Exit
87 # change to previous/next workspace
88 Control Mod1 Left :PrevWorkspace
89 Control Mod1 Right :NextWorkspace
91 # send the current window to previous/next workspace
92 Mod4 Left :SendToPrevWorkspace
93 Mod4 Right :SendToNextWorkspace
95 # send the current window and follow it to previous/next workspace
96 Control Mod4 Left :TakeToPrevWorkspace
97 Control Mod4 Right :TakeToNextWorkspace
99 # change to a specific workspace
100 Control F1 :Workspace 1
101 Control F2 :Workspace 2
102 Control F3 :Workspace 3
103 Control F4 :Workspace 4
104 Control F5 :Workspace 5
105 Control F6 :Workspace 6
106 Control F7 :Workspace 7
107 Control F8 :Workspace 8
108 Control F9 :Workspace 9
109 Control F10 :Workspace 10
110 Control F11 :Workspace 11
111 Control F12 :Workspace 12
113 # send the current window to a specific workspace
114 Mod4 F1 :SendToWorkspace 1
115 Mod4 F2 :SendToWorkspace 2
116 Mod4 F3 :SendToWorkspace 3
117 Mod4 F4 :SendToWorkspace 4
118 Mod4 F5 :SendToWorkspace 5
119 Mod4 F6 :SendToWorkspace 6
120 Mod4 F7 :SendToWorkspace 7
121 Mod4 F8 :SendToWorkspace 8
122 Mod4 F9 :SendToWorkspace 9
123 Mod4 F10 :SendToWorkspace 10
124 Mod4 F11 :SendToWorkspace 11
125 Mod4 F12 :SendToWorkspace 12
127 # send the current window and change to a specific workspace
128 Control Mod4 F1 :TakeToWorkspace 1
129 Control Mod4 F2 :TakeToWorkspace 2
130 Control Mod4 F3 :TakeToWorkspace 3
131 Control Mod4 F4 :TakeToWorkspace 4
132 Control Mod4 F5 :TakeToWorkspace 5
133 Control Mod4 F6 :TakeToWorkspace 6
134 Control Mod4 F7 :TakeToWorkspace 7
135 Control Mod4 F8 :TakeToWorkspace 8
136 Control Mod4 F9 :TakeToWorkspace 9
137 Control Mod4 F10 :TakeToWorkspace 10
138 Control Mod4 F11 :TakeToWorkspace 11
139 Control Mod4 F12 :TakeToWorkspace 12
141 # end /usr/share/fluxbox/keys
145 # Fluxbox Standard keyboard
151 Mod1 t :ExecCommand xterm -fg white -bg black -fa mono-medium
152 Mod1 f :ExecCommand firefox
153 Mod1 l :ExecCommand xlock -mode blank
166 Mod1 c :ToggleCmd {Exec conky} {pkill conky}
168 Control Mod1 r :Reconfigure