X11 can be run in two modes: full screen or rootless (the default). Both of these modes run side-by-side with Aqua, although full-screen mode hides the Finder and Mac OS X's desktop (to hide X11 and return to the Finder, press Option- -A). To launch the X server, double-click the X11 application (in /Applications/Utilities ). An xterm window that looks similar to a Mac OS X Terminal window opens, sporting Aqua-like buttons for closing, minimizing, and maximizing the window. Also, X11 windows minimize to the Dock, just like other Aqua windows . Figure 5-1 shows a Terminal window and an xterm window side-by-side. Figure 5-1. A Terminal and an xterm sporting the Aqua lookIf you're using the default configuration, you'll also notice three obvious differences from a Terminal window. In particular:
A less obvious difference between a Terminal window and an X11 xterm window is that Control-clicking (or right-clicking) in an xterm window does not invoke the same contextual menu that it does in a Terminal window. Control-clicking, Control-Option-clicking, and Control- -clicking in an xterm invokes xterm -specific contextual menus , as shown inFigure 5-2, Figure 5-3, and Figure 5-4. If you have a three-button mouse, Control-clicking with the right mouse button does the same thing as Control- -clicking; Control-clicking with the middle button does the same thing as Control-Option-clicking. You can use Fink to install an xterm replacement such as rxvt or eterm . See Chapter 11 for more information on Fink. Figure 5-2. Control-click (or Control-left-click) in an xterm windowFigure 5-3. Control-Option-click (or Control-middle-click) in an xterm windowFigure 5-4. Control- -click (or Control-right-click) in an xterm window
In rootless mode, X11 applications take up their own window on your Mac OS X desktop. In full-screen mode, X11 takes over the entire screen and is suitable for running an X11 desktop environment (DTE) like GNOME, KDE, or Xfce. If you want to run X11 in full-screen mode, you'll have to enable this mode in the X11 Preferences by clicking the Output tab and selecting the full-screen mode checkbox.
|