耐心无止境 成功一瞬间

BlogJava 联系 聚合 管理
  31 Posts :: 5 Stories :: 25 Comments :: 0 Trackbacks
1. 修改/ect/X11/xorg.conf
请在相应的section添加下面带有“#”的行,如果已经有了就不用了添加了

Section "ServerLayout"
    Identifier     "single head configuration"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Synaptics" "CorePointer"
    Option "AIGLX" "true" #
EndSection

Section "Files"
EndSection

Section "Module"
    Load  "glx"
    Load "dbe"  #
    Load "extmod" #
EndSection

Section "ServerFlags"
    Option        "AIGLX" "on"
EndSection

Section "InputDevice"
    Identifier  "Keyboard0"
    Driver      "kbd"
    Option        "XkbModel" "pc105"
    Option        "XkbLayout" "us+inet"
EndSection

Section "InputDevice"
    Identifier  "Synaptics"
    Driver      "synaptics"
    Option        "Device" "/dev/input/mice"
    Option        "Protocol" "auto-dev"
    Option        "Emulate3Buttons" "yes"
    Option        "LeftEdge" "120"
    Option        "RightEdge" "830"
    Option        "TopEdge" "120"
    Option        "BottomEdge" "650"
    Option        "FingerLow" "14"
    Option        "FingerHigh" "15"
    Option        "MaxTapMove" "110"
    Option        "VertScrollDelta" "20"
    Option        "HorizScrollDelta" "20"
    Option        "MinSpeed" "0.3"
    Option        "MaxSpeed" "0.75"
EndSection

Section "Monitor"
    Identifier   "Monitor0"
    ModelName    "LCD Panel 1280x800"
    HorizSync    31.5 - 50.0
    VertRefresh  56.0 - 65.0
    Option        "dpms"
EndSection

Section "Device"
    Identifier  "Videocard0"
    Driver      "nvidia"
    Option "XAANoOffscreenPixmaps" "true" #
    Option "AllowGLXWithComposite" "true" #
    Option "TripleBuffer" "true" #
    Option "RenderAccel" "true" #
EndSection

Section "Screen"
    Identifier "Screen0"
    Device     "Videocard0"
    Monitor    "Monitor0"
    DefaultDepth     24
    SubSection "Display"
        Viewport   0 0
        Depth     24
        Modes    "1280x800@60hz"
    EndSubSection
    Option "AddARGBGLXVisuals" "true"  #
EndSection

Section "Extensions"
    Option        "Composite" "Enable"
EndSection

2. 重新启动x就应该可以了

posted on 2008-01-14 21:56 Joshua Yan 阅读(414) 评论(0)  编辑  收藏 所属分类: Linux

只有注册用户登录后才能发表评论。


网站导航: