Difference between revisions of "Synaptics TouchPad driver for X"

From ThinkWiki
Jump to: navigation, search
(Make it a more generic page and add the SHMconfig thingy)
(Configuration using Gnome)
 
(11 intermediate revisions by 2 users not shown)
Line 1: Line 1:
==Synaptics TouchPad driver for X.Org/XFree86==
+
==Synaptics TouchPad driver for X.Org==
This is a driver for all synaptics touchpads for X.Org/Xfree86 4.x. The driver is not written portably; it will not work on operating systems other than Linux and FreeBSD (by ports).
+
This is a driver for all synaptics touchpads for X.Org. The driver is not written portably; it will not work on operating systems other than Linux and FreeBSD (by ports).
  
 
=== Features ===
 
=== Features ===
Line 11: Line 11:
 
*Adjustable finger detection
 
*Adjustable finger detection
  
=== Configuring under X.Org ===
+
=== Configuration using Gnome ===
 +
Starting with Xorg 1.6 and Gnome 2.26, you can configure some of the touchpad features with {{path|gnome-mouse-properties}}.
  
Some common options under X.Org
+
[[image:Screenshot-Mouse_Preferences.png]]
...
+
 
Section "InputDevice"
+
Alternatively, you might want to use [http://live.gnome.org/GPointingDeviceSettings GPointing Device Settings] as a graphical frontend, which allows configuration of both the TrackPoint and the TouchPad and is available for Fedora 12, Ubuntu 9.10 and Debian squeeze in the standard package repositories.
        ...
+
 
        Driver      "synaptics"
+
[[image:Screenshot-GPointing Device Settings-TouchPad.png]]
        ...
+
 
        '''Option      "TouchpadOff" "1"''' 
+
=== Configuration using xinput ===
        '''Option      "SHMconfig"  "on"'''
+
This requires that you have at least Xorg 1.6 and have the xinput utility installed (part of the optional xorg-x11-apps rpm on Fedora)
        ...
+
These settings are changed on the fly and will be lost when the X server is restarted
EndSection
 
...
 
  
'''TouchpadOff''' disables the TouchPad but leaves the trackpoint functional
+
To query the available options
 +
xinput list-props "SynPS/2 Synaptics TouchPad"
  
'''SHMconfig''' enables on-the-fly changes to the configuration of the driver through external programs
+
For instance to disable the touchpad (but not trackpoint) using xinput
 +
xinput set-int-prop "SynPS/2 Synaptics TouchPad" "Synaptics Off" 8 1
  
Under KDE control center the comfortable way is '''ksynaptics'''.
+
Or alternatively to disable the TrackPoint
 +
xinput set-int-prop "SynPS/2 Synaptics TouchPad" "Synaptics Guestmouse Off" 8 1
  
For Gnome users there is '''gsynaptics''' ([http://gsynaptics.sourceforge.jp/ Homepage]).
+
=== Configuration using xorg.conf ===
 +
Some common options under X.Org
 +
<pre>
 +
...
 +
Section "InputDevice"
 +
Identifier      "Synaptics Touchpad"
 +
Driver "synaptics"
 +
Option "SendCoreEvents"  "true"
 +
Option "Device"   "/dev/psaux"
 +
Option "Protocol"   "auto-dev"
 +
#      Option          "TouchpadOff" "1"              #Uncomment if you just want to disable the touchpad and use only the trackpoint
 +
# Option "HorizScrollDelta" "0"          #Why is this in here by default. By Gods, it kill horizontal scrolling!
 +
Option          "RightEdge"        "5500"      #This is a little bigger than the default narrowing the scroll region
 +
Option          "BottomEdge"      "4500"      #This is a little bigger than the default narrowing the scroll region
 +
Option          "RTCornerButton"  "0"          #disable Right Top corner "button"
 +
Option          "RBCornerButton"  "0"          #disable Right Bottom corner "button"
 +
        Option          "SHMConfig"        "on"        #this allows configuration of the touchpad using qsynaptics, synclient, or what have you.  
 +
EndSection
 +
</pre>
  
They provide a GUI way to control driver settings such as circular scrolling and tap to click.  
+
To configure the touchpad on the fly, '''ksynaptics''' can be found under the KDE control panel. For Gnome users there is [http://gsynaptics.sourceforge.jp/ gsynaptics]. And for those who prefer to remain non-partisan, there's also '''qsynaptics'''.
 +
They all provide a GUI way to control driver settings such as circular scrolling and tap to click.  
  
 
For the console or scripting uses there is '''synclient'''.
 
For the console or scripting uses there is '''synclient'''.
  
 
===Project Homepage===
 
===Project Homepage===
[http://w1.894.telia.com/~u89404340/touchpad/ Synaptics TouchPad driver for XOrg/XFree86]
+
[http://w1.894.telia.com/~u89404340/touchpad/ Synaptics TouchPad driver for XOrg]
  
 
[[Category:Drivers]] [[Category:R50]] [[Category:R50p]] [[Category:R51]] [[Category:T30]] [[Category:T40]] [[Category:T40p]] [[Category:T41]] [[Category:T41p]] [[Category:T42]] [[Category:T42p]]
 
[[Category:Drivers]] [[Category:R50]] [[Category:R50p]] [[Category:R51]] [[Category:T30]] [[Category:T40]] [[Category:T40p]] [[Category:T41]] [[Category:T41p]] [[Category:T42]] [[Category:T42p]]

Latest revision as of 10:35, 29 December 2010

Synaptics TouchPad driver for X.Org

This is a driver for all synaptics touchpads for X.Org. The driver is not written portably; it will not work on operating systems other than Linux and FreeBSD (by ports).

Features

  • Movement with adjustable, non-linear acceleration and speed
  • Button events through short touching of the touchpad
  • Dragging through short touching and holding down the finger on the touchpad
  • Middle and right button events on the upper and lower corner of the touchpad
  • Vertical scrolling (button four and five events) through moving the finger on the right side of the touchpad
  • Horizontal scrolling (button six and seven events) through moving the finger on the lower side of the touchpad
  • Adjustable finger detection

Configuration using Gnome

Starting with Xorg 1.6 and Gnome 2.26, you can configure some of the touchpad features with gnome-mouse-properties.

Screenshot-Mouse Preferences.png

Alternatively, you might want to use GPointing Device Settings as a graphical frontend, which allows configuration of both the TrackPoint and the TouchPad and is available for Fedora 12, Ubuntu 9.10 and Debian squeeze in the standard package repositories.

Screenshot-GPointing Device Settings-TouchPad.png

Configuration using xinput

This requires that you have at least Xorg 1.6 and have the xinput utility installed (part of the optional xorg-x11-apps rpm on Fedora) These settings are changed on the fly and will be lost when the X server is restarted

To query the available options

xinput list-props "SynPS/2 Synaptics TouchPad"

For instance to disable the touchpad (but not trackpoint) using xinput

xinput set-int-prop "SynPS/2 Synaptics TouchPad" "Synaptics Off" 8 1

Or alternatively to disable the TrackPoint

xinput set-int-prop "SynPS/2 Synaptics TouchPad" "Synaptics Guestmouse Off" 8 1

Configuration using xorg.conf

Some common options under X.Org

 ...
Section "InputDevice"
	Identifier      "Synaptics Touchpad"
	Driver		"synaptics"
	Option		"SendCoreEvents"   "true"
	Option		"Device"	   "/dev/psaux"
	Option		"Protocol"	   "auto-dev"
#       Option          "TouchpadOff" "1"               #Uncomment if you just want to disable the touchpad and use only the trackpoint
# 	Option		"HorizScrollDelta" "0"          #Why is this in here by default. By Gods, it kill horizontal scrolling!
	Option          "RightEdge"        "5500"       #This is a little bigger than the default narrowing the scroll region 
	Option          "BottomEdge"       "4500"       #This is a little bigger than the default narrowing the scroll region 
	Option          "RTCornerButton"   "0"          #disable Right Top corner "button" 
	Option          "RBCornerButton"   "0"          #disable Right Bottom corner "button"
        Option          "SHMConfig"         "on"        #this allows configuration of the touchpad using qsynaptics, synclient, or what have you. 
EndSection

To configure the touchpad on the fly, ksynaptics can be found under the KDE control panel. For Gnome users there is gsynaptics. And for those who prefer to remain non-partisan, there's also qsynaptics. They all provide a GUI way to control driver settings such as circular scrolling and tap to click.

For the console or scripting uses there is synclient.

Project Homepage

Synaptics TouchPad driver for XOrg