使VMWare下的Ubuntu支持鼠标滚轮

来源:互联网 发布:情满四合院 知乎 编辑:程序博客网 时间:2024/05/21 03:56

使VMWare下的Ubuntu支持鼠标滚轮

 

在VMWare下装完Ubuntu操作系统之后,发现鼠标滚轮不能用,几不爽,就上网搜了一下,找到了解决方法,现共享下:

 

在/etc/X11/文件夹下有一个文件叫xorg.conf的文件,其关于鼠标配置的如下:

 

Section "InputDevice"
    Identifier    "configured Mouse"
    Driver        "vmmouse"
    Option        "CorePointer"
    Option        "Device"    "/dev/input/mice"
EndSection

 

将其更改为:

 

Section "InputDevice"
    Identifier    "Mouse0"
    Driver        "mouse"
    Option        "Protocol" "IMPS/2"
    Option        "Device"    "/dev/input/mice"
    Option         "Emulate3Buttons" "yes"
    Option         "ZAixsMapping" "4 5"
EndSection

 

注销并重新登陆下,看看是不是滚轮可以用了?

http://www.linux521.com/2009/newbie/200905/3455_2.html对本文有所贡献

原创粉丝点击