Ubuntu 8.10 Intrepid Ibex – ThinkPad Middle Button Scrolling – EmulateWheel

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”

  1. karob  on November 2nd, 2008

    sorry, this does not work an x300 , ibex 64

    could the “info.product”-key be an other?

    greetings karob

    Reply

  2. Eastwood  on November 2nd, 2008

    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 :)

    Reply

    • Westy  on February 11th, 2009

      Thanks!!! That worked well on my T61p

      Reply

  3. Mathias Schulze  on November 6th, 2008

    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.

    Reply

  4. Eastwood  on November 6th, 2008

    Mathias, thanks for the tip!

    Reply

  5. victor  on November 9th, 2008

    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.

    Reply

  6. Jonathan Addleman  on November 15th, 2008

    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)

    Reply

  7. phinn  on November 17th, 2008

    This unfortunately didn’t do anything on my Thinkpad T60. Still looking for a solution…

    Reply

  8. osr  on December 11th, 2008

    You can do it in Firefox by typing in the address bar about:config and changing general.autoScroll to true.

    Reply

    • Eastwood  on December 11th, 2008

      What does autoscroll do?

      Reply

  9. dan  on January 20th, 2009

    beautiful. thx.

    Reply

  10. Michael Scheper  on January 21st, 2009

    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.

    Reply

  11. Val  on January 24th, 2009

    thanks osr, brilliant :)

    Reply

  12. gurbo  on April 21st, 2009

    Thanks Eastwood! It worked for me.
    I’m running Intrepid 64bit on a X61 tablet

    Reply

  13. yan  on May 31st, 2009

    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

    Reply

  14. celian  on January 6th, 2010

    The firefox setting (“about:config -> general.autoscroll = true) does the trick for me (X200). Thanks!

    Reply


Leave a Reply

Powered by WP Hashcash