May 6, 2007

Ubuntu 7.04/8.04 and Mouse Wheel

I've just installed unbuntu 7.04 in VMWare. Everything is cool except that the mouse wheel stops working.

sudo gedit /etc/X11/xorg.conf

Find the mouse section which may look like

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

Change Options "Protocol" "ps/2" to Option "Protocol" "IMPS/2"

Save the file and restart X (ctrl + alt + backspace).

It works for me. Happy scrolling!

UPDATE: 2008-8-18

Now with Ubuntu 8.04 running in VMWare Workstation 6.04 on Windows Server 2008...

The working config for me is as below:

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

The mouse cursor moves very smoothly crosses hosting and virtual machine seamlessly.

3 comments:

Anonymous said...

Yes, it works in my vmware too! Thanks for your tips!

babaloomer said...

why can't i find the /usr/X11/xorg.conf file, nor the /usr/X11/ directory?

i also did a search of the entire filesystem and did not find any file named xorg.conf. what have i done wrong?

(running Ubuntu 7.04 - the Feisty Fawn - released in April 2007, inside a vmware player)

Bill White said...

Excellent - thank you!

btw, 'locate xorg.conf' finds the file in /etc/..., not /usr/...

Cheers -

bw