VMwareのUbuntuでマウスホイールを使う

どうもデフォルトだとマウスのホイールが使えないみたいです。
ということで以下を参考に設定。


まずは/proc/bus/input/devicesのマウスの項目を確認。

$ more /proc/bus/input/devices
.
.
I: Bus=0011 Vendor=0002 Product=0005 Version=0000
N: Name="ImPS/2 Generic Wheel Mouse"
P: Phys=isa0060/serio1/input0
S: Sysfs=/class/input/input3
H: Handlers=mouse1 event3 ts1
B: EV=7
B: KEY=70000 0 0 0 0 0 0 0 0
B: REL=103


/etc/X11/xorg.confを以下のように変更。

$ sudo vi /etc/X11/xorg.conf
.
.
Section "InputDevice"
        Identifier      "Configured Mouse"
        Driver          "mouse"
        Option          "CorePointer"
        Option          "Device"                "/dev/input/mice"
        Option          "Protocol"              "ps/2"
        Option          "ZAxisMapping"          "4 5"
        Option          "Emulate3Buttons"       "true"
EndSection

Section "InputDevice"
        Identifier      "Configured Mouse"
        Driver          "evdev"
        Option          "CorePointer"
        Option          "Device"                "/dev/input/event3"
        Option          "Protocol"              "ps/2"
        Option          "ZAxisMapping"          "4 5"
        Option          "Emulate3Buttons"       "true"
EndSection

に。


gdm再起動。

$ sudo /etc/init.d/gdm restart

これで無事使えるようになりました。

Ubuntu 徹底入門 The Official Ubuntu Book 日本語版 (DVD付)Ubuntu 徹底入門 The Official Ubuntu Book 日本語版 (DVD付)
Benjamin Mako Hill; Jono Bacon; Corey Burger; Jonathan Jesse; Ivan Krstic Ubuntu Japanese Team 株式会社トップスタジオ

Ubuntuサーバ構築ガイド LinuxWorld メモリアルDVDブック [2001-2007] 独習Linux Debian GNU/Linux徹底入門第3版 Sarge対応 Ubuntu Linux6スターターキット (Starter KIT series)

by G-Tools