Using xinput:
xinput set-int-prop "TPPS/2 IBM TrackPoint" "Wheel Emulation" 8 1
xinput set-int-prop "TPPS/2 IBM TrackPoint" "Wheel Emulation Button" 8 2
The right way. Make a fdi file in /etc/hal/fdi/policy/mouse-wheel.fdi that looks like this:
true
2
4 5
true
To keep the scrolling working after a suspend do the following:
* Make the file: sudo vi /etc/acpi/resume.d/97-reload-psmouse
* Insert
#!/bin/sh
modprobe -r psmouse
sleep 2
modprobe psmouse
* Make it executable: sudo chmod +x /etc/acpi/resume.d/97-reload-psmouse
This will regain you scrolling mouse button. But what a mess to get it working.....
Remember that the "*-reload-psmouse" must be executed prior to "98-acpi-unlock.sh" otherwise it wouldn't be run on resume. That's why I've called it "97-reload-psmouse".
==== Jackalope/Karmic ====
Scrolling with Trackpoint
Create a new file called /etc/hal/fdi/policy/mouse-wheel.fdi typing:
sudo gedit /etc/hal/fdi/policy/mouse-wheel.fdi
And fill it with this code:
true
2
6 7
4 5
4 5
true
==== Lucid ====
To get scrolling working in Lucid you need the following:
Hit Alt-F2 and run
gksu gedit /usr/lib/X11/xorg.conf.d/20-thinkpad.conf
Paste in:
Section "InputClass"
Identifier "Trackpoint Wheel Emulation"
MatchProduct "TPPS/2 IBM TrackPoint|DualPoint Stick|Synaptics Inc. Composite TouchPad / TrackPoint|ThinkPad USB Keyboard with TrackPoint"
MatchDevicePath "/dev/input/event*"
Option "EmulateWheel" "true"
Option "EmulateWheelButton" "2"
Option "Emulate3Buttons" "false"
Option "XAxisMapping" "6 7"
Option "YAxisMapping" "4 5"
Option "EmulateWheelTimeout" "200"
EndSection
Logout and back in then your set.