Mr. Aznar tells us all about the developers' plans for a friendly window manager called AfterStep.
by Guylhem Aznar
It seems like only yesterday that I was asked to write an article about AfterStep for LJ's special issue on GUIs (graphical user interfaces), and now here it is. The main points I will focus on are the following:
My conclusion is that the best GUI is the most productive one, but only if it remains user friendly. Users must be free to do anything easily using their window manager.
The first window manager was TWM from Evans and Sutherland, and it was the base upon which Robert Nation created FVWM. FVWM has been used to create most of the modern window managers: FVWM2, Enlightenment, amiWM and Bowman. FVWM2 was used as the basis for FVWM95, and Bowman evolved into AfterStep. In this ``tree'' hierarchy, some exceptions appear: WindowMaker, the NeXT emulation window manager; and KWM, the KDE project window manager. Both of these managers were written from scratch.
Is starting at the beginning better than modifying an already existing window manager? It may bring personal satisfaction, but it will also create duplication of effort. Since all of these programs (FVWM, Bowman, etc.) are freely redistributable, there's no need to write the same code twice. If a feature you want already exists in another window manager, just take the code and patch it into yours. This method will save you both time and effort. FVWM already had most of the features of the modern window managers. The concept has progressed only slightly, while the appearance has radically changed.
AfterStep, derived from both FVWM and Bowman, was first written by Dan Weeks, Frank Fejes and Alfredo Kojima to emulate the NeXT GUI. When they realized they couldn't put all the features they wanted into AfterStep, a new project was started--WindowMaker. WindowMaker is targeted at Gnustep (GNU approach to NeXT programming and interface) with very innovative concepts, e.g., dock, DnD and ``sticky'' menus.
Even if it limits you in some ways, the ability to build on a good base is very useful. You don't spend most of your time coding a good equivalent of FVWM with many bugs. AfterStep is now evolving toward new heights, including simpler and more powerful configuration. Rather than maintaining AfterStep and allowing other managers to pass it, we (the developers) want it to become the most innovative window manager. For example, we're planning to add a few new features. First, concepts that already exist in other window managers that we plan to incorporate into AfterStep:
The code for these features from other window managers can be copied under the GPL (GNU Public License). I strongly believe in and encourage maximum source code re-usage. I like the FVWM95 task bar, Enlightenment decorations and WindowMaker dock DnD; they're very useful and easy to use. Mixing and matching concepts from several window managers will ultimately result in a ``best-of-all-worlds'' situation. That goal is why some people install and configure everything they find. Merging these features into a single program is a much more efficient solution. Therefore, the idea is to make AfterStep more friendly by including many features into a homogeneous work. I hope we'll be able to meet most individual tastes. And there's no need for coding in a new way (C++, Gnustep, Qt, etc.) to meet such goals since most of these cool features exist in FVWM parented window managers.
Figure 1. AfterStep Screenshot
I'd also like to see some new features that are not yet implemented in any window manager, with maybe a new way of coding. That's why AfterStep will first integrate the FVWM family features and then take a different path. New concepts that we wish to add are as follows:
The sky is the limit. If you implement a good option in AfterStep, just send me your patch and if it's freely redistributable it'll be in the next version. If you think AfterStep is going to become 100MB, don't worry--all of these are compile time options. A patch is put in the executable program only if you request it (that's what we call meeting personal tastes). We're making AfterStep for ourselves, but one thing we also want is features we haven't already imagined. All this may seem quite ambitious, and we agree, we are. AfterStep's ``pilgrim fathers'' already did a lot, making such a good program, so it's not easy to make it even better.
Figure 2. AfterStep Screenshot
AfterStep 1.3.1 already includes user-friendly configuration and ``look sharing''. Here are some examples of the new features already working:
echo "gv &" >\ ~/gnustep/Library/AfterStep/start/Programs/Ghostview
Spaces are allowed and you can specify command-line options. When you restart AfterStep, Ghostview will be added to the start menu.
As you have learned in this article, AfterStep is strongly linked to the FVWM family but is no longer restricted to NeXT GUI emulation. Before moving to totally new concepts, we're first trying to put in all the nice features that already exist without making AfterStep hard to use. I hope you'll find 1.3.1 as simple to use as I think it is. But remember, if you think of a missing option, code it and send in the patch. With look files and other configuration files, AfterStep can turn into anything you want it to be.
Guylhem Aznar is a medical student. He likes swimming the medley, listening to rock and classical music and programming (xiterm, linuxbbs, AfterStep). He writes HOWTOs for the LDP (French and BBS) and maintains a few other HOWTOs. He can be reached at guylhem@danmark.linux.eu.org.