Thinkpad middle button scrolling

I'm running Ubuntu on my Thinkpad T60. Is there a way to get the middle button to act like a scroll like it would when it runs Windows?

I'd like to be able to hold the middle button down and scroll down a webpage using the red button.


Solution 1:

http://www.eastwoodzhao.com/thinkpad-middle-button-scroll-ubuntu-linux-10-04-lucid-lynx/

In short, run this: gksu gedit /usr/lib/X11/xorg.conf.d/20-thinkpad.conf and put this in the file:

Section "InputClass"
Identifier "Trackpoint Wheel Emulation"
MatchProduct "TPPS/2 IBM TrackPoint|DualPoint Stick|Synaptics Inc. Composite TouchPad / TrackPoint"
MatchDevicePath "/dev/input/event*"
Option "EmulateWheel" "true"
Option "EmulateWheelButton" "2"
Option "Emulate3Buttons" "false"
Option "XAxisMapping" "6 7"
Option "YAxisMapping" "4 5"
EndSection

Save and restart.

Solution 2:

Install package "gpointing-device-settings" Set options as follows:

check "Use middle button emulation"
check "Use wheel emulation"
select button "2"
check "Enable vertical scroll"

Screenshot