Openbox

Openbox is a highly configurable, next generation window manager with extensive standards support. is actively maintained on Gentoo and you can install is as usual using:

Configuration
There are four files to consider when configuring openbox.
 * autostart
 * environment
 * menu.xml
 * rc.xml

Openbox installs these files to /etc/xdg/openbox/. If you want to override them, create your own in ~/.config/openbox/.

autostart
The autostart file is the ideal way to execute specific commands and programs when Openbox starts. It makes no difference if you start Openbox using startx or any display manager. Here is an example

environment
This is the ideal place to export global variables and configure your openbox environment as appropriate

rc.xml
rc.xml is used to specify keybindings and mousebindings. It is located in /etc/xdg/openbox or ~/.config/openbox.

The following are the modifiers.

To make a keybinding, you can combine modifiers and a key. They are separated with the '-' sign.

Examples:

If you want to open xterm with super-t, you should add the following to the rc.xml

You can also bind menus. For example, you can bind openbox right click and middle click menu with the following

In the above example, the right click menu is bound with Super-x, and the middle click menu is bound with Super-z. It is useful especially if you prefer not to use any panel with openbox.

TODO

Icons in openbox menu
Since version 3.5.0 you can have icons next to your menu entries. For this:

1) You must emerge openbox with imlib support. Add USE flag "imlib" for x11-wm/openbox into you /etc/portage/package.use like this: "x11-wm/openbox imlib" and run "#emerge x11-wm/openbox"

2) Add yes in the section of the rc.xml file

3) Add in menu.xml icon=" " like this: 			 xterm