Note: Local configuration files will always override global equivalents.
Four key files form the basis of
the openbox
configuration, each serving a unique role. They are: rc.xml, menu.xml, autostart, and environment. Although these files are
discussed in more detail below, to start configuring Openbox, it will first be necessary to create a local Openbox
profile (i.e for your specific user
account) based on them. This can be done by copying
them from the global /etc/xdg/openbox profile (applicable to any and all users) as a template:
$ mkdir -p ~/.config/openbox
$ cp -a /etc/xdg/openbox/ ~/.config/
rc.xml
Tip: Custom
keyboard shortcuts (keybindings) must be added to the <keyboard> section of this file, and underneath the <!--
Keybindings for running aplications --> heading.
~/.config/openbox/rc.xml is the main configuration file, responsible for determining
the behaviour and settings of the overall session, including:
Keyboard shortcuts (e.g. starting applications; controlling the volume)