Using X Windows
The look and feel of X Windows is mostly the responsibility of the particular window-manager you’ve chosen to run. (You can learn more about window managers and some of their options later in this lesson.) You’ll find that there are a number of constants between the various managers. Some of these consistent features might be familiar to anyone who has previously used a computer with a mouse. A few, however, are likely to be new even to users familiar with the Macintosh and MS-Windows environments. The significant things to remember are:
Caution:
If Your Input Disappears If you’re typing and you notice that what you’re typing isn’t appearing where you think it is supposed be, chances are you’ve got your input focused in some other window. Check to make certain that your cursor is where it belongs, or—if your system is configured for click to focus—that you’ve clicked where you intend to type. It’s very easy to get confused when moving between platforms using different input-focus methods.
In X, the window manager or any other program can attach arbitrary commands to arbitrary user actions. For example, a program can attach the action of displaying a menu when a user right-clicks on the title bar. The window manager can pop-up a variety of menus when the user left-, right-, or center-clicks in the empty background of the windowing system; or it could happen when the user shift-left-, shift-right-, or shift-center-clicks—the possibilities are endless. One popular terminal program, xterm, pops up its configuration menus when the user holds down the control key and left-, right-, or center-clicks in the window. Some window managers attach a standard menu with common commands such as close and resize to each application’s title bar. Others attach these functions to pop-up menus or buttons in the title bar. You’ll find variations in program behavior even among different installations of the same UNIX flavor. Local configuration options can exert a significant influence over the interface. The best advice on how to find any particular option or command is to read the available documentation and to ask other local users.
Most window managers can iconize windows. Because the actual display of the client program’s windows isn’t handled by the client, the X server and window manager are free to make some useful contributions to the user experience. One of these contributions is that when the client requests a window with particular characteristics, the server isn’t obliged to represent the window that way to the user—it is required only to treat it as though it had those characteristics. This enables the server to, for example, scale the window arbitrarily, or to shrink it down and treat it as an icon. If you’re familiar with the idea of a task bar or application dock, you can think of iconized windows as windows that have been minimized, but that you can store anywhere on your screen.