What started as a mini series on the Xfce Desktop Environment on my university intranet has evolved into an open ended exploration on my public blog, and I’m having lots of fun doing it! Scroll down to the end of this post to view links to the previous posts in the series.

<!– Xfce is a fantastic desktop environment to use on Linux, BSD and other Unix-like operating systems because it provides an attractive, fast, cohesive experience that's a pleasure to use, while being much more lightweight than the de-facto standard GNOME and KDE desktops. –>Part of the Xfce desktop environment is Xfwm, the Xfce window manager. Xfwm provides sophisticated and pretty composting effects such as drop shadows and alpha transparency on windows and menus, while still using less memory and power than competing desktop window managers. Despite this, for much slower machines even Xfwm can be overkill.

ASIDE: "Window managers" draw the widgets, title bars, resize handles and other elements onto application windows. "Desktop environments" such as KDE, GNOME and Xfce bundle their own window managers along with software developed specifically for their environments, such as Thunar for Xfce.

Enter Openbox, again! Openbox is an extensible, standards compliant, very minimalistic window manager that can be used by itself or in place of a desktop environment's default window manager to further reduce memory and processor resources. The separate obconf utility provides a nice graphical control panel you can use to switch themes and adjust settings.

The Obconf window and Xfce Settings menu entry
Openbox running in Xfce with the bundled "Mikachu" theme

Most reputable package managers carry both Openbox and obconf, check your distribution's repositories. To install them on FreeBSD ports:

# cd /usr/ports/x11-wm/openbox # make install clean
# cd /usr/ports/x11-wm/obconf
# make install clean

Or from FreeBSD packages:

# pkg_add -rv openbox# pkg_add -rv obconf

Or NetBSD’s pkgsrc:

# cd /usr/pkgsrc/wm/openbox
# make install clean clean-depends
# cd /usr/pkgsrc/wm/obconf
# make install clean clean-depends

Now we want to kill the active Xfwm process in Xfce and open our glorious Openbox replacement. Fire up your Terminal and enter:

% killall xfwm4 ; openbox & exit

It really is smaller in every sense of the word isn't it? To make sure Openbox is used by default whenever you start Xfce, quit Xfce and check "Save sessions for future login".

The Obconf window and Xfce Settings menu entry
Don't worry, CC looks pretty confused herself!

You'll also notice that the "Openbox Configuration Manager" has added itself to the Xfce Settings menu! Click on it and have fun with all the different themes, button positions, font sizes and arrangement settings.

Related posts