Chapter 7. The X Window System

 < Day Day Up > 

Although the X in "Mac OS X" is not the same X as in "The X Window System," you can get them to play nice together.

Most Unix systems use the X Window System as their default GUI. (We'll refer to the X Window System as X11 instead of X, to avoid confusion with Mac OS X.) X11 includes development tools and libraries for creating graphical applications for Unix-based systems. Mac OS X does not use X11 as its GUI, relying instead on Quartz (and, on compatible hardware, Quartz Extreme), a completely different graphics system. However, Apple's own implementation of X11 for Mac OS X, based on the open source XFree86 Project 's X11 (http://www.xfree86.org), was initially released as a beta for Jaguar and is bundled with Mac OS X Tiger as an optional installation. Apple also provides an X11 software development kit (the X11 SDK) as an optional installation with Xcode, which is located in the Xcode Tools folder on the Mac OS X Tiger Installation DVD.

This chapter highlights some of the key features of Apple's X11 distribution and explains how to install Apple's X11 and the X11 SDK. It also explains how to use X11 in both rootless and full-screen modes (using the GNOME and KDE desktops). You'll also learn how to connect to other X Window systems using Virtual Network Computing (VNC), as well as how to remotely control the Mac OS X Aqua desktop from other X11 systems.

From Aqua to X11, there's no shortage of graphical environments for Mac OS X . The operating system's solid Unix underpinnings and powerful graphics subsystem make it possible for developers to support alternative graphical environments. For this reason, a humble iBook can make a fine cockpit for a network of heterogeneous machines!

About Apple's X11

As noted earlier, Apple's X11 distribution is based on the open source XFree86 Project's XFree86, Version 4.4. The X11 package has been optimized for Mac OS X and has the following features:

  • X11R6.6 window server.

  • Support for the RandR (Resize and Rotate) extension .

  • Strong integration with Mac OS X environment.

  • A Quartz window manager that provides Aqua window decorations, ability to minimize windows to the Dock, and pasteboard integration.

  • Can use other window managers.

  • Compatible with Exposé.

  • Supports rootless and full-screen modes.

  • A customizable Application menu, which allows you to add applications for easy launching and to map keyboard shortcuts.

  • A customizable Dock menu, which allows you to add applications for easy launching, to map keyboard shortcuts, and to list all open windows.

  • Finder integration, which supports auto-detection of X11 binaries and double-clicking to launch X11 binaries, starting the X server if it is not already running.

  • Preference settings for system color map, key equivalents, system alerts, keyboard mapping, and multi-button mouse emulation.

  • Hardware acceleration support for OpenGL (GLX) and Direct CG (AIPI).


     < Day Day Up > 


    Mac OS X Tiger for Unix Geeks
    Mac OS X Tiger for Unix Geeks
    ISBN: 0596009127
    EAN: 2147483647
    Year: 2006
    Pages: 176

    Similar book on Amazon

    flylib.com © 2008-2017.
    If you may any questions please contact us: flylib@qtcs.net