最近在vmware6.0.3上装了ubuntu8.04内核版本为2.6.24发现鼠标滚轮无效(未安装vmware tools)
发现是/etc/X11/xorg.conf 的默认配置在作怪,通过添加鼠标的相关配置选项可以解决:
1、首先,备份xorg.conf文件(养成修改配置文件的好习惯:)
cp /etc/X11/xorg.conf /etx/X11/xorg.conf_backup
2、修改xorg.conf文件
sudo gedit /etc/X11/xorg.conf
3、鼠标的完整配置如下:
Section "InputDevice"
Identifier "Configured Mouse"
Driver "vmmouse"
Option "CorePointer"
Option "ZAxisMapping" "4 5"
Option "Protocol" "ImPS/2"
Option "CorePointer"
Option "Emulate3Buttons" "yes"
Option "Device" "/dev/input/mice"
EndSection
4、重新启动Xwindow或者注销
Ctrl+alt+backspace --重启X