I was having problems installing VMware Tools on Ubuntu Hardy (8.04) under VMware Fusion but got to the bottom of it.
The next problem was trying to get the mouse scroll wheel to work. I did some Googling and most of the guides suggested I change a single line in xorg.conf (namely, set the "Protocol" of the mouse device to "ImPS/2"). It didn't work. On a limb I thought I'd try changing the driver from "vmmouse" to "mouse" and this solved the problem, but the mouse tracking and acceleration was TOTALLY different between OS X and Linux.. eugh!
With some perseverance, I've found a solution. You can use the vmmouse driver, keep the synchronized mouse tracking and acceleration, and use your mouse wheel as it was intended.
I have been told this technique works on VMware Workstation and VMware Player on the PC too, but I haven't tried it on there myself.
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.






{ 8 trackbacks }
{ 133 comments }
← Previous Comments
Thank Cooper, It worked for me too.
VMware Workstation ACE 6.0 / xp / UbuntuStudios
(= Ubuntu 8.04 - the Hardy Heron)
Thanks! This was driving me crazy!
Crazy!
I can verify that this works like a charm on VMWare Workstation on PC. Thanks a bunch!
Woot.
Gracias.
OS X Leopard (10.5.4)
Fusion 1.1.3
Hardy with all updates (as of 7/31/08)
Thanks! IT WORKS!
Thanks......!
Thanks !
you absolutely rock.
I just finished installing ubuntu 8.0.4 and the very first thing I noticed was the scroll didnt work on my mouse. your site is the first I came across and this worked right away.
THANKS!
using the option Drive "vmmouse" resulted in some limited horizontal scroll function like 6 lines at a time and then I would have to pause. replacing "vmmouse" with "mouse" and the scroll wheel behaves as it should. Windows XP with VMware workstation 6 running Ubuntu 8.04 Hardy Heron with MS Wireless desktop Elite Keyboard and mouse NOTE: keyboard scroll function not yet working :(
thx peter for this article it worked well but the os display in the beginning that the mouse need some thing like Assistive Technologies
i don't know what this but the wheel now works and I'm very happy with that
Works great! I was going crazy trying to get this to work and had given up hope until I stumbled across your article. Thank you for figuring this out and sharing your discovery.
i can't click the scroll button, any suggestions?
Thank you very much for this. It worked great.
Christoph
Thank you very much.
It's great.
Fantastic thank you. I had tried all sorts of things to get this working and your suggestion worked straight away.
Cheers
Great, thanks.
Worked fine with OSX Leopard/VMWare 1.1.1
Thank You, Peter. This worked for me.
VMWare-Player 2.04 on Vista Ultimate SP1 32bit
Guest-OS: Ubuntu 8.04.1-JeOS with xubuntu-desktop
Logitech Cordless Lasermouse
another success, thanks!
vmfusion
macbook trackpad and mighty mouse both work
Thanks for the info.
Works a treat on my Mac Pro, VMWare Fusion 1.1.3 running Ubuntu 8.04 (64 bit) with wireless mighty mouse.
Now if only I'd found this a few days ago... Great work. It fixed the problem and worked a lot better than my method!
Worked for me on xp and hardy thanks!
Works great, thanks a lot!
worked like a charm Vista x64 host, Workstation 6
I followed the same but had to be modified a little to the following:
Section “InputDevice”
Identifier “Mouse0”
Driver “mouse”
Option “CorePointer”
Option “Device” ”/dev/mouse”
Option “Protocol” “ImPS/2”
Option “Buttons” “5”
Option “ZAxisMapping” “4 5”
EndSection
Sorry forgot to mention that it works great. Thanks for posting this
Thanks, works like a charm. Vista x64 host OS.
Thnx for tip.........m using XP through VMWare it works fine...
works great for me!
host 64bit ubuntu 8.04.1
guest 32bit ubuntu 8.04.1
Thanks a lot.
It works perfectly ;-)
Genius, I spent quite some time trying to get this to function, I first thought it was an issue with the VMware driver, then I stumbled onto your link and this fix resolved my issue, many thanks.
Chris
1. Have an annoyance with the scroll wheel not working
2. Do a search in google
3. This article comes up first
4. Follow the steps
5. Everything works perfectly
Thank you
Thanks very much. Now all works! Mac Mini, 10.5.4, Ubuntu and XP of course with VMware. Now my bluetooth mouse and bluetooth Mac keyboard work great with Ubuntu. Keep uo the good work.
Thanks, Peter! Worked like a charm.
Great job mate...works great now
Yes, this did the job on my CentOS 5.2 64 bit host, VMWare Server 4 and Ubuntu 8.04 64 bit guest, thank you!
Yes, this did the job on my CentOS 5.2 64 bit host, VMWare Server 1.0.4 and Ubuntu 8.04 64 bit guest, thank you!
Cheers mate, it worked a charm! BTW, where did you learn these 'system administration' skills? Ubuntu forums, or, Google, or, a really good Linux book or ALL of the above? ;-)
Thanks a lot...
works for me on VMWare Workstation 6.x. thanks man!
Thanks worked for me
You're the man or woman. Thanks
Thanks, it also worked for me :-)
Sadly this works not for me.
VMWare Player 2.05 with Ubuntu 8.04 on WinXP Pro WITH DUAL MONITOR. Maybe this issue is caused by the dual monitor system?!? I did not installed the original VMWare Tools! I just activated the vmvideo and vmmouse packets in the manager. Could this be relevant?
kind regards, Marv
it worked like a charm with Ubuntu 8.04 in VMware Player on a Windoze XP Pro computing machine. thanks!
Word! Worked like a charm on Vmware Workstation w/ Ubuntu 8.04 Desktop.
Hi !
Thanks very much. Works on vmware 6.0 as well.
Thanks, this work perfect, very easy, and fast!.
It worked for me!!
windows xp running ubuntu 8.04
I just had to alter the following line from:
Option "Protocol" "ImPS/2"
to
Option "Protocol" "ImUSB"
because I have a usb mouse and not a ps/2 and all was good.
Thanks for the help.
I guess everyone else has already said it all THANKS! I have been spending hours searching for the answer to fix this mouse issue. Everything is now working great.
Worked! Thanks.
← Previous Comments
Comments on this entry are closed.