|
发表于 2005-3-5 22:14:45
|
显示全部楼层
It si my xorg.conf ,it is semilar to xf86config file
[code:1]## xorg.conf
### generated by Xorg -configure and vxconf
#
# This is a working xorg.conf that can be configured by vxconf
# Items that might be modified are marked like this
# item value ## ITEM_MARKING
# Please, do not play with the marking. Anything else is your's.
# Thanks
#
# Eko M. Budi, for Vector Linux
#
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
ModulePath "/usr/X11R6/lib/modules"
FontPath "/usr/X11R6/lib/X11/fonts/misc/"
FontPath "/usr/X11R6/lib/X11/fonts/TTF/"
FontPath "/usr/X11R6/lib/X11/fonts/Speedo/"
FontPath "/usr/X11R6/lib/X11/fonts/Type1/"
FontPath "/usr/X11R6/lib/X11/fonts/CID/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/"
EndSection
Section "Module"
Load "record"
Load "extmod"
Load "dbe"
Load "dri"
Load "glx"
Load "xtrap"
Load "freetype"
Load "type1"
Load "speedo"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd" ## KEYBOARD_DRIVER
Option "CoreKeyboard"
Option "XkbModel" "pc104" ## KEYBOARD_MODEL
Option "XkbLayout" "us" ## KEYBOARD_LAYOUT
Option "XkbVariant" "" ## KEYBOARD_VARIANT
# Option "XkbOptions" "" ## KEYBOARD_OPTIONS
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Device" "/dev/mouse"
# On platforms where PnP mouse detection is supported the following
# protocol setting can be used when using auto.
# Otherwise set it manually to:
# Auto BusMouse GlidePoint GlidePointPS/2 IntelliMouse IMPS/2
# Logitech Microsoft MMHitTab MMSeries Mouseman MouseManPlusPS/2
# MouseSystems NetMousePS/2 NetScrollPS/2 OSMouse PS/2 SysMouse
# ThinkingMouse ThinkingMousePS/2 Xqueue
Option "Protocol" "IMPS/2" ## MOUSE_PROTOCOL
# Baudrate and SampleRate are only for some Logitech mice. In
# almost every case these lines should be omitted.
# Option "BaudRate" "9600"
# Option "SampleRate" "150"
# ChordMiddle is an option for some 3-button Logitech mice
# Option "ChordMiddle"
# Emulate3Buttons is an option for 2-button Microsoft mice
# Emulate3Timeout is the timeout in milliseconds (default is 50ms)
# Option "Emulate3Buttons" ## MOUSE_E3BUTTONS
# Option "Emulate3Timeout" "50"
# Settings for newer IMPS/2 mouse (with wheel)
Option "ZAxisMapping" "4 5" ## MOUSE_ZAXISMAPPING
Option "Buttons" "5" ## MOUSE_BUTTONS
Option "SendCoreEvents" ## MOUSE_SENDCOREEVENTS
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor" ## MONITOR_VENDOR
ModelName "Monitor Model" ## MONITOR_MODEL
Option "DPMS"
HorizSync 30-87 ## MONITOR_HSYNCH
VertRefresh 50-160 ## MONITOR_VREFRESH
EndSection
Section "Device"
Identifier "Card0"
Driver "nv" ## DEVICE_DRIVER
VendorName "nVidia Corporation" ## DEVICE_VENDOR
BoardName "NV17 [GeForce4 MX 420]" ## DEVICE_BOARD
# Option "swcursor" "true" ## DEVICE_SWCURSOR
BusID "PCI:1:0:0" ## DEVICE_BUSID
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 24 ## SCREEN_DEPTH
SubSection "Display"
Depth 1
Modes "1024x768" "800x600" "640x480" ## SCREEN_MODES
EndSubSection
SubSection "Display"
Depth 4
Modes "1024x768" "800x600" "640x480" ## SCREEN_MODES
EndSubSection
SubSection "Display"
Depth 8
Modes "1024x768" "800x600" "640x480" ## SCREEN_MODES
EndSubSection
SubSection "Display"
Depth 15
Modes "1024x768" "800x600" "640x480" ## SCREEN_MODES
EndSubSection
SubSection "Display"
Depth 16
Modes "1024x768" "800x600" "640x480" ## SCREEN_MODES
EndSubSection
SubSection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480" ## SCREEN_MODES
EndSubSection
SubSection "Display"
Depth 32
Modes "1024x768" "800x600" "640x480" ## SCREEN_MODES
EndSubSection
EndSection
# DRI enabled by default
# if the card does not capable, X simply ignores this, hopefully ;-)
Section "DRI"
Mode 0666
EndSection
[/code:1]
Pay attention to this.
[code:1]Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor" ## MONITOR_VENDOR
ModelName "Monitor Model" ## MONITOR_MODEL
Option "DPMS"
HorizSync 30-87 ## MONITOR_HSYNCH
VertRefresh 50-160 ## MONITOR_VREFRESH
EndSection[/code:1]
[code:1]Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 24 ## SCREEN_DEPTH
SubSection "Display"
Depth 1
Modes "1024x768" "800x600" "640x480" ## SCREEN_MODES
EndSubSection
SubSection "Display"
Depth 4
Modes "1024x768" "800x600" "640x480" ## SCREEN_MODES
EndSubSection
SubSection "Display"
Depth 8
Modes "1024x768" "800x600" "640x480" ## SCREEN_MODES
EndSubSection
SubSection "Display"
Depth 15
Modes "1024x768" "800x600" "640x480" ## SCREEN_MODES
EndSubSection
SubSection "Display"
Depth 16
Modes "1024x768" "800x600" "640x480" ## SCREEN_MODES
EndSubSection
SubSection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480" ## SCREEN_MODES
EndSubSection
SubSection "Display"
Depth 32
Modes "1024x768" "800x600" "640x480" ## SCREEN_MODES
EndSubSection
EndSection
[/code:1]
Change with your own settings. |
|