How to enable mouse wheel scrolling in Kubuntu under VMWare
Posted July 18th, 2008 in Linux/Unix/BSD and VMWare
I've just set up a new VMWare virtual machine with Kubuntu 8.04 and the scroll wheel on my mouse didn't work. The steps to correct this are pretty simple and are covered in this post. This should work for any Ubuntu/Kubuntu variant when running in VMWare.
In a terminal session open the /etc/X11/xorg.conf file. The following command illustrates doing this with the "nano" text editor:
sudo nano /etc/X11/xorg.conf
Locate the section labelled "InputDevice" which, by default, should look like this:
Section "InputDevice" Identifier "Configured Mouse" Driver "vmmouse" Option "CorePointer" Option "Device" "/dev/input/mice" EndSection
Add the following to it:
Option "Protocol" "ImPS/2" Option "Buttons" "5" Option "ZAxisMapping" "4 5"
so it now looks like 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
Then save the file, save any stuff in the applications you have open and log out. From the Kubuntu login screen, either do Ctrl+Alt+Backspace to restart the X Server and for the settings to apply, or click the little menu button and select the "Restart X Server" option as shown in the screenshot below. The menu option you need to click has a black arrow pointing at it in the screenshot below.

After the X Server has restarted, the login screen will appear again so log in and the scroll wheel on your mouse should now work.
Related posts:
- Install VMWare Tools on a Debian 5 Guest Virtual Machine (Saturday, March 7th 2009)
- VMWare Server - errors opening virtual machines from Workstation/Player (Friday, June 20th 2008)
- Configuring VMWare Tools stops the network (Wednesday, October 31st 2007)
Subscribe / Follow / Email / Bookmark / Share
Use the buttons below to subscribe to my RSS feed to be notified next time something is posted, share this post with others, or subscribe by email to have my posts sent in a daily email, follow me on Twitter or follow me on Facebook.
At least one new post is usually made every day. See my posting schedule for more details.
