This article was originally posted on the author’s blog - FreeBSD Desktop — Part 4 - Key Components - Window Manager - because of the wider layout on the author’s blog you may find better reading experience there.
In the next parts of the FreeBSD Desktop series I would like to describe key components of self made custom desktop environment such as:
- Window Manager
- Status Bar
- Task Bar
- Wallpaper Handling
- Application Launcher
- Keyboard/Mouse Shortcuts
- Locking Solution
- Blue Light Spectrum Suppress
- Other
To not make the posts huge today’s article would focus on the first component — the Window Manager. In the next series each of these components configuration would also be described along with eventual needed scripts.
Window Manager
We will use Openbox, it was already installed in previous part of the series. Why Openbox and not something else? I do not have any exact answer that will make you feel that its the best possible choice. The arguments for it are:
It has good official documentation.
Lots of online materials/howtos/blogs about it.
Used as Window Manager in many Desktop Environments.
Very fast and very low on resources (written in C language).
Can support tiling with external utilities like tile.sh or pytyle.
- Fully compliant with EWMH (Extended Window Manager Hints) Standard.
- Fully compliant with ICCCM (Inter-Client Communication Conventions Manual) Standard.
- Allows generating dynamic menus with scripts.
- Chosen as Window Manager of the Year by LinuxQuestions.org Members Choice Awards.
- In 2015 with 23.98% of all votes.
- In 2016 with 24.04% of all votes.
- In 2017 with 24.22% of all votes.
- Can look really awesome, several examples below.
The Axonkolorish Openbox theme.
The Mint Openbox theme.
The TWM Openbox theme.
The Violetgrey Openbox theme.
You may also want to check other categories of the LinuxQuestions.org Members Choice Awards from the last 3 years. You may find solutions and applications that You never knew existed.
- LinuxQuestions.org Members Choice Awards 2015
- LinuxQuestions.org Members Choice Awards 2016
- LinuxQuestions.org Members Choice Awards 2017
Resources
The Openbox memory usage on my system is about 25 MB of RAM. The total CPU usage is also very low as these 45 seconds are from more then one day of using system along with suspend/resume usage.
PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND
50467 vermaden 1 20 0 37724K 26116K select 0 0:45 0.00% openbox
Configuration
I will not describe here all possible Openbox configuration options, the future series would contain setup that seems to work best for daily use (at least for me). If You would like to increase your knowledge about Openbox then check the official documentation and other online resources such as these:
- Openbox Documentation
- Openbox FAQ
- Urukrama Openbox Guide
- Urukrama Openbox FAQ
- WIKI Gentoo Linux Openbox Guide
- WIKI Arch Linux Openbox Guide
- WIKI Debian Linux Openbox Guide
- WIKI Ubuntu Linux Openbox Guide
- HOWTO Minimal FreeBSD Desktop
- HOWTO Building Custom Linux Environment With Openbox
If somehow you will not find Openbox usable then You can try Fluxbox or PekWM. I have used Fluxbox for years and it also served very well all that time.