5 of the best lightweight window managers for Linux

3rd Jul 2011 | 07:00

5 of the best lightweight window managers for Linux

Lightweight alternatives to the command line

Lightweight window managers for Linux

If you do a lot of work on a Linux computer, continuously switching between many windows, the right window manager can make you much faster and more productive than an extra 2GB of RAM.

In this context, 'right' means any combination of two different qualities: raw speed and correspondence with your actual needs, habits and personality. If you need to make the most of an obsolete PC, you'll probably want something slimmer and nimbler than either Gnome or KDE.

In other cases, what saves you more time is whatever does by default, with one click or keystroke, what you want to do most often. Be it vertical maximization, iconization or jumping around virtual desktops. The possibility to use the mouse as little as possible is another big productivity boost.

Whatever your needs, Linux has more than Gnome or KDE. This month we present five alternative window managers that were chosen with these criteria: first, they had to be lightweight, in order to be usable on low-end computers. Next, they had to be installable with normal package managers, so that you can try them quickly if you run the most common distros.

Finally, we gave precedence to lesser known window managers, rather than those normally pre-installed by those same distributions. That's the only reason why excellent products like Xfce aren't present: you've probably already got it in your login menu.

How we tested...

The programs have all been tested on a dual core AMD 64 3800+ system with 8GB of RAM, running Fedora 14 with all the updates available as of April 2011. We've looked at how easy it is to install and configure each window manager, how many options it has and how much its look and feel can be modified by the user. We've also looked at how well they work with the most essential applications you're likely to use.

Enlightenment DR 16 (E16)

The Enlightenment DR16 Window Manager, or E16 for short, was born in 1997, when most inhabitants of Linux-land were fiercely debating the One True Desktop Way, Gnome or KDE.

In the middle of all that, Enlightenment arrived and showed a different and, for many, much more visually pleasing way to handle a desktop. Today, the E16 version of Enlightenment is still, as its home page says, "graphically stimulating". E16

E16 is the only window manager in this roundup that is able to maximize windows vertically or horizontally, when you click with your left or middle mouse buttons on the middle icon in the window's title bar. The first feature (present in many other window managers) lets you read as many lines of text as possible without scrolling. The second is great for typing very long lines in terminals or editors without wrapping them around or losing sight of other windows.

You can customise every single detail of how E16 looks, feels and behaves. Doing so is what makes it so fun and quick to use, so be prepared to spend some time on it. The configuration panels have so many options, it takes half a day to look at them all. E16 also has shelves, or boxes that work more or less like Gnome panels.

The main, if not only, problem we've found in E16 is that its default application menu is a mess. Instead of first level sub-menus such as Games, Internet, Office and so on, you get KDE, Gnome, and Others, each with its own Games, Office, etc... sections. So a novice should first know if he or she wants to go Gnome or KDE and only then tell the computer if it's time to work, surf the internet or play.

On top of that, probably due at least in part to packaging bugs in Fedora 14, a lot of entries are repeated with the same or different names. Firefox, for example, is present both as Firefox and Firefox Web Browser.

Finally, as weird as it may seem, you cannot change E16 menus without editing the text files in $HOME/.e16/menus/. Luckily, they have a very simple syntax. If you do that or install epplets (more on them later), remember to select Maintenance > Regenerate Menus from the System menu.

In the same place you can also clear the many caches that E16 uses to work faster.

Looks matter

E16 2

E16's default theme has very tiny window borders but you can change its look in lots of ways. By default, you have two virtual desktops. Each is twice as wide as your monitor, but it could be as much as 64 times bigger. Pushing the mouse cursor on the edge of your screen moves you to the other half of the current virtual desktop. This takes a while to get used to, but many users like it (eventually).

The top bar of each workspace has two tiny triangles at its edges that open the system menu and windows lists. In the right bottom corner of the screen lives an iconbox, a sort of panel with a slider that holds all your icons without cluttering the screen. You can even use more iconboxes simultaneously.

Each window is configurable individually and you can tell it to remember its settings. Different move and resize effects exist and visual tooltips pop up so learning E16 by doing is easy. Nearly everything can be done with the keyboard.

E16 can be launched alone or inside KDE or Gnome, replacing their default window manager. We strongly suggest you do the former. At least in Fedora, E16 alone starts, and runs single programs, faster.

