Revamp your old Linux desktop with Joe's Window Manager | Opensource.com

Revamp your old Linux desktop with Joe's Window Manager

This article is part of a special series of 24 days of Linux desktops. JWM's meager weight and simplicity makes it a great window manager for slow or old Linux computers.

and old computer and a new computer, representing migration to new software or hardware
Image by : 
Opensource.com
x

Subscribe now

Get the highlights in your inbox every week.

Joe's Window Manager (JWM for short) is a lightweight window manager for X11. It's written in C, minimally using Xlib. Because it's so small and simple, JWM makes a great window manager for slow or old computers. The Raspberry Pi barely registers that JWM is running, leaving precious system resources for more important tasks than the desktop.

JWM follows in the footsteps of environments like FVWM, Window Maker, and Fluxbox. It provides an application menu, window decoration, and a panel with an application menu, taskbar, and clock.

Install JWM from your distribution's software repository. After installing it, log out of your current desktop session so you can log into JWM. By default, your session manager (KDM, GDM, LightDM, or XDM, depending on your setup) will continue to log you into your previous desktop, so you must override that before logging in.

To select a new desktop with GDM:

With SDDM:

The first time you log into JWM, you may find a black screen with a panel at the bottom. It's normal on most distributions to let you choose the wallpaper for this minimal desktop. You can set a wallpaper with the feh command (you may need to install it from your repository). This command has a few options for setting the background, including --bg-fill to fill the screen with your wallpaper of choice, --bg-scale to scale it to fit, and so on.

$ feh --bg-fill ~/Pictures/wallpapers/mybackground.jpg

Application menu

There are two locations for the application menus in JWM: it appears at your mouse cursor when you left-click on the desktop, and it is also available by clicking the JWM logo in the lower-left corner.

There aren't any applications bundled with JWM, so it's up to you to decide what applications to use. You can get applications from any desktop, like GNOME or KDE, or you can use independent applications. Most of the integration between applications is done by D-Bus and other backend technology on Linux, so it's safe to mix and match them. I use PCManFM-Qt as a file manager, unicode-rxvt as a terminal, and, of course, Firefox as an internet browser.

Configuration

Two configuration files govern JWM. The system-wide configuration file is /etc/jwm/system.jwmrc, and the user local file is $HOME/.jwmrc. Configuration files are written in XML, but the schema is very basic and easy to reverse-engineer, whether you know XML or not. Configuration options are well-documented on Joewing.net, home of the JWM project.

Why you should use JWM

There's no shortage of lightweight window managers available for Linux, and you might wonder why there seems to be so much redundancy, much less why you should try Joe's. There are a few reasons JWM is as important as any of the others. When looking at software projects, redundancy is a good thing. Should one project's implementation of a desktop paradigm fade, you have many others to choose from. And often, the strengths of each project are in the minor details. For example, the quick and easy setup of a taskbar and application menu makes for a quick, sensible default configuration for all the users who want that common setup. For technical users, the XML configuration may be a refreshing change from the custom configuration formats in other environments.

Joe's Window Manager, in a way, demonstrates the rich diversity of open source and how it's a luxury Linux users enjoy. If you're interested in JWM, try it out today, and see if you can make your own window manager, too.

Coding on a computer

This article is part of a special series of 24 days of Linux desktops. If you're looking for a lightweight, fast, and simple Linux window manager, FVWM qualifies. But if you're looking for something to dig into, explore, and hack, then FVWM is a must.
Penguin with green background

This article is part of a special series of 24 days of Linux desktops. Take a step back in time with Window Maker, which implements the old Unix NeXTSTEP environment for today's users.
Text editor on a browser, in blue

This article is part of a special series of 24 days of Linux desktops. Fluxbox is very light on system resources, yet it has vital Linux desktop features to make your user experience easy, blazingly efficient, and unduly fast.

Topics

About the author

Seth Kenlon
Seth Kenlon - Seth Kenlon is an independent multimedia artist, free culture advocate, and UNIX geek. He has worked in the film and computing industry, often at the same time. He is one of the maintainers of the Slackware-based multimedia production project, http://slackermedia.info