LAPTOP: thinpad x200 7457
Operating System:
$ Uname-
Linux veini-laptop 2.6.31-18-generic # 55-ubuntu SMP Fri Jan 8 14:55:26 UTC 2010 i686 GNU/Linux
1. Adjust the sensitivity and speed of Red Riding Hood
$ Su-
$ <Enter the root user password>
# Echo-N 120>/sys/devices/platform/i8042/serio1/Speed
# Echo-N 240>/sys/devices/platform/i8042/serio1/sensiti.pdf
If the speed and sensitivity cannot be found under serio1, check whether serio0 exists. In fact, the simplest way is to use the find command for search.
After the system is restarted, the previously set value is reset to the default value. The solution is as follows:
Add the following content to/etc/rc. Local (before exit 0 ):
Trackpath = $(find/sys-print0 | grep-fzz "/serio1/speed" | sed S/speed //)
[-F $ trackpath/speed] & Echo-N 120> $ trackpath/Speed
[-F $ trackpath/sensiti.pdf] & Echo-N 240> $ trackpath/sensiti.pdf
2. Implement middle-key scrolling
Method 1:
Create the/etc/hal/fdi/policy/mouse-wheel.fdi file with the following content:
<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.emulate3buttons" type = "string"> true </merge>
<Merge key = "input. x11_options.emulatewheeltimeout" type = "string"> 200 </merge>
<Merge key = "input. x11_options.xaxismapping" type = "string"> 6 7 </merge>
</Match>
Method 2:
Install sudo apt-Get install gpointing-device-settings
Configuration: preference-> pinting devices-> Use middle emulation, select button [2].
For more ThinkPad applications on Ubuntu, visit thinkwiki.