Why you can trust ZDNET : ZDNET independently tests and researches products to bring you our best recommendations and advice. When you buy through our links, we may earn a commission. Our process

'ZDNET Recommends': What exactly does it mean?

ZDNET's recommendations are based on many hours of testing, research, and comparison shopping. We gather data from the best available sources, including vendor and retailer listings as well as other relevant and independent reviews sites. And we pore over customer reviews to find out what matters to real people who already own and use the products and services we’re assessing.

When you click through from our site to a retailer and buy a product or service, we may earn affiliate commissions. This helps support our work, but does not affect what we cover or how, and it does not affect the price you pay. Neither ZDNET nor the author are compensated for these independent reviews. Indeed, we follow strict guidelines that ensure our editorial content is never influenced by advertisers.

ZDNET's editorial team writes on behalf of you, our reader. Our goal is to deliver the most accurate information and the most knowledgeable advice possible in order to help you make smarter buying decisions on tech gear and a wide array of products and services. Our editors thoroughly review and fact-check every article to ensure that our content meets the highest standards. If we have made an error or published misleading information, we will correct or clarify the article. If you see inaccuracies in our content, please report the mistake via this form.


How to install and configure AfterStep window manager on Ubuntu

Jack Wallen introduces you to his favorite old-school Linux window manager, AfterStep.
Written by Jack Wallen, Contributing Writer
A dark Linux Ubuntu desktop showing icons
Image: Jack Wallen

In a recent article on cool things you can do with the Linux desktop that you can't do with MacOS or Windows, I mentioned a few of the many Linux desktops I've used over the years. One of those desktops (actually, a window manager) was instrumental in helping me to realize just how cool Linux is

Now, before I continue with this, you should know that development on the AfterStep window manager ended some time ago. That means it receives zero upgrades at this point. Even so, it's still installable on Ubuntu Linux and functions exactly as it did back in the late '90s when I first started using it.

Why would you want to even try a desktop that is outdated and no longer in development? First off, just to see how cool the desktop can be. But a second benefit could be that if enough people fall in love with this desktop (as I did so long ago), maybe some developer or team will fork it and give this remarkable window manager a new life.

Also: The top 5 Linux distros for programming

Either way, installing AfterStep is so easy that it's worth getting a glimpse into what helped make the Linux desktop so unique. AfterStep is about as different a desktop as you've ever experienced, it's highly configurable, and it is (surprisingly enough) rather efficient and lightweight.

How to install and configure AfterStep

Let me show you how to get AfterStep installed on Ubuntu Linux and what makes it so special (at least to me).


To get AfterStep up and running, you'll need an instance of Ubuntu Desktop (release number doesn't matter). You'll also need a user with Sudo privileges. And that's everything. Let's add this cool desktop to your system.

1. Log in to Ubuntu and open a terminal

The first thing to do is log in to your Ubuntu instance and open a terminal window.  

2. Install AfterStep

With the terminal open, you can then run the installation command:

sudo apt-get install afterstep -y

The above command will install quite a few dependencies but won't take up too much space on your local drive (as I said, AfterStep is fairly lightweight).

3. Start AfterStep

Once AfterStep is installed, log out of your desktop, select AfterStep from your login menu (how that works will depend on which login manager you use), and log back in. What you'll find is a fascinating desktop (Figure 1), ready to make computing fun again.

The dark blue AfterStep desktop with minimal icons.

Figure 1: The AfterStep desktop in all its old-school glory.

Image: Jack Wallen

Here's what you need to know to get up and run with AfterStep easily. If you click anywhere on the desktop, the main menu will appear (Figure 2), where you can open applications, search for files, enable modules, open various settings, and perform other tasks.

The AfterStep desktop menu.

Figure 2: The AfterStep desktop menu in action.

Image: Jack Wallen

Here's a list of the other desktop items:

  • Top -- a tabbed bar that allows you to bring opened apps into focus.
  • Top left corner -- the Wharf allows you to open specific apps.
  • Top right corner -- the Pager allows you to select a workspace to use.
  • Bottom right -- folders where you can add different entries.
  • Bottom left -- minimized applications.

Configuration options

This is where AfterStep does get a bit tricky. Every configuration option is handled via a text file, which means there isn't a GUI app to configure anything. The file that houses the configuration options is /usr/share/afterstep/database and holds entries that look something like this:

Style "*" Icon interface.xpm
Style "Unknown" Icon Unknown.xpm
Style "Untitled*" Icon AfterStep3.xpm
Style "Wharf" NoTitle, Sticky, StaysOnTop, WindowListSkip, NoHandles, AvoidCover
Style "Zharf" NoTitle, Sticky, StaysOnTop, WindowListSkip, NoHandles, AvoidCover
Style "Banner" NoTitle, Sticky, StaysOnTop, WindowListSkip, NoHandles
Style "*Pager" NoTitle, Sticky, StaysOnTop, WindowListSkip, NoHandles, AvoidCover
Style "WinList" NoTitle, Sticky, StaysOnTop, WindowListSkip, NoHandles, AvoidCover
Style "*clock" StaysOnTop, WindowListSkip, NoHandles

The file is actually quite long, so you'll want to spend some time familiarizing yourself with the layout. I'm going to show you one of my favorite configuration options from back in the day.

4. Open the configuration file

To open the configuration file for editing, issue the command:

sudo nano /usr/share/afterstep/database

What I'm going to show you is how to move window title bars from the top to the left edge. It's a simple trick but one that makes the desktop all the more unique.

5. Add a new Style line

In the configuration file, locate the line that looks like this:

# This record is for the AfterStep menu :

Above that line, add the following:

Style "*" VerticalTitle

Save and close the file. 

6. Restart AfterStep

Open the desktop menu and click Quick > Restart Window Manager. Once AfterStep restarts, you should see that the title bars for all windows are now on the left edge (Figure 3).

An example of AfterStep left sidebars.

Figure 3: The left-side title bar configuration is a layout that's unique to AfterStep.

Image: Jack Wallen

A cool thing about the AfterStep title bars

One of my favorite things about the AfterStep title bars is that they allow you to shade windows, which means the windows themselves will roll up so all that you only see the title bar. To shade a window, click the __ near the right end of the title bar (or the top, if you've moved your title bars to the left edge). Once you've shaded a window, you can unshade it by clicking the __ icon again. With your windows shaded, you can easily see what's open and save screen real estate (Figure 4).

AfterStep showing shaded windows.

Figure 4: Left-side title bars and shaded windows make for a cool desktop.

Image: Jack Wallen

And that's your introduction to one of my favorite old-school Linux window managers. Get AfterStep installed and spend some time customizing it so you can show off a killer desktop to your friends, coworkers, and family.

Editorial standards