ITeye博客

Linux touchpad too sensitive

101oio · 2009-11-27 19:35 · Linux · Markdown

http://ubuntuguide.org/wiki/Ubuntu:Feisty#Disable_the_touchpad_while_typing https://help.ubuntu.com/community/SynapticsTouchpad#shmconfig

Touchpad Disable the touchpad while typing

The utility syndaemon can be used to temporarily disable a Synaptic touchpad while typing.

First you must edit /etc/X11/xorg.conf to allow the syndaemon utility to access the touchpad's settings. Make a backup of the file, then:

sudo gedit /etc/X11/xorg.conf

Find the touchpad section:

Section "InputDevice" Identifier "Synaptics Touchpad" Driver "synaptics" Option "SendCoreEvents" "true" Option "Device" "/dev/psaux" Option "Protocol" "auto-dev" Option "HorizScrollDelta" "0" Option "SHMConfig" "on" EndSection

Add the SHMConfig option if it does not already exist.

After you restart X (log out and log in again), you will be able to run syndaemon.

syndaemon -t -d

You may have to restart your computer.

Use syndaemon -h to view additional options.

To have syndaemon start up automatically when you log on, add the command as a new startup program (System -> Preferences -> Sessions -> Startup Programs). Adjust touchpad sensitivity

Although gsynaptics allows you to adjust sensitivity, it still isn't sensitive enough for all users. This allows for greater fine tuning of touchpad sensitivity. First you must edit /etc/X11/xorg.conf. Make a backup of the file, then:

sudo gedit /etc/X11/xorg.conf

Find the touchpad section:

Section "InputDevice" Identifier "Synaptics Touchpad" Driver "synaptics" Option "SendCoreEvents" "true" Option "Device" "/dev/psaux" Option "Protocol" "auto-dev" Option "HorizScrollDelta" "0" Option "SHMConfig" "on" EndSection

Add the following after SHMConfig:

Option "MinSpeed" "1.0" Option "MaxSpeed" "1.3" Option "AccelFactor" "0.3"

Modify the values to personal taste. After you restart X (log out and log in again), you will using the new sensitivity settings.

############################ When you meet "Can't access shared memory area. SHMConfig disabled?" when runing "syndaemon -t -d" . Please check your "ServerLayout" Section in xorg.conf

Section "ServerLayout" Identifier "X.org Configured" Screen 0 "Screen0" 0 0 InputDevice "Mouse0" "CorePointer" InputDevice "Synaptics Touchpad" "SendCoreEvents" InputDevice "Keyboard0" "CoreKeyboard" EndSection

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。