How to enable trackball scrolling in Ubuntu

There are many of us who still love using the Trackball on laptops (all the lenovos and some of the others) and not the touch pad. On Ubuntu, this isn’t enabled by default. Hence pressing the middle button and flicking the trackball doesn’t scroll. The following will help to enable that.

This has been tested on Ubuntu >= 10.10.

1. Open terminal, enter super-user mode.

2. Change to directory /usr/share/X11/xorg.conf.d/

3. Open an editor (vi or emacs) and enter the following lines in the file and save it as 20-thinkpad.conf.

Section "InputClass"
Identifier "Trackpoint Wheel Emulation"
MatchProduct "TrackPoint"
MatchDevicePath "/dev/input/event*"
Driver "evdev"
Option "EmulateWheel" "true"
Option "EmulateWheelButton" "2"
Option "Emulate3Buttons" "false"
Option "XAxisMapping" "6 7"
Option "YAxisMapping" "4 5"

4. Restart X (or gdm).

That’s it, scrolling with the trackball should now be possible. I have tested this on T60p and T61p lenovo laptops.



Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: