how to enable thinkpad track point mouse wheel in ubuntu 9.10

create or edit file /etc/hal/fdi/policy/mouse-wheel.fdi, change its content to below
<? xml version="1.0" encoding="UTF-8" ?>
< 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 run the below command

sudo rm /var/cache/hald/fdi-cache
sudo /etc/init.d/hal restart
sudo /etc/init.d/gdm restart

你可能感兴趣的:(how to enable thinkpad track point mouse wheel in ubuntu 9.10)