Remove annoying xterm and fbrun key bindings from default section of .fluxbox/keys.
[dotfiles-public.git] / src / .fluxbox / keys
1 # begin /usr/share/fluxbox/keys from Gentoo's x11-wm/fluxbox-1.3.1 package
2
3 # click on the desktop to get menus
4 OnDesktop Mouse1 :HideMenus
5 OnDesktop Mouse2 :WorkspaceMenu
6 OnDesktop Mouse3 :RootMenu
7
8 # scroll on the desktop to change workspaces
9 OnDesktop Mouse4 :PrevWorkspace
10 OnDesktop Mouse5 :NextWorkspace
11
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)
15
16 # alt + left/right click to move/resize a window
17 OnWindow Mod1 Mouse1 :MacroCmd {Raise} {Focus} {StartMoving}
18 OnWindowBorder Move1 :StartMoving
19
20 OnWindow Mod1 Mouse3 :MacroCmd {Raise} {Focus} {StartResizing NearestCorner}
21 OnLeftGrip Move1 :StartResizing bottomleft
22 OnRightGrip Move1 :StartResizing bottomright
23
24 # alt + middle click to lower the window
25 OnWindow Mod1 Mouse2 :Lower
26
27 # control-click a window's titlebar and drag to attach windows
28 OnTitlebar Control Mouse1 :StartTabbing
29
30 # double click on the titlebar to shade
31 OnTitlebar Double Mouse1 :Shade
32
33 # left click on the titlebar to move the window
34 OnTitlebar Mouse1 :MacroCmd {Raise} {Focus} {ActivateTab}
35 OnTitlebar Move1  :StartMoving
36
37 # middle click on the titlebar to lower
38 OnTitlebar Mouse2 :Lower
39
40 # right click on the titlebar for a menu of options
41 OnTitlebar Mouse3 :WindowMenu
42
43 # alt-tab
44 Mod1 Tab :NextWindow {groups} (workspace=[current])
45 Mod1 Shift Tab :PrevWindow {groups} (workspace=[current])
46
47 # cycle through tabs in the current window
48 Mod4 Tab :NextTab
49 Mod4 Shift Tab :PrevTab
50
51 # go to a specific tab in the current window
52 Mod4 1 :Tab 1
53 Mod4 2 :Tab 2
54 Mod4 3 :Tab 3
55 Mod4 4 :Tab 4
56 Mod4 5 :Tab 5
57 Mod4 6 :Tab 6
58 Mod4 7 :Tab 7
59 Mod4 8 :Tab 8
60 Mod4 9 :Tab 9
61
62 # volume settings, using common keycodes
63 # if these don't work, use xev to find out your real keycodes
64 176 :Exec amixer sset Master,0 1+
65 174 :Exec amixer sset Master,0 1-
66 160 :Exec amixer sset Master,0 toggle
67
68 # current window commands
69 Mod1 F4 :Close
70 Mod1 F5 :Kill
71 Mod1 F9 :Minimize
72 Mod1 F10 :Maximize
73 Mod1 F11 :Fullscreen
74
75 # open the window menu
76 Mod1 space :WindowMenu
77
78 # exit fluxbox
79 Control Mod1 Delete :Exit
80
81 # change to previous/next workspace
82 Control Mod1 Left :PrevWorkspace
83 Control Mod1 Right :NextWorkspace
84
85 # send the current window to previous/next workspace
86 Mod4 Left :SendToPrevWorkspace
87 Mod4 Right :SendToNextWorkspace
88
89 # send the current window and follow it to previous/next workspace
90 Control Mod4 Left :TakeToPrevWorkspace
91 Control Mod4 Right :TakeToNextWorkspace
92
93 # change to a specific workspace
94 Control F1 :Workspace 1
95 Control F2 :Workspace 2
96 Control F3 :Workspace 3
97 Control F4 :Workspace 4
98 Control F5 :Workspace 5
99 Control F6 :Workspace 6
100 Control F7 :Workspace 7
101 Control F8 :Workspace 8
102 Control F9 :Workspace 9
103 Control F10 :Workspace 10
104 Control F11 :Workspace 11
105 Control F12 :Workspace 12
106
107 # send the current window to a specific workspace
108 Mod4 F1 :SendToWorkspace 1
109 Mod4 F2 :SendToWorkspace 2
110 Mod4 F3 :SendToWorkspace 3
111 Mod4 F4 :SendToWorkspace 4
112 Mod4 F5 :SendToWorkspace 5
113 Mod4 F6 :SendToWorkspace 6
114 Mod4 F7 :SendToWorkspace 7
115 Mod4 F8 :SendToWorkspace 8
116 Mod4 F9 :SendToWorkspace 9
117 Mod4 F10 :SendToWorkspace 10
118 Mod4 F11 :SendToWorkspace 11
119 Mod4 F12 :SendToWorkspace 12
120
121 # send the current window and change to a specific workspace
122 Control Mod4 F1 :TakeToWorkspace 1
123 Control Mod4 F2 :TakeToWorkspace 2
124 Control Mod4 F3 :TakeToWorkspace 3
125 Control Mod4 F4 :TakeToWorkspace 4
126 Control Mod4 F5 :TakeToWorkspace 5
127 Control Mod4 F6 :TakeToWorkspace 6
128 Control Mod4 F7 :TakeToWorkspace 7
129 Control Mod4 F8 :TakeToWorkspace 8
130 Control Mod4 F9 :TakeToWorkspace 9
131 Control Mod4 F10 :TakeToWorkspace 10
132 Control Mod4 F11 :TakeToWorkspace 11
133 Control Mod4 F12 :TakeToWorkspace 12
134
135 # end /usr/share/fluxbox/keys
136
137 # my local additions
138 #
139 # Fluxbox  Standard keyboard
140 # Mod1     Alt
141 # Mod4     Windows key
142 # Control  Ctrl
143 # Shift    Shift
144
145 Mod1 t :ExecCommand xterm -fg white -bg black -fa mono-medium
146 Mod1 f :ExecCommand firefox
147 Mod1 l :ExecCommand xlock -mode blank
148
149 Mod1 i :Move 0 -10
150 Mod1 k :Move 0 10
151 Mod1 j :Move -10 0
152 Mod1 l :Move 10 0
153 Mod4 i :Resize 0 -10
154 Mod4 k :Resize 0 10
155 Mod4 j :Resize -10 0
156 Mod4 l :Resize 10 0
157  
158 Mod1 m :Maximize
159 Mod4 m :Close
160 Mod1 c :ToggleCmd {Exec conky} {pkill conky}
161
162 Control Mod1 r :Reconfigure