Openbox

Openbox is Article description::a highly configurable, next generation, stacking [[window manager for X11 with extensive standards support.]] It was originally forked from Blackbox. It is used by the LXDE as its default window manager and KDE can also use Openbox as its window manager instead of its default window manager, KWin.

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 directory 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 command.

To use 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 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:

menu.xml
The file contains information for the right-click menus in Openbox. By default the right click menu is predefined with some common applications, so unless the applications are installed on the system most of the default links on the menu will not be operational.

openbox-menu
An application called can be used to dynamically generate new Openbox right click menus based off information defined in the  directory.

Install :

After the menu generator has been installed, run the following command to create a new menu for the present user:

obmenu-generator
Another excellent choice for generating an Openbox right-click menu is . It can generate either static or dynamic (pipe) menus based on a user-modifiable schema and the .desktop files installed by most applications. It supports themed icons and arbitrarily nested submenus.

http://trizenx.blogspot.co.uk/2012/02/obmenu-generator.html

https://github.com/trizen/obmenu-generator

Install :

To generate a static menu with icons:

To generate a pipe menu with icons:

Add '-c' to automatically reconfigure a running instance of opoenbox:

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 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:

External resources

 * https://wiki.archlinux.org/index.php/Openbox