Openbox complies with both the Inter-Client Communication Conventions Manual (ICCCM) and the Extended Window Manager Hints (EWMH). Originally derived from Blackbox, Openbox version 3 was completely rewritten in C. Among its fancy features, it supports chainable key bindings, customizable mouse actions, and multi-head Xinerama.
Unlike GNOME or KDE, Openbox as a window manager is a drawing board; you have to add your own desktop icons and panels. It's not as difficult as it sounds, and it gives you the freedom to design your own desktop.
Installing and configuring
Compiling Openbox from source is simple, and RPM and .deb binaries are also available. For instance, under Ubuntu, if you have the Universe repository, the command apt-get install openbox obconf openbox-themes will get you Openbox, its configuration editor, and some themes.
Openbox can be used as a replacement to GNOME's and KDE's window managers or as a standalone GUI. If you are running GNOME, openbox --replace will replace Metacity. If you save the session on exit, Openbox will become your default window manager. KDE users who want to replace KWin need to set up an environment variable by adding the line export KDEWM=openbox in .xsession or .xinitrc.
Openbox has two configuration files: menu.xml and rc.xml. Their user-specific versions are found under $HOME/.config/openbox/. System-wide files are under /etc/xdg/openbox if Openbox was installed from a distribution package, or under /usr/local/etc/xdg/openbox if compiled without the --sysconfdir switch. Openbox looks for files in the home directory first. If you want to change the appearance, behavior, and dock preferences of Openbox, you can use ObConf or edit the configuration files in a text editor.
|
|
| Click to enlarge |
Running standalone
Although some users prefer running Openbox on top of GNOME or KDE, others extend it with additional small programs that add icons, taskbars, launchers, or other eye candy. I installed PerlPanel, a lightweight panel that supports applets and works well with Openbox, along with the ROX-Filer file manager. If you prefer a more Mac-like experience, try Kooldock for a Mac OS X-like dock or iDesk to get cool desktop icons.
To generate menu entries for Openbox, try MenuMaker, which you can use without installing by running the command:
mmaker OpenBox3
This creates menu.xml under ~/.config/openbox. Edit it as per your needs. It looks like:
<?xml version="1.0" encoding="UTF-8"?>
<openbox_menu>
<menu id="root-menu" label="OpenBox 3">
<menu id="2" label="Editors">
<item label="OpenOffice.org 2.0 Writer"> <action name="Execute">
<execute>openoffice.org-2.0 -writer</execute>
</action> </item>
<item label="Text Editor"> <action name="Execute">
<execute>gedit</execute>
</action> </item>
<item label="Vim"> <action name="Execute">
<execute>xterm -e vim</execute>
</action> </item>
</menu>
<menu id="18" label="Games">
<menu id="10" label="Arcade">
<item label="Frozen-Bubble"> <action name="Execute">
<execute>frozen-bubble</execute>
</action> </item>
</menu>
<menu id="11" label="Board">
<item label="3D Chess"> <action name="Execute">
<execute>3Dc</execute>
</action> </item>
<item label="Shisen-Sho"> <action name="Execute">
<execute>kshisen</execute>
</action> </item>
</menu>
</menu>
.
.
.
.
.
</openbox_menu>
To make programs and scripts run at startup, you must place them in your ~/.xsessions file. If it doesn't exist, create it by copying the lines below and saving it as .xsessions. If you use startx to boot into a GUI, edit ~/.xinitrc to place the following lines in it:
# Startup stuff for X # Start the panel perlpanel & # Start the file manager rox-filer & # If you'd like Rox-Filer to display icons on your desktop rox-filer --pinboard=PIN & # Put the background image using ImageMagick display -dispose Background -window root /home/user/desktop.jpg # Start the volume manager to automount external volumes gnome-volume-manager & # Start the screensaver xscreensaver -no-splash & # Start Openbox exec openbox
Next time you log in, select the Default or Custom option from your display manager to log in to your shiny new desktop.
Conclusion
Openbox is a super-fast standards-compliant window manager with a small memory footprint, which saves valuable amounts of RAM for more useful tasks, especially on low-end or dated systems. It is easy to use and extend, even for a new user.
Note: Comments are owned by the poster. We are not responsible for their content.
The *box (Open-, Flux-, Black-, etc.) window managers are great for lower-spec PCs or even for more powerful PCs with their flexibility. Even FVWM can be used (though my experience with FVWM is minimal) for lightweight and flexibility.
One feature I found with the Fluxbox window manager and the XFCE desktop environment is the access of the Main Menu at the right-click of the mouse (and window list with the center).
Combined with binding it to the extra keys on the keyboard (Microsoft Start, and Menu keys) and you can conceivably remove all of the panels and leave your desktop very clean. I imagine this could be useful on a laptop where screen space is a premium. I did this in XFCE and I love that feature.
I've heard that KDE has been addressing the memory-load issue and has gotten better. I've noticed some improvements but I don't know if it is attibuted to KDE or some of the other things I was doing at the same time. The first time I went from 3.2 to 3.3 I noticed an improvement and again going from 3.3 to 3.4
What about XFCE?
Posted by: Anonymous Coward on February 02, 2006 11:10 PM#