免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 3467 | 回复: 0
打印 上一主题 下一主题

我的/etc/X11/xorg的设置 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-06-29 13:11 |只看该作者 |倒序浏览
#我的/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的时候,显示的分辨率。


本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u2/72217/showart_1019387.html
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP