Your best source of information and news about hardware, xp and microsoft on the internet

Vista ARTICLES TOP 50 Spyware Virus Vista SOFT Vista HELP

How To Enable Mouse Wheel Scrolling in Ubuntu 8.04 on VMware


I was trying to make the vmware virtual appliance ubuntu 8.04 mouse scroll wheel to work, and I found the solution here. It worked great.

Original site http://peterc.org/2008/64-how-to-enable-vertical-mouse-wheel-scrolling-in-ubuntu-hardy-on-vmware-fusion.html

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.

Popularity: 2%


Written by computerboom. Read more great feeds at is source WEBSITE
12 comments.
Read more articles on otherSoftware.

Related articles

12 comments

Read the comments left by other users below, or:

Get your own gravatar by visiting gravatar.com Ben
#1. May 5th, 2008, at 12:32 AM.

Sweet, man. I was trying the old 7.10 way myself, too… but it didn’t go. This makes everything scrollable again!

Get your own gravatar by visiting gravatar.com Shawn
#2. May 5th, 2008, at 1:52 PM.

Thanks. Worked perfectly with 8.04 LTS Desktop and my 3 button Microsoft wheel mouse. Under Vista with VMware 6.0.3 workstation.

Get your own gravatar by visiting gravatar.com nefilimd
#3. May 5th, 2008, at 5:26 PM.

works with logitech laser — vmware fedora 8 also. nice one thanks.

Get your own gravatar by visiting gravatar.com Eric
#4. May 8th, 2008, at 5:20 PM.

Odd for me, it worked for a while, but after reapplying vmware tools upgrade, the mouse was disfunctional until I changed the driver option from vmmouse to mouse. Vista Business, VMware workstation 6.0.3 build-80004, ubuntu 8.04 Hardy Heron.

Get your own gravatar by visiting gravatar.com Shadal
#5. May 13th, 2008, at 7:36 PM.

Thank you, this worked great!

Get your own gravatar by visiting gravatar.com Doni
#6. May 20th, 2008, at 4:12 AM.

Thaks!
That worked for me on Ubuntu 8.04 running in vmware on PC.

Get your own gravatar by visiting gravatar.com Jay
#7. June 20th, 2008, at 7:31 AM.

Thank you . Good work man .

Get your own gravatar by visiting gravatar.com Bill
#8. June 26th, 2008, at 8:27 AM.

Thanks much, quite easy for us new to Ubuntu users…

Get your own gravatar by visiting gravatar.com Rod
#9. July 4th, 2008, at 10:12 PM.

Excellent. This did the trick for me!

Get your own gravatar by visiting gravatar.com Bill F
#10. July 16th, 2008, at 1:55 AM.

Thanks for this - it worked very reliably on VMWare Player 2.0.4 and Ubuntu 8.04 running under Vista.

Out of interest, I also tried the suggestion some others have made, of just changing Driver “vmmouse” to “mouse”. This worked, but after awhile, whenever I moved the mouse close to the top of the screen, VMWare displayed two mouse pointers while I remained near the top of the screen. Sometimes I could not even move the mouse above the Firefox toolbar. Holding down the Ctrl and Alt key to move back to Vista, then immediately clicking on VMWare fixed it, but it always returned. Bizarre!

Making the configuration changes suggested above avoids this behaviour, but I thought I’d mention it in case anyone else just changes ‘vmmouse’ to ‘mouse’.

Once again, thanks for this.

Get your own gravatar by visiting gravatar.com d0234b
#11. July 20th, 2008, at 7:28 AM.

It worked ok on VMWare Workstation 6.0.3 with Windows XP SP2 Pro as a host and Fedora 7 as a guest. Thanks

Get your own gravatar by visiting gravatar.com Jordan
#12. October 4th, 2008, at 5:49 PM.

Worked well.. I’m using VMWare Workstation 6.0.3 with Vista .. Ubuntu 8.04 .. Mouse scroll didn’t work, after the ctrl+alt+backspace, X restarted and all was well.

Thanks alot.

Leave your comment...

If you want to leave your comment on this article, simply fill out the next form:




You can use these XHTML tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong> .