/etc/skel/.fluxbox/keys: provide resize configuration so left mouse button works...
[grml-desktop.git] / etc / skel / .fluxbox / keys
1 # Filename:      .fluxbox/keys
2 # Purpose:       configuration file for keybindings for fluxbox
3 # Authors:       grml-team (grml.org), (c) Michael Prokop <mika@grml.org>
4 # Bug-Reports:   see http://grml.org/bugs/
5 # License:       This file is licensed under the GPL v2.
6 ################################################################################
7
8 # Enable resizing - taken from Debian's fluxbox
9 # package (patch titled restore-old-keybindings.patch),
10 # without this config the left mouse button does not work
11 # as expected, see #592904 in Debian's BTS for details
12 OnLeftGrip Move1 :StartResizing bottomleft
13 OnRightGrip Move1 :StartResizing bottomright
14 OnTitlebar Move1 :StartMoving
15
16 # Mod1 = Alt key
17 # Control = Ctrl Key
18 # plus = +,*,~ key (german keyboard)
19 # numbersign = #,' key (german keyboard)
20
21 OnDesktop Mouse1 :hideMenus
22 OnDesktop Mouse2 :workspaceMenu
23 OnDesktop Mouse3 :rootMenu
24 OnDesktop Mouse4 :nextWorkspace
25 OnDesktop Mouse5 :prevWorkspace
26
27 Mod1 Tab       :NextWindow
28 Mod1 Shift Tab :PrevWindow
29 Control Right  :NextWorkspace
30 Mod1 Shift Right     :NextWorkspace
31 Control Left   :PrevWorkspace
32 Mod1 Shift Left      :PrevWorkspace
33
34 Mod1 q   :PrevWindow
35 Mod1 w   :NextWindow
36 Mod1 a   :PrevTab
37 Mod1 s   :NextTab
38
39 Mod1 F1 :Workspace 1
40 Mod1 F2 :Workspace 2
41 Mod1 F3 :Workspace 3
42 Mod1 F4 :Workspace 4
43 Mod1 F5 :Workspace 5
44 Mod1 F6 :Workspace 6
45 Mod1 F7 :Workspace 7
46 Mod1 F8 :Workspace 8
47 Mod1 F9 :Workspace 9
48 Mod1 F10 :Workspace 10
49 Mod1 F11 :Workspace 11
50 Mod1 F12 :Workspace 12
51
52 Mod1 Shift F1  :SendToWorkspace 1
53 Mod1 Shift F2  :SendToWorkspace 2
54 Mod1 Shift F3  :SendToWorkspace 3
55 Mod1 Shift F4  :SendToWorkspace 4
56 Mod1 Shift F5  :SendToWorkspace 5
57 Mod1 Shift F6  :SendToWorkspace 6
58 Mod1 Shift F7  :SendToWorkspace 7
59 Mod1 Shift F8  :SendToWorkspace 8
60 Mod1 Shift F9  :SendToWorkspace 9
61 Mod1 Shift F10 :SendToWorkspace 10
62 Mod1 Shift F11 :SendToWorkspace 11
63 Mod1 Shift F12 :SendToWorkspace 12
64
65 Mod1 plus       :MaximizeWindow
66 Mod1 numbersign :Minimize
67 Mod1 space      :RootMenu
68 Control Mod1 a :ArrangeWindows
69 # Mod1 m :Minimize
70 # Mod1 d :DeIconify
71
72 # keymappings for programs
73 Control Mod1 l :ExecCommand xlock
74 Control Mod1 d :ExecCommand xrandr -s 1024x768
75 Control Mod1 f :ExecCommand mozilla-firefox
76
77 Control Mod1 v :ExecCommand /usr/bin/xsay
78
79 # screenshot
80 Control Shift s :ExecCommand import -window root `date +shot-%Y-%m-%d-%H%M%S.jpg`
81
82 Mod1 c         :ExecCommand fbrun
83
84 # terminals:
85 Mod1 Escape    :ExecCommand x-terminal-emulator
86 Mod1 t         :ExecCommand x-terminal-emulator -fn '-misc-fixed-medium-r-semicondensed-*-*-120-*-*-*-*-iso8859-15'
87 Control Mod1 t :ExecCommand x-terminal-emulator -fn '-*-terminus-medium-*-*-*-16-*-*-*-*-*-iso8859-15'
88 Control Mod1 i :ExecCommand LANG=en_US.iso885915 x-terminal-emulator
89
90 # None F13                  :ExecCommand x-terminal-emulator -T "aumix" -e aumix
91 # None F14                  :ExecCommand mozilla-firefox
92 # None F15                  :ExecCommand x-terminal-emulator
93 None XF86AudioMedia       :ExecCommand xsay
94 None XF86AudioRaiseVolume :ExecCommand XF86AudioRaiseVolume
95 None XF86AudioLowerVolume :ExecCommand XF86AudioLowerVolume
96 None XF86AudioMute        :ExecCommand XF86AudioMute
97
98 ## END OF FILE #################################################################