Datasheet

“main” (Installation and Administration) 2004/6/25 13:29 page 282 #308
i
i
i
i
i
i
i
i
Monitor, Device, and Screen are explained in more detail below. Fur-
ther information about the other sections can be found in the manual pages
of XFree86 and XF86Config.
There can be several different Monitor and Device sections in
XF86Config. Even multiple Screen sections are possible. The following
ServerLayout section determines which one is used.
12.1.1 Screen Section
First, take a closer look at the screen section, which combines a monitor
with a device section and determines the resolution and color depth to use.
A screen section might resemble Example 12.1.
Example 12.1: Screen Section of the File /etc/X11/XF86Config
Section "Screen"
DefaultDepth 16
SubSection "Display"
Depth 16
Modes "1152x864" "1024x768" "800x600"
Virtual 1152x864
EndSubSection
SubSection "Display"
Depth 24
Modes "1280x1024"
EndSubSection
SubSection "Display"
Depth 32
Modes "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1280x1024"
EndSubSection
Device "Device[0]"
Identifier "Screen[0]"
Monitor "Monitor[0]"
EndSection
The line Identifier (here Screen[0]) gives this section a defined name
with which it can be uniquely referenced in the following ServerLayout
section. The lines Device and Monitor specify the graphics card and the
monitor that belong to this definition. These are just links to the Device
and Monitor sections with their corresponding names or identifiers. These
sections are discussed in detail below.
282
12.1. Optimizing the X Configuration