Prev | Current Page 85 | Next

Chris Tyler

"X Power Tools"

conf file
Section "ServerLayout"
Identifier "Default Layout"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 8
Modes "1280x1024" "1024x768" "800x600"
EndSubSection
SubSection "Display"
Depth 24
Modes "1280x1024" "1024x768" "800x600"
EndSubSection
EndSection
Section "Monitor"
Identifier "Monitor0"
EndSection
Section "Device"
Identifier "Videocard0"
Driver "nv"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "keyboard"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Device" "/dev/input/mice"
EndSection
3.5
46 Chapter 3: Basic X.org Configuration
Notice that each section starts with the keyword Section followed by a quoted string
describing the type of section, and that each section ends with the keyword
EndSection. Lines beginning with # are comments.
The Identifier line in each section provides a name that is used when referencing
that section from another section. The identifiers assigned by X -configure are pretty
vague, but these can be changed to anything that makes sense; for example, in a twoscreen
configuration, you could name the monitors left and right or CRT and
VideoProjector if that makes the file more readable.


Pages:
73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97