#我的/etc/X11/xorg的设置 ,显卡为geforce 6100,系统为centos 5.1
# Xorg configuration created by system-config-display
Section "ServerLayout"
Identifier "single head configuration"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
#设定整个画面的输出,重点在 Screen那个设定, 0 0 指的是桌面左上角为 0 0 的意思.
Section "Files"
EndSection
#设定字型与颜色.
Section "Module"
Load "glx"
EndSection
#需要加载的模块项目.重点设定加载glx即可,其他的不要.
Section "InputDevice"
# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection
#设定周边输入接口,有键盘及鼠标两种设定
Section "Monitor"
### Comment all HorizSync and VertSync values to use DDC:
Identifier "Monitor0"
ModelName "Monitor 1024x768"
### Comment all HorizSync and VertSync values to use DDC:
HorizSync 31.5 - 57.0
VertRefresh 50.0 - 70.0
Option "dpms"
EndSection
#这个项目则是设定屏幕的细项,包括分辨率、更新频率等等的设定值.
Section "Device"
Identifier "Videocard0"
Driver "nvidia"
Option "NoLogo" "true"
EndSection
#这个项目在设定显示卡驱动程序为nvidia,以及不显示nvidia的logo标志.
#有时刚装完系统(如centos 5.1,rhel 5,fc8或fc9等等),发现不显示鼠标
#针,时在该项目加入选项Option "HWCursor" "false"即可。
Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection
#设定进入X-Window的时候,显示的分辨率。
阅读(1058) | 评论(0) | 转发(0) |