1. 修改/ect/X11/xorg.conf
請在相應(yīng)的section添加下面帶有“#”的行,如果已經(jīng)有了就不用了添加了
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就應(yīng)該可以了