在 VMWare 虚拟机中让 Ubuntu 使用鼠标滚轮

VMWare中装了Ubuntu,但是鼠标中间的滚轮不可用,翻页多了一些不便。解决如下:

sudo gedit /etc/X11/xorg.conf

在Section “InputDevice” 块里添加  Option “ZAxisMapping” “4 5”

Section “InputDevice”
Identifier    “Configured Mouse”
Driver        “vmmouse”
Option        “CorePointer”
Option        “Device”    “/dev/input/mice”
Option          “ZAxisMapping”  “4 5”
EndSection

然后 ctrl+alt+backspace ,重新登陆就可以使用滚轮翻页了!

p.s 修改前记得先备份!

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.