Wednesday, March 25, 2009

Scrolling with the Thinkpad's TrackPoint in Ubuntu 8.10 Intrepid

อยากใช้ TrackPoint ให้แก้ไขตามนี้ครับ
สร้างไฟล์ /etc/hal/fdi/policy/mouse-wheel.fdi โดยให้เนื้อหาประมาณว่า
<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.ZAxisMapping" type="string">4 5</merge>
<merge key="input.x11_options.Emulate3Buttons" type="string">true</merge>
</match>

แล้ว restart gdm ใหม่โดย Ctrl+Alt+Backspace
ในเวอร์ชั่นถัดไปคือ Jaunty น่าจะใช้งานได้เลยครับ

อ้างอิงจาก http://psung.blogspot.com/2008/09/scrolling-with-thinkpads-trackpoint-in.html

No comments: