vmware下debian安装vmware-tools及安装后带来的鼠标滚轮问题
1、安装vmware-tools
准备条件:vmware-tools (在设置vmware光驱为物理光驱后,选“install vmware tools”在debian的光驱中可以看到)和 linux-header (用 uname -a 查看当前kernel版本后,下载相应的linux-header)
安装:解压缩vmware-tools,到解压后的文件夹中执行 ./vmware-install.pl 除了linux-header路径要选择,刚安装的linux-header所在路径外,其余都可以默认。
2、配置 鼠标
安装 vmware-tools后,/etc/X11/xorg.conf 鼠标的设置会被改成如下方式:
Section "InputDevice"
Identifier "Configured Mouse"
Driver "vmmouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ps/2"
Option "Emulate3Buttons" "true"
EndSection
这样会带来鼠标滚轮不可用问题。
要使鼠标滚轮可用,可以在/etc/X11/xorg.conf中这样设置,
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "Emulate3Buttons" "true"
EndSection