All keybinds must be added to the ~/.
config
/
openbox
/
rc
.
xml
file, and below the <!--
Keybindings for running aplications
-->
heading. Although a brief overview has been provided here, a more in-depth explanation of
keybindings can be found at openbox.org.
Keybinds can be added to the configuration file using the following syntax:
<keybind key="my-key-combination">
<action name="my-action">
...
</action>
</keybind>
The action name for running an external command is Execute. Use the following syntax to define an external command to execute:
<action name="Execute">
<command>my-command</command>
</action>
See the Openbox wiki for a list of all available actions.
Tip: The obkeyAUR utility provides a
graphical interface for configuring key bindings. Before using obkey, you should use obconf to create ~/.
config
/
openbox
/
rc
.
xml
.
While the use of standard alpha-numeric keys for keybindings
is self-explanatory, special names are assigned
to other types of keys, such as modifiers
, multimedia
and navigation
.