Above all, E16 + KDE looks like two screenshots pasted over each other, fighting over who should be on top. Gnome + E16 isn't much better.

It is possible to write small, graphical add-ons for E16, such as clocks or mailbox and system monitors, called epplets. Those installable as binary packages in Fedora frankly failed to impress: a system monitor such as Gkrellm does the same things better and looks much cooler too.

Verdict

Enlightenment
Version: DR16 1.0.7
Web:www.enlightenment.org
Price: Free under GPL

E16 is wildly configurable, fast and fun but maybe a little erratic.

Rating: 8/10

Openbox

Back in the 90s, if you wanted a lean and mean but flexible window manager, that was able to do what you wanted with minimal eye candy and few distractions, but that didn't look like some GUI experiment from a decade earlier, sooner or later you'd try Blackbox.

Over time, that application has spawned several variants, recognisable by the 'box' suffix. Today, Openbox is the window manager of that family that you are most likely to find pre-packaged for your distribution. That's why it's here. Keep in mind, however, that most of what you read in this page also applies to Openbox's relatives.

Openbox

If you aren't prepared, the first time you start Openbox you'll find yourself nervously wondering whether your graphics card passed out. A basic design idea of the *box window managers is that it's not just panels that are unnecessary; you don't really need icons either. By default it's a dull, dark grey background and nothing else.

Don't despair, though, everything is here and the wiki on the Openbox website lists plenty of options to add panels. System menus are accessible with the right mouse button. Menus are almost the same as Gnome's, with one notable addition: Openbox knows its users aren't afraid of the command line, so it has a whole Terminals sub menu. This will give you immediate access to Konsole, Gnome Terminal, Emacs terminal or the old, but immortal Xterm.

Speaking of sub-menus, one little but really neat feature of Openbox is that it makes it really easy to create dynamic ones. Quoting from the Openbox wiki: "Pipe menus are dynamic menus, built on-the-fly from scripts. The output is piped back to Openbox and used for the menu".

For example, let's say that you already have a shell script that downloads RSS feeds, stock tickers or whatever you want from the internet. If you tell that shell script to save titles and URLs of all those feeds in one plain text file with a simple markup, you'll have created a 'News' Openbox sub-menu that lists the most recent news every time you select it, and opens in your favourite browser the ones you click on.

Virtual desktops

Openbox

The not-so-complicated instructions to create your own pipe menu scripts, including links to existing ones, can be found at http://openbox.org/wiki/Openbox:Pipemenus.

Openbox also supports virtual desktops. To move from one to another without using the mouse, press Window Key+D.

As we said, Openbox doesn't use icons. When you minimise a window, it just disappears from the screen. You can reopen it in the same root menu used to switch between virtual desktops, that is also accessible by pressing the middle mouse button.

If you aren't comfortable with this system, but want the minimised windows to remain visible on the screen anyway, Openbox (E16 and Window Maker can do it too) offers an alternative to icons. You can 'roll up' windows, as if they were drapes, inside their top/title bar and only leave that visible on the desktop.

In order to save space, Openbox doesn't draw side or bottom borders. For the same reason, even the title bar is optional. If you right click on it and select Un/Decorate, it will become one pixel wide just like the other sides of that window. To get it back, go to the very border of the window itself until you see a small segment close to the pointer, then click with the right button.

All in all, even if it does look really bare, Openbox has almost everything you'd expect from a modern window manager. What isn't there can be added, with minimum effort, by following the good documentation on the website.

Probably the only major function that you'll have to add manually is session management (if you use Openbox without Gnome or KDE, otherwise it will integrate with their session managers) and there are step-by-step instructions on the Autostart and Getting Started pages of the Openbox wiki.

Verdict

Openbox
Version: 3.4.11.2
Web:http://openbox.org
Price: Free under GPL Fast, essential without being ugly, and easily extensible.

Rating: 9/10

Window Maker

Another veteran window manager that has been around since the 90s, Window Maker has a very characteristic look and personality. After you've used it for a few minutes, you'll probably recognise any screenshot of it immediately, no matter how heavily it has been customised, due to the two pillars of its interface: the Dock and the Clip.

