• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
The Electric Toolbox Blog

The Electric Toolbox Blog

Linux, Apache, Nginx, MySQL, Javascript and PHP articles

  • Applications
  • FCKEditor
  • Apache
  • Windows
  • Contact Us
Home / Article / Linux/Unix/BSD / How to enable mouse wheel scrolling in Kubuntu under VMWare

How to enable mouse wheel scrolling in Kubuntu under 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.

restart the x server from kubuntu login screen

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.

Check Out These Related posts:

  1. How to Install Linux screen
  2. Get the mouse co-ordinates with jQuery
  3. Get the mouse co-ordinates with jQuery when an element is clicked
  4. jQuery: Mouse co-ordinates within the element when mouseover or click an element

Filed Under: Linux/Unix/BSD, VMWare

Primary Sidebar

Categories

  • Apache
  • Applications
  • Article
  • Case Studies
  • Email Servers
  • FCKEditor
  • HTML And CSS
  • Javascript
  • Linux/Unix/BSD
  • Microsoft SQL Server
  • Miscellaneous Postings
  • MySql
  • Networking
  • Nginx Web Server
  • Offsite Articles
  • OSX
  • PHP
  • Quick Tips
  • RFC – Request for Comments
  • SilverStripe
  • VMWare
  • VPN
  • Windows
  • WordPress

Recent Posts

  • Vim Show Line Numbers
  • Add User To Group Linux
  • Chmod 777 Tutorial
  • How to Copy Directory Linux
  • Linux create user

Copyright © 2021. ElectricToolBox. All Rights Reserved.

  • Contact Us
  • Copyright Info
  • Privacy Policy
  • Sitemap