Making the mouse wheel work in Debian

A lot of people are used to the little wheel on the mouse. So it is pretty annoying when it does not function.

Login as root

Now you need to edit the XF86Config-4 file using the following command

# nano -w  /etc/X11/XF86Config-4

The nano editor will be started and the config file we have to edit will be loaded.

Search for the section “InputDevice”. Change following section

Section “InputDevice”
Identifier “Configured Mouse”
Driver “mouse”
Option “CorePointer”
Option “Device” “/dev/psaux”
Option “Protocol” “PS/2”
Option “Emulate3Buttons” “true”
Option “ZAxisMapping” “4 5”
EndSection

to

Section “InputDevice”
Identifier “Generic Mouse”
Driver “mouse”
Option “SendCoreEvents” “true”
Option “Device” “/dev/input/mice”
Option “Protocol” “ImPS/2”
Option “Emulate3Buttons” “true”
Option “ZAxisMapping” “4 5”
EndSection

Edit the option “Protocol” (in Identifier “Configured Mouse”) “PS/2” into “ImPS/2″, just like in the next section.

Save the file by typing CTRL+o and close the editor by typing CTRL-x.

Now close al the running programs and restart the Xserver or reboot.

Sponsored Link

One thought on “Making the mouse wheel work in Debian

Leave a comment

Your email address will not be published. Required fields are marked *