`

鼠标滚轮在虚拟的linux的问题

阅读更多
在命令行下输入 sudo gedit /etc/X11/xorg.conf

然后找到"Configured Mouse" section,按照以下设置

Section "InputDevice"
    Identifier    "Configured Mouse"
    Driver        "mouse"
    Option        "CorePointer"
    Option        "Device"    "/dev/input/mice"
    Option        "Protocol" "ImPS/2"
    Option        "ZAxisMapping" "4 5" 
    Option        "Emulate3Buttons" "true"
EndSection


然后重启X

P.S. 还有要注意的是运行虚拟软件的系统(比如windows)是否有鼠标辅助软件运行, 如果有的话,可能会与VMware冲突导致鼠标滚轮失灵。所以运行VM前关闭这类软件。
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics