Global Sections

Several XF86Config sections affect the entire server. These sections set global variables or features that aren't easily tied to just one display. These sections include:

Files This section defines the locations of important files. Frequently, this section is dominated by FontPath lines. (Each FontPath line points either to a single directory [] in which fonts are stored or to a font server computer. (The upcoming section, "Improving the Appearance of Fonts," covers fonts in more detail.) Other directories may be specified by other lines, such as ModulePath (which sets the directory in which driver modules are stored) and RgbPath (which sets the location of the RGB color database).

ServerFlags You can set miscellaneous server options in this section. For instance, specifying Option "AllowMouseOpenFail" "true" enables the server to run even if it doesn't detect a mouse; and Option "DontZap" "true" tells the server to ignore the Ctrl+Alt+Backspace keystroke, which normally terminates X.

Module XFree86 4.x supports modules, which are similar to kernel modules—each provides support for some hardware or software feature. The Module section is likely to include several Load directives, each of which specifies a module that should be loaded. Common modules include those for various font formats, such as typel and freetype; and X server extensions, such as glx, an OpenGL support tool. Many modules are loaded automatically, and so don't need to be specified in this section. Some modules accept parameters that can be specified in lines that reside between Subsection and EndSubsection lines.

DRI The Direct Rendering Infrastructure (DRI) is a 3D acceleration framework for X. This section of XF86Config includes options related to use of DRI. This topic is covered in more detail in the upcoming section, "Using 3D Acceleration."

Modes X uses modes, which are numerical descriptions of a monitor's timings, to set the resolution and refresh rate of the monitor. XFree86 4.x includes a number of built-in modes and can obtain more modes by communicating with modern monitors. You can also specify a custom mode by including a Modeline line in a monitor's section. Alternatively, you can create a Modes section and define a mode that can be used by multiple monitors. The upcoming section, "Creating a Custom Video Mode," describes custom video modes in more detail.

Not all XF86Config files will have all of these sections. The DRI and Modes sections are particularly likely to be missing. Unless you need to use the features implemented by these sections, don't be concerned if they're missing from your configuration file.

Was this article helpful?

0 0

Post a comment