Enabling trackpoint scrolling emulation in Ubuntu 11.10

by dev on Nov.23, 2011, under IT

One feature I love that is missing in a default installation of Ubuntu is horizontal and vertical scrolling in browsers by pressing the mouse wheel.

To enable it you can do the following in our terminal:

  1. Find out the id corresponding to your device, in this case 9:
    xinput --list

    xinput --list

  2. List the properties of your device using the id previously found:
    xinput list-props 9

    xinput list-props 9

  3. You will be interested in changing the following settings so check their ids as well:
    • Evdev Wheel Emulation (260): 0
    • Evdev Wheel Emulation Axes (261): 0, 0, 4, 5
    • Evdev Wheel Emulation Button (264): 4
  4. Change these values to the following values:
    xinput set-int-prop 9 260 8 1;xinput set-int-prop 9 261 8 6 7 4 5; xinput set-int-prop 9 264 8 2;
  5. Test to see if it works.
  6. To store the changes permanently, create a .xsessionrc in your home directory, make it executable and store the command line from point 4 in it.
  7. Enjoy :)

Thanks to http://www.thinkwiki.org/wiki/How_to_configure_the_TrackPoint

1 Star2 Stars3 Stars4 Stars5 Stars (1 votes, average: 5.00 out of 5)
Loading ... Loading ...
:,

Tell us what you think