Update: For Ubuntu 10.04 Lucid Lynx instructions, click here.
Due to the changes in Xorg in Ubuntu 8.10 Intrepid, middle button scrolling stopped working. Gone the days of simply emulating right from Xorg. Thanks to Phil, here’s the solution:
Instead of modifying your xorg.conf, create a new file called /etc/hal/fdi/policy/mouse-wheel.fdi with the following contents:
<match key="info.product" string="TPPS/2 IBM TrackPoint">
<merge key="input.x11_options.EmulateWheel" type="string">true</merge>
<merge key="input.x11_options.EmulateWheelButton" type="string">2</merge>
<merge key="input.x11_options.XAxisMapping" type="string">6 7</merge>
<merge key="input.x11_options.YAxisMapping" type="string">4 5</merge>
<merge key="input.x11_options.ZAxsisMapping" type="string">4 5</merge>
<merge key="input.x11_options.Emulate3Buttons" type="string">true</merge>
</match>
Then, do the following:
sudo apt-get install build-essential git-core
sudo apt-get build-dep xserver-xorg-input-evdev
git clone git://git.freedesktop.org/git/xorg/driver/xf86-input-evdev
cd xf86-input-evdev
git reset --hard 5f2c8a2dcdf98b39997ee5e7c9a9ace3b640bfa3
./autogen.sh --prefix=/usr
make
sudo make install
Finally:
sudo /etc/init.d/hal restart
sudo /etc/init.d/gdm restart
Related posts:


sorry, this does not work an x300 , ibex 64
could the “info.product”-key be an other?
greetings karob
Hmm… I’m not too sure about that. Google around and see if you can find a solution. If you do manage to fix it, it’d be great if you could post your solution here
Thanks!!! That worked well on my T61p
On the X300 w/ Ubuntu 8.10, the name of the track point depends on whether you enable or disable the touch pad in the BIOS. Wheel emulation seems to work only with disabled touch pad.
Mathias, thanks for the tip!
doesnt seem to work on X61 running intrepid 64bit. I did just only run an upgrade though, so maybe a clean install would work better.
This doesn’t work for me either, on an X60s – I get this error in my syslog:
error in fdi file /etc/hal/fdi/policy/mouse-wheel.fdi:1: not well-formed (invalid token)
This unfortunately didn’t do anything on my Thinkpad T60. Still looking for a solution…
You can do it in Firefox by typing in the address bar about:config and changing general.autoScroll to true.
What does autoscroll do?
beautiful. thx.
That last command, sudo /etc/init.d/gdm restart, blanked my screen immediately and a few minutes later I decided I just needed to do a hard reset (i.e. press and hold the power button). But when my system came up again, this worked! Thank you.
thanks osr, brilliant
Thanks Eastwood! It worked for me.
I’m running Intrepid 64bit on a X61 tablet
If it doesn’t work, try removing /var/cache/hald/fdi-cache and restart.
From: http://psung.blogspot.com/2008/09/scrolling-with-thinkpads-trackpoint-in.html
The firefox setting (“about:config -> general.autoscroll = true) does the trick for me (X200). Thanks!