红联Linux门户
Linux帮助

Solve mouse scroll problems in ubuntu

发布时间:2008-08-09 15:46:27来源:红联作者:xlsogb
Steps to Enable Mouse Wheel Scrolling in Ubuntu Hardy under VMware Fusion

Launch a Terminal (Applications menu -> Accessories -> Terminal).

Type:

sudo gedit /etc/X11/xorg.conf

Scroll down (it’s not far, perhaps 20 - 30 lines) till you see a block that looks like this:

Section "InputDevice"
Identifier "Configured Mouse"
Driver "vmmouse"
[.. blah blah blah ..]
EndSection

Replace that whole section with this:

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

Save the file, then close all your apps and hit Ctrl+Alt+Backspace. X restarts within a few seconds, and you’re back up and running. Scrolling should now be possible!

I haven’t gotten to the bottom of horizontal scrolling yet. I thought a ZAxisMapping of “4 5 11 12″ would do it, but I suspect either VMware Fusion’s mouse driver does things a different way, or maybe it’s mouse specific (not likely). I’ll update this post if I work it out.
文章评论

共有 0 条评论