Openbox

Openbox is a highly configurable, next generation window manager with extensive standards support.

Emerge
Emerge Openbox:

Configuration
There are four important files to consider when configuring Openbox:



Openbox installs these files to To have Openbox use custom configurations for each user, copy the four configuration files above to the home directly of each user, then modify each according to the users' needs.

For example:

Then use a text editor of choice to start making changes:

Starting
To start Openbox it is possible to use a display manager or the startx command.

To use startx with ConsoleKit support, setup ConsoleKit and create the following file:

Autostart
The script is the ideal way to execute specific commands and programs when Openbox starts. It makes no difference if Openbox is started using the startx command or a display manager, will be executed either way.

The following is an example of some of the things that could be done in an file.

Environment
Using the file is the ideal place to export global variables and configure the Openbox environment:

rc.xml
The file is used to specify keyboard and mouse bindings.

The following is a list of special key 'modifiers':

To make a key binding, combine modifiers and a key. They are separated with the  (dash) sign.

Key binding examples
To open a xterm window with Super+, add the following to the :

Keybinding a menu is also possible. For example, bind Openbox's right click and middle click menus with the following statement:

In the above example, the right click menu is bound to a Super+ key press combination, and the middle click menu is bound to Super+ key press combo. It is useful to key bind applications especially when a user prefers to not use a panel program with Openbox.

Icons in the Openbox Menu
Since version 3.5.0, Openbox is able to have icons next to menu entries.


 * 1) To emerge Openbox with imlib support add   USE flag to x11-wm/openbox in
 * 2) Re-emerge Openbox so that support for the   USE flag is considered:
 * 3) Add a yes line to the section of the  file.
 * 4) Add in menu.xml icon=" " like this: