Linux Quick Reference Page 5

ADVERTISEMENT

Option "DefaultServerLayout" "layout_id"
Specifies information about the video card used by the system. You must
DISPLAY SUBSECTION
Specify the default ServerLayout section to use. Default is the first
have at least one Device section in your configuration file. The active device
Each Screen section must have at least one Display Subsection which
ServerLayout section.
is in ServerLayout->Screen.
matches the depth values in DefaultDepth.
Depth depth
EXAMPLE
Identifier
Section "ServerFlags"
Specify an unique name for this graphics card.
This entry specifies what color depth of this Display Subsection.
Option "BlankTime" "99999"
Virtual xdim ydim
Driver
Option "StandbyTime" "99999"
Specify the name of the driver to use for this graphics card.
Specifies the virtual screen resolution to be used.
Option "SuspendTime" "99999"
EXAMPLE
ViewPort x0 y0
Option "OffTime"
"99999"
Section "Device"
EndSection
Sets the upper left corner of the initial display.
Identifier
"ATI Mach64"
Modes "mode-name" ...
VendorName "ATI MACH64"
VideoRam
2048
Secifies the list of video modes to use. Each mode-name specified must be
Module Section
EndSection
in double quotes. They must correspond to those specified in the appropriate
Load "modulename"
Monitor section (including implicitly referenced built-in ESA standard
Load a module. The module name given should be the module's standard
modes). mode can be switched with Ctrl+Alt+Keypad-Plus or
Monitor Section
name, not the module file name.
Ctrl+Alt+Keypad-Minus.
EXAMPLE
Monitor section describes a monitor. There must be at least one monitor
EXAMPLE
Section "Module"
Section "Screen"
section and the active one is used in ServerLayout->Screen.
Load
"extmod"
Identifier "My Screen”
Identifier
Load
"type1"
Device
" ATI Mach64"
Specify an unique name for this monitor.
EndSection
Monitor " Generic Monitor"
HorizSync horizsync-range
DefaultDepth 16
Gives the range(s) of horizontal sync frequencies of this monitor in kHz.
SubSection "Display"
InputDevice Section
Depth
16
VertRefresh vertrefresh-range
Modes
"1024x768" "800x600" "640x480"
Gives the range(s) of vertical sync frequencies of this monitor in Hz.
There are normally at least two InputDevice sections, one for Keyboard and
EndSubSection
EXAMPLE
one for Mouse.
SubSection "Display"
Section "Monitor"
Identifier
Depth
24
Identifier "Generic Monitor "
Specify an unique name for this input device.
Modes
"1024x768" "800x600" "640x480"
VendorName "Monitor Vendor"
EndSubSection
Driver
ModelName "Monitor Model"
EndSection
Specify the name of the driver to use for this input device..
HorizSync 31.5-56.6
VertRefresh 40-70
Option "CorePointer"
EndSection
ServerLayout Section
This input device is installed as the primary pointer device.
Option "CoreKeyboard"
ServerLayout section binds a Screen section and one or more InputSection
This input device is the primary Keyboard.
to form a complete configuration. The active ServerLayout section is
Screen Section
specified in ServerFlags. If not, the first ServerLayout section is active. If no
EXAMPLE
ServerLayout sections are present, the single active screen and two active
Section "InputDevice"
Screen Section binds Device and Monitor sections. There must be at least
(core) input devices are selected as described in the relevant sections.
Identifier
"Generic Keyboard"
one Screen Section. The active one is in ServerLayout section.
Driver
"keyboard"
Identifier
Identifier
Option "AutoRepeat" "500 30"
An unique name for this ServerLayout Section.
Specify an unique name for this Screen Section.
Option
"CoreKeyboard"
Screen screen-num "screen-id" position-information
Device "device-id"
EndSection
The screen-id field is mandatory, and specifies the Screen section being
This specifies the Identifier of Device section to be used for this screen.
referenced.
Section "InputDevice"
Monitor "monitor-id"
Identifier
"PS2 Mouse"
InputDevice "idev-id" "option" ...
This specifies the Identifier of Monitor section to be used for this screen.
Normally at least two are required, one for the core pointer and the other for
Driver
"mouse"
DefaultDepth depth
the primary keyboard devices.
Option
"CorePointer"
Default color depth, like 8, 16 or 24.
Option
"Device"
"/dev/mouse"
EXAMPLE
Option "Accel"
Option
"Protocol"
"PS/2"
Section "ServerLayout"
Enables XAA (X Acceleration Architecture), default is ON.
Option
"Emulate3Buttons" "true"
Identifier
"Default Layout"
EndSection
Screen
"My Screen"
InputDevice "Generic Keyboard"
InputDevice "PS/2 Mouse"
EndSection
Device Section

ADVERTISEMENT

00 votes

Related Articles

Related forms

Related Categories

Parent category: Education
Go
Page of 6