If you have a laptop, you may find that your touchpad "just works" without any special configuration. However, you can get much finer control over the behavior of your touchpad by using the synaptics touchpad driver, which is included with the SUSE Linux distribution.
To configure this driver, you will need to edit the X server configuration file /etc/X11/xorg.conf. Be aware that any changes you make to xorg.conf will be overwritten if you run sax2. You will need to be root to edit this file.
First, in the ServerLayout section of the file, add the line:
InputDevice "TouchPad" "AlwaysCore"
Second, add an InputDevice section that loads the synaptics driver and specifies its parameters. Here is an entry to get you started:
Section "InputDevice"
Driver "synaptics"
Identifier "TouchPad"
Option "Device" "/dev/psaux"
Option "Protocol" "auto-dev"
Option "LeftEdge" "200"
Option "RightEdge" "800"
Option "TopEdge" "150"
Option "BottomEdge" "600"
Option "FingerLow" "25"
Option "FingerHigh" "30"
Option "MaxTapTime" "180"
Option "MaxTapMove" "220"
Option "VertScrollDelta" "100"
Option "MinSpeed" "0.09"
Option "MaxSpeed" "0.18"
Option "AccelFactor" "0.0015"
Option "SHMConfig" "on"
EndSection
The option that enables SHMConfig is particularly important. It allows you to set the synaptics driver parameters on the fly, using the synclient program. With these entries in place in xorg.conf, log out from the desktop and log in again, to force a restart of the X server.
Your touchpad should now be enabled using the synaptics driver.
There are many parameters that you can adjust to configure operation of this driver. For a detailed description, look at the manual page for "synaptics," using the command:
$ man synaptics
The program synclient lets you tweak the synaptics driver settings on the fly, without having to edit xorg.conf and restart the X server each time. However, changes you make with synclient affect only the currently running X server. Once you have established satisfactory settings using synclient, you should edit them into the xorg.conf file.
You can interrogate the current synaptics driver settings with the command:
$ synclient -l
You can change one specific parameter with a command such as:
$ synclient LeftEdge=150
You can obtain a readout of the coordinates and other parameters reported by the touchpad using a command such as:
$ synclient -m 100
For example, I have used this command to examine the range of X and Y coordinates reported by the touchpad in order to determine appropriate values for parameters such as LeftEdge, RightEdge, TopEdge, and BottomEdge.
A common requirement is to enable the touchpad for cursor movement but to disable it for simulated button presses via tapping. You can do this by setting the parameter MaxTapTime to zero, either by using the command:
$ synclient MaxTapTime = 0
or by editing the file xorg.conf.
From: O'Reilly - SUSE Linux, Chris Brown
Link for Touchpad Driver:
1. XFree86/X11 Synaptics TouchPad Driver for Linux Laptops and Notebooks
2. Unixboard.de
3. Synaptics TouchPad driver for XOrg/XFree86
댓글 없음:
댓글 쓰기