广告位招租 联系qq:165345322

VMware中安装Ubuntu后鼠标滚轮问题解决

时间:2008-06-01 21:53:49   来源:赛迪网  作者:korn  点击:次  出处:技术无忧
关键字:VMware Ubuntu linux

谢 谢 收 藏http://www.pc51.net/system/unix/linux/2008-06-01/10616.html

Windows中通过VMware嵌套Ubuntu,发现鼠标滚轮功能不能使用。网上找了一下,都说是要将xorg.conf配置文件的问题,改动过程:


sudo gedit /etc/X11/xorg.conf


将"Input Device" 这个section的

Option "Protocol" "ps/2"

替换为

Option "Protocol" "IMPS/2"


我的xorg.conf原来没有这个语句,就添加了。


Ctrl+alt+backspace 重启X,还是没有效果。


网上在查了下,发现我的配置还少了句:


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

文章评论

共有 0 位网友发表了评论 此处只显示部分留言 点击查看完整评论页面

300x250广告位招租