1 # Keysrc - Keybindings configuration for Openbox
3 # Key [Key...] Action [Argument]
5 # Key: A list of keys to form a key chain, or just a single key.
6 # Each Key a string composed of [<modifier>-]<key>. A Key can have 0 or more
7 # modifiers. Valid modifiers are Mod1 ('A' is an alias for this), Mod2, Mod3,
8 # Mod4 ('W' is an alias for this), and Mod5. Valid buttons are defined by the
9 # X server. The 'xev' utility can be used to look up the name of a key.
11 # When there is more than one Key in a binding, they form a chain, where you
12 # must press the first Key, then the second, etc, to fire the binding.
14 # The 'C-g' key combination can be used to abort a key chain in progress.
16 # Action: The action to be performed when the key binding is pressed.
18 # * Unfocus - Unfocus the focused client
19 # * Iconify - Iconify the focused client
20 # * Raise - Raise the focused client to the front
21 # * Lower - Lower the focused client to the back
22 # * Close - Close the focused client
23 # * Kill - Kill the focused client forcefully
24 # * Shade - Shade (roll up) the focused client
25 # * Unshade - Unshade (roll down) the focused client
26 # * ToggleShade - Shade and unshade the focused client
27 # * ToggleOmnipresent - Place the focused client on all desktops or the
29 # * MaximizeFull - Maximize the focused window horizontally and vertically
30 # * UnmaximizeFull - Restore the focused window horizontally and vertically
31 # * ToggleMaximizeFull - Maximize or restore the focused window horizontally
33 # * MaximizeHorz - Maximize the focused window horizontally
34 # * UnmaximizeHorz - Restore the focused window horizontally
35 # * ToggleMaximizeHorz - Maximize or restore the focused window horizontally
36 # * MaximizeVert - Maximize the focused window vertically
37 # * UnmaximizeVert - Restore the focused window vertically
38 # * ToggleMaximizeVert - Maximize or restore the focused window vertically
39 # * SendToNextDesktop - Sends the focused window to the next desktop
40 # * SendToNextDesktopWrap - Sends the focused window to the next desktop
41 # (wrapping around the first and last desktops)
42 # * SendToPreviousDesktop - Sends the focused window to the previous desktop
43 # * SendToPreviousDesktopWrap - Sends the focused window to the previous
44 # desktop (wrapping around the first and last
46 # * NextDesktop - Switches to the next desktop
47 # * NextDesktopWrap - Switches to the next desktop (wrapping around the first
49 # * PreviousDesktop - Switches to the previous desktop
50 # * PreviousDesktopWrap - Switches to the previous desktop (wrapping around
51 # the first and last desktops)
52 # * NextDesktopColumn - Switches to the desktop in the next column, based on
53 # the desktop layout set by a pager
54 # * NextDesktopColumnWrap - Switches to the desktop in the next column, based
55 # on the desktop layout set by a pager (wrapping
56 # around the first and last columns)
57 # * PreviousDesktopColumn - Switches to the desktop in the previous column,
58 # based on the desktop layout set by a pager
59 # * PreviousDesktopColumnWrap - Switches to the desktop in the previous
60 # column, based on the desktop layout set by a
61 # pager (wrapping around the first and last
63 # * NextDesktopRow - Switches to the desktop in the next row, based on the
64 # desktop layout set by a pager
65 # * NextDesktopRowWrap - Switches to the desktop in the next row, based on the
66 # desktop layout set by a pager (wrapping around the
67 # first and last rows)
68 # * PreviousDesktopRow - Switches to the desktop in the previous row, based on
69 # the desktop layout set by a pager
70 # * PreviousDesktopRowWrap - Switches to the desktop in the previous row,
71 # based on the desktop layout set by a pager
72 # (wrapping around the first and last rows)
73 # * MoveRelativeHorz - Moves the focused client horizontally
74 # * Takes a number argument which specifies the amount to move the window.
75 # A positive number moves to the right, negative to the left.
76 # * MoveRelativeVert - Moves the focused client vertcally
77 # * Takes a number argument which specifies the amount to move the window.
78 # A positive number moves down, negative up.
79 # * ResizeRelativeHorz - Resizes the focused client horizontally
80 # * Takes a number argument which specifies the amount to resize the
81 # window. A positive number grows it, a negative number shrinks it.
82 # * ResizeRelativeVert - Resizes the focused client vertically
83 # * Takes a number argument which specifies the amount to resize the
84 # window. A positive number grows it, a negative number shrinks it.
85 # * Desktops - Switches to the specified desktop
86 # * Takes a number argument which specifies the desktop to switch to
88 # * Execute - Executes a command
89 # * Takes a string argument "in quotes" that is the command to execute.
90 # * Restart - Restarts Openbox
91 # * Optionally takes a string argument "in quotes" that is the command to
92 # execute in place of restarting Openbox.
93 # * Exit - Exits Openbox
95 # For drag Events only, these are valid:
96 # * Move - Move the client interactively, this can only be bound to the Drag
98 # * Resize - Resize the client interactively, this can only be bound to the
103 A-space execute "xterm"
104 C-A-Escape execute "xlock -nolock -mode puzzle"
106 A-Left PreviousDesktopWrap
107 A-Right NextDesktopWrap