The Dock is a sort of panel from which you can launch your favourite applications by double-clicking on their icons. You can add more applications simply by dragging their icons over it. And dragging icons out to the root window is all you need to do to remove stuff.

Window maker

Drag and drop

A lot of configuration in Window Maker is done by dragging and dropping. The main limit of the Dock, at least for some users, is that its layout is fixed: you can put it on the upper or lower left of the screen, but it will always be a vertical single column.

The top left corner of your monitor is the default location for Window Maker's second distinctive feature: the Clip. This widget, unlike its Microsoft equivalent, does have a reason to exist.

The Clip can be placed wherever you want and besides switching from one virtual desktop to another, it also works as a temporary container for the icons of all the applications running in the current workspace - which is why some Window Maker users call the Clip a Dock enhancer. You can also drag an application icon away from the Clip and drop it on to the Dock if you decide you'll need it in all of your future Window Maker sessions.

You start applications in Window Maker by clicking on the corresponding entry in the root system menu. Unlike Openbox, Window Maker only offers Xterm as a default terminal but the root menu includes a Run widget in which you can type whatever command you need.

To declutter the screen, you can configure the Clip to AutoAttract the icons of all active programs that aren't in the Dock. Otherwise icons of open applications will be placed in the lower left of the screen and you can choose to make them appear on all workspaces. Wherever the icon is, clicking on it with the right mouse button lets you change settings, configure startup options and choose if you want it to start automatically every time you log into Window Maker.

The screwdriver icon in the Dock launches the Window Maker graphical configuration editor, a program called Wprefs. You can also start it from the root menu, where it is listed, oddly, as Preferences Utility at the bottom of the Appearance section.

You can do all sort of things in Wprefs, including changing the default icons. Remember, however, that if you do that, you must first tell Wprefs to change the Icon Search Path.

If you're unhappy with how you have configured the desktop, you can reset it to Window Maker's default values; but if you like it, you can save it for future logins.

One thing that causes confusion among first time users is how to launch the same program more than once from the same icon. The solution is simple but long-winded, so look for it before you start experimenting in the official FAQ, which can be found with the user guide and some useful tutorials on the website.

Graphical widgets

Window maker

What's left to say? Oh yes, of course: dockapps, are little graphical widgets designed for Window Maker (but also usable in other window managers) that do the most diverse things. You can find lots of them at www.dockapps.org, from temperature indicator Dwgo (Don't Want to Go Outside) to Wmtext, which displays the output of a shell command with the font and background of your choice.

Summing up, Window Maker starts up fast, stays fast, is easy to use and has a nice retro look. On the down side, it didn't read the Gnome and KDE menus and windows are hard to resize.

Verdict

Window Maker
Version: 0.92.0
Web:http://windowmaker.org
Price: Free under GPL

Fast, full-featured and good looking, but less integrated with modern apps.

Rating: 7/10

Fvwm and RatPoison

Fvwm

Fvwm is probably the most ancient window manager here, but it still has a reason to exist and is very usable on current GNU/Linux distributions.

Don't be put off by its pre-Windows 95 look. Fvwm has a rich start menu, and its utilities have the same structure as Gnome's application menus.

Fvwm

The most important parts of Fvwm , however, are modules. The right combination of modules will replicate almost all the real functionalities of more modern window managers, if not the eye candy. Some modules are shown in the screenshot, but there are more. Banner, Console, Pager, ScrollBar and WinList - which creates a row of currently active application icons at the bottom of the screen - are the most useful.

There are also four default virtual desktops. Of course, all of this becomes available only when everything is configured. In this sense, Fvwm remembers Openbox.

The first time you log in you'll see the default desktop background and nothing else. But after configuration, Fvwm will look much richer and much less intimidating. Click to open the Minimalistic Root menu. Select Setup 95 Script > FvwmForm-Setup, which is the graphical interface you need to use at least once in order to create the configuration file ($HOME/.fvwmrc2) that Fvwm will need in all its future sessions.

In FvwmForm-Setup you can and should select which modules and respective configuration files you want to activate. Select all of them and press F3 to restart the window manager. The overall memory consumption of Fvwm remains low enough - even with all options activated - that it won't make a difference except on very limited computers.

The Fvwm task bar is normally only a few pixels high - an almost invisible stripe that will expand when you push the cursor to the bottom edge of your screen - and you can access it even when it is in 'stripe' mode.

Verdict

Fvwm
Version: 2.5.30
Web:www.fvwm.org
Price: Free under GPL

There's lots here... it's just hard to remember it if you look at its themes.

Rating: 6/10

Ratpoison

Of all the applications in this roundup, Ratpoison is the one that will look and feel most alien to Linux users who have never gone beyond Gnome or KDE.

Ratpoison isn't just lightweight, it's different. In fact, it is very lightweight because it is very different. Inspired by Gnu Screen, its official design criteria was to be the ultimate keyboard-based window manager and to never waste any screen space.

Ratpoison

Basically, Ratpoison has nothing to make a screenshot of: no panel, no icons, no Dock, nothing. The screenshot you see here just proves that Ratpoison can run more than one modern, GUI-based application simultaneously.

By default, Ratpoison displays one program at a time, full screen, without window borders, bars or anything of the sort. That's very efficient, but what if you want, as in the picture, to look at two or more windows together? No problem. Ratpoison will split the screen in non-overlapping frames that fill all the space. Each frame holds one application, maximised as we already explained.

Oh, and it also has multiple workspaces and session management support. All interaction with Ratpoison happens through keystrokes. This, plus working full-screen without decorations, clocks, email alerts and other widgets, makes working in Ratpoison so fast, immersive and efficient that it may become addictive - if you survive the initial cultural shock, that is.

You can download a decent configuration script at http://danielwebb.us/software/ratpoison/. Ratpoison is so different, however, that we suggest you try that script only if you like this program anyway, in the default configuration discussed here. Of course, don't even try to start testing Ratpoison without reading the tutorial on its website. You risk losing your mind staring at a blank screen.

Verdict

Ratpoison
Version: 1.4.5
Web:www.nongnu.org/ratpoison/
Price: Free under GPL

Ratpoison is proud to have nothing to show off about.

Rating: 6/10

The best lightweight windows manager for Linux is...

Apart from personal taste, the three most important factors when choosing a window manager are its memory requirement, one-click or one-keystroke support for your most frequent actions and which applications you use most often.

The last point means that you shouldn't expect to see huge differences in overall performance if you use a light window manager to run only, or almost only, KDE or Gnome applications that load lots of libraries in RAM anyway. The programs presented here are all fast enough to make the user the real bottleneck.

Winner

Window Maker was the slowest, but we noticed it only because we were specifically paying attention to things like that. Ratpoison is terribly efficient - if you can stand the learning curve - so we do recommend you give it a try. It may even be the best solution if you just do everything in the cloud.

If you spend all your time in a browser because Gmail, Flickr, Dropbox, Google Docs and similar services do everything you need, does it make sense to run a heavier window manager just to keep open Chrome or Firefox? Ratpoison might also be interesting to use to set up an internet kiosk.

No surprises

Fvwm is a very fast application, that has and does all you really need in a more or less intuitive way, without surprises or attempts at special effects. However, it looks the oldest, and is less extensible than its competitors.

E16 and Openbox are both really great products. The first is much more fun, as long as you take the time to configure everything. Do seriously play with it, at least once.

Openbox, instead, is all business. The fact that there is much less to configure is what makes it very efficient. You install it, choose a theme, memorise four or five mouse and keyboard actions and off you go. Pipe menus make it as extensible as your scripting skills allow, through a very simple mechanism.

Finally, Openbox has good support for all the relevant standards that guarantee good cohabitation with Gnome, KDE or any single application originally developed for those desktop environments.

That's why we declare Openbox the winner, with E16 a very, very close second.

1st: Openbox: 5/5
2nd: Enlightenment: 4/5
3rd: Window Maker: 3/5
4th: FVWM: 3/5

------------------------------------------------------------------------------------------------------

First published in Linux Format Issue 146

Liked this? Then check out 10 best Linux distros for 2011

Sign up for TechRadar's free Week in Tech newsletter
Get the oddest tech stories of the week, plus the most popular news and reviews delivered straight to your inbox. Sign up at http://www.techradar.com/register

Follow TechRadar on Twitter * Find us on Facebook

Linux Gnome KDE TRBC
Share this Article
Google+

Apps you might like:

Most Popular

Edition: UK
TopView classic version