The Blackbox Window Manager

The Blackbox window manager presents a minimalist desktop containing only a toolbar and a right-click menu.

Reasons you may want to use Blackbox:

Reasons you might not want to use Blackbox:

Installing Blackbox

Blackbox can be obtained either through your package manager, or from http://blackboxwm.sourceforge.net.

A typical blackbox installation consists of the following:

I would also recommend looking at bbkeys. Blackbox doesn't include native keybinding support, bbkeys adds this and a small icon in the bottom corner of the screen. This is a useful thing. No, really. I will cover setup of this later.

Configuring Blackbox

Blackbox stores its configuration in a $HOME/.blackboxrc file. Tools such as bbconf exist to fiddle with this, but a text editor will do.

Contrary to most other WM's, the most reliable way to configure Blackbox is outside of it. Blackbox has the strange habit of holding its config in memory, then saving it to disk on exit. Should you have modified said config in-session, well, you get the picture. You can:

I have attached here a sample config. You may wish to copy that to your home directory and alter it for your needs. .blackboxrc

.blackboxrc

Each line is of the form "tag: value". Most of the settings in the example can be reasonably left alone. Some can be reliably edited within Blackbox. Important ones to fiddle with, however, are:

.blackboxmenu

I have attached a sample file. .blackboxmenu

Using Blackbox

Launching Applications

Right-click anywhere on the desktop to be given the menu you defined in .blackboxmenu. If you don't have a .blackboxmenu, you will get a default one consisting of xterm, Restart and Exit.

Changing Your Theme

From the right-click application menu, providing you have defined a [configure] submenu, there should be a themes menu containing a list of those installed in /usr/share. Clicking on one will immediately change, and whichever one is applied on exit will be saved to .blackboxrc.

Window Management

Keybinding

Keybindings are acheived using bbkeys (http://bbkeys.sourceforge.net"). This should be started in .xsession (or whatever startup file is used on your system). I use bbkeys -i &, but others include:

As you can tell, these are purely aesthetic. Read bbkeys --help for more.

When bbkeys is running, clicking on the keyhole will open an xterm configuration tool. Follow the prompts to set bindings, which fall into the categories of shell commands (ExecCommand) and internal Blackbox stuff. Note that "Mod1" means the "Alt" key. Experiment with some of the bindings, but important ones are:

Remember to save before quitting the tool.

Hints and Tips

Links


Richard Oakham - 05 Mar 2004 CategoryWindowManager

Wuglug Wiki: Blackbox (last edited 2007-04-24 23:37:05 by customer1844)