分类: LINUX
2008-08-16 14:33:00
sudo gedit /etc/X11/xorg.conf
将"Input Device" 这个section的
Option "Protocol" "ps/2"
替换为
Option "Protocol" "IMPS/2"
我的xorg.conf原来没有这个语句,就添加了。
Ctrl+alt+backspace 重启X,还是没有效果。
网上在查了下,发现我的配置还少了句:
Option "ZAxisMapping" "4 5"
和
Option "Emulate3Buttons" "yes“
另外,我的驱动是: Driver "vmmouse"
而一般常见的是: Driver "mouse"
完整的配置段落:
Section "InputDevice"
Identifier "Configured Mouse"
Driver "vmmouse"
Option "Protocol" "ImPS/2"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "yes"
EndSection