Ubuntu 8.10 Intrepid Ibex – ThinkPad Middle Button Scrolling – EmulateWheel

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:

16 Responses to “Ubuntu 8.10 Intrepid Ibex – ThinkPad Middle Button Scrolling – EmulateWheel”


Leave a Reply