Screen
Each Screen
section binds one video card (or video card head) to one monitor by referencing the Device
section and the Monitor
section for each. While one Screen
section is the minimum, additional instances may occur for each video card and monitor combination present on the machine.
The following example illustrates a typical Screen
section:
Article "Screen" Identifier "Screen0" Device "Videocard0" Monitor "Monitor0" DefaultDepth 16 SubArticle "Display" Depth 24 Modes "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480" EndSubArticle SubArticle "Display" Depth 16 Modes "1152x864" "1024x768" "800x600" "640x480" EndSubArticle EndArticle
The following entries are commonly used in the Screen
section:
Identifier
- Specifies a unique name for thisScreen
section. This is a required entry.
Device
- Specifies the unique name of aDevice
section. This is a required entry.Monitor
- Specifies the unique name of aMonitor
section. This is only required if a specificMonitor
section is defined in thexorg.conf
file. Normally, monitors are automatically detected.DefaultDepth
- Specifies the default color depth in bits. In the previous example,16
(which provides thousands of colors) is the default. Only oneDefaultDepth
is permitted, although this can be overridden with the Xorg command line option-depth
,where<n>
is any additional depth specified.<n>
SubArticle "Display"
- Specifies the screen modes available at a particular color depth. TheScreen
section can have multipleDisplay
subsections, which are entirely optional since screen modes are automatically detected.This subsection is normally used to override autodetected modes.
Option "
- An optional entry which specifies extra parameters for the section. Replace<option-name>
"<option-name>
with a valid option listed for this section in thexorg.conf
man page.