-->
Previous | Table of Contents | Next |
Unlike the Macintosh and Windows environments, X makes the window manager a separate process. In fact, a window manager is merely an X application program, although its a special application. By separating the windowing system from the window manager, you are free to run any window manager that suits your needs. The main purpose of a window manager is to control how you move and resize windows on your Linux display. The window manager also creates the titlebar at the top of your application windows.
The key concept if youre new to X is that the window managernot the applicationowns the windows titlebar. This is really odd if you come from the Windows or Macintosh worlds. To show this, well run the same X application, xman (which displays UNIX online manualsa very useful program, indeed), under different window managers.
The fvwm window manager provides a vaguely Motif-like look for the window titlebars, as we show in Figure 3.1.
Figure 3.1 Xman running under the fvwm window manager.
If we switch to olwm, we see an Open Look visual display, as shown in Figure 3.2.
Figure 3.2 Xman running under the olwm window manager.
If we switch yet again, to twm, we see yet another look for the titlebar of the application, as shown in Figure 3.3.
Figure 3.3 Xman running under the twm window manager.
With all three window managers, the xman program itself looks the same; its only the window-manager-controlled titlebar thats different.
X also follows the policy of providing the means to do neat thingsthe mechanismwithout making any decisions about what is good for the userthe policy. This mechanism without policy approach has led to a great deal of innovation in the X and UNIX worlds, but at a price of difficult-to-configure, poorly done interfaces across the board. Slackware Linux comes with a number of window managers, including those listed in Table 3.1, and weve taken the liberty of adding a few free window managers to the second CD-ROM. (Unless noted otherwise, all the window managers here are part of the core Slackware Linux distribution.) Youre free to choose the window manager you desire and change at any time.
Window Manager | Description |
---|---|
bwm | Bowman Window Manager, used to provide a Nextstep-type interface, which we included on the second CD-ROM |
fvwm | The most common window manager, presenting a Motif-like look |
fvwm95 | An add-on to fvwm that makes it look like Windows 95, which we included on the second CD-ROM |
twm | The bared-boned Tab Window Manager |
olwm | Open Look Window Manager, from Sun Microsystems |
olvwm | A virtual-screen version of olwm |
Most commercial UNIX systems run mwm, the Motif window manager, or a close variant. Youll find this on workstations from Hewlett-Packard, SCO, IBM, Silicon Graphics, and even Sun Microsystems (with the Common Desktop Environment). Because mwm (and the rest of Motif, including the programming libraries) is a commercial product, you wont see mwm on Linux unless you purchase it separately (see Appendix A for details). Because something so fundamental to most UNIX systems remains different on Linux, this may make getting used to Linux harder, especially if you work on other UNIX systems. Because of this common problem, well show you how to configure fvwm, the default window manager on Linux, to look and act more like the Motif window manager, to help make you feel at home on Linux. See the section on Toward a Motif-Like Look and Feel later in this chapter for the details.
Previous | Table of Contents | Next |