Activate Scrolling with Middle Trackpad Button

1438 ワード

i would like to share my solution how to activate the featureto scroll by holding down the middle trackpad button and movingthe trackpoint up/down on a thinkpad (x41,i use x200, it also works) cause as i noticed allpostings relating to this issue refering to the xorg.conf,but as iread in the ubuntuusers forum this function will now be handelt by halso here are the steps that worked for me finaly:
  • cd/etc/hal/fdi/policy/
  • touch mouse-wheel.fdi
  • vim mouse-wheel.fdi
  • press "i"to switch to insert mode
  • copy & paste:
    Code:
    <?xml version="1.0" encoding="utf-8"?>
    <deviceinfo version="0.2">
     <device>
      <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.YAxisMapping" type="string">4 5</merge>
       <merge key="input.x11_options.XAxisMapping" type="string">6 7</merge>
      </match>
     </device>
    </deviceinfo>

  • press esc to leave insert mode
  • press "ZZ"to save & exit vim
  • reboot system & enjoy scrolling