特殊:Badtitle/NS100:SynapticsTouchpad/Hardy:修订间差异
小 新页面: {{From|https://help.ubuntu.com/community/SynapticsTouchpad/Hardy}} {{Languages|UbuntuHelp:SynapticsTouchpad/Hardy}} #title Synaptics Touchpad Configuration - Ubuntu 8.04 and earlier This ... |
小无编辑摘要 |
||
(未显示同一用户的1个中间版本) | |||
第80行: | 第80行: | ||
EndSection | EndSection | ||
</nowiki></pre> | </nowiki></pre> | ||
To enable the changes log out of your desktop environment, and restart the X server by typing | To enable the changes log out of your desktop environment, and restart the X server by logging out and back in, or typing <code><nowiki>sudo /etc/init.d/gdm restart</nowiki></code>. | ||
<<Anchor(synclient)>> | <<Anchor(synclient)>> | ||
== Configuration with synclient == | == Configuration with synclient == | ||
第188行: | 第188行: | ||
EndSection | EndSection | ||
</nowiki></pre> | </nowiki></pre> | ||
To enable the changes | To enable the changes restart X by logging out and back in, or typing <code><nowiki>sudo /etc/init.d/gdm restart</nowiki></code>. | ||
== See also == | == See also == | ||
* [[UbuntuHelp:SynapticsTouchpad/ShortcutKey|Turning Synaptics Touchpads On/Off with a Shortcut Key]] | * [[UbuntuHelp:SynapticsTouchpad/ShortcutKey|Turning Synaptics Touchpads On/Off with a Shortcut Key]] | ||
---- | ---- | ||
[[category:UbuntuHelp]] | [[category:UbuntuHelp]] |
2010年5月20日 (四) 00:20的最新版本
文章出处: |
{{#if: | {{{2}}} | https://help.ubuntu.com/community/SynapticsTouchpad/Hardy }} |
点击翻译: |
English {{#ifexist: {{#if: UbuntuHelp:SynapticsTouchpad/Hardy | UbuntuHelp:SynapticsTouchpad/Hardy | {{#if: | :}}SynapticsTouchpad/Hardy}}/af | • {{#if: UbuntuHelp:SynapticsTouchpad/Hardy|Afrikaans| [[::SynapticsTouchpad/Hardy/af|Afrikaans]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SynapticsTouchpad/Hardy | UbuntuHelp:SynapticsTouchpad/Hardy | {{#if: | :}}SynapticsTouchpad/Hardy}}/ar | • {{#if: UbuntuHelp:SynapticsTouchpad/Hardy|العربية| [[::SynapticsTouchpad/Hardy/ar|العربية]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SynapticsTouchpad/Hardy | UbuntuHelp:SynapticsTouchpad/Hardy | {{#if: | :}}SynapticsTouchpad/Hardy}}/az | • {{#if: UbuntuHelp:SynapticsTouchpad/Hardy|azərbaycanca| [[::SynapticsTouchpad/Hardy/az|azərbaycanca]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SynapticsTouchpad/Hardy | UbuntuHelp:SynapticsTouchpad/Hardy | {{#if: | :}}SynapticsTouchpad/Hardy}}/bcc | • {{#if: UbuntuHelp:SynapticsTouchpad/Hardy|جهلسری بلوچی| [[::SynapticsTouchpad/Hardy/bcc|جهلسری بلوچی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SynapticsTouchpad/Hardy | UbuntuHelp:SynapticsTouchpad/Hardy | {{#if: | :}}SynapticsTouchpad/Hardy}}/bg | • {{#if: UbuntuHelp:SynapticsTouchpad/Hardy|български| [[::SynapticsTouchpad/Hardy/bg|български]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SynapticsTouchpad/Hardy | UbuntuHelp:SynapticsTouchpad/Hardy | {{#if: | :}}SynapticsTouchpad/Hardy}}/br | • {{#if: UbuntuHelp:SynapticsTouchpad/Hardy|brezhoneg| [[::SynapticsTouchpad/Hardy/br|brezhoneg]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SynapticsTouchpad/Hardy | UbuntuHelp:SynapticsTouchpad/Hardy | {{#if: | :}}SynapticsTouchpad/Hardy}}/ca | • {{#if: UbuntuHelp:SynapticsTouchpad/Hardy|català| [[::SynapticsTouchpad/Hardy/ca|català]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SynapticsTouchpad/Hardy | UbuntuHelp:SynapticsTouchpad/Hardy | {{#if: | :}}SynapticsTouchpad/Hardy}}/cs | • {{#if: UbuntuHelp:SynapticsTouchpad/Hardy|čeština| [[::SynapticsTouchpad/Hardy/cs|čeština]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SynapticsTouchpad/Hardy | UbuntuHelp:SynapticsTouchpad/Hardy | {{#if: | :}}SynapticsTouchpad/Hardy}}/de | • {{#if: UbuntuHelp:SynapticsTouchpad/Hardy|Deutsch| [[::SynapticsTouchpad/Hardy/de|Deutsch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SynapticsTouchpad/Hardy | UbuntuHelp:SynapticsTouchpad/Hardy | {{#if: | :}}SynapticsTouchpad/Hardy}}/el | • {{#if: UbuntuHelp:SynapticsTouchpad/Hardy|Ελληνικά| [[::SynapticsTouchpad/Hardy/el|Ελληνικά]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SynapticsTouchpad/Hardy | UbuntuHelp:SynapticsTouchpad/Hardy | {{#if: | :}}SynapticsTouchpad/Hardy}}/es | • {{#if: UbuntuHelp:SynapticsTouchpad/Hardy|español| [[::SynapticsTouchpad/Hardy/es|español]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SynapticsTouchpad/Hardy | UbuntuHelp:SynapticsTouchpad/Hardy | {{#if: | :}}SynapticsTouchpad/Hardy}}/fa | • {{#if: UbuntuHelp:SynapticsTouchpad/Hardy|فارسی| [[::SynapticsTouchpad/Hardy/fa|فارسی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SynapticsTouchpad/Hardy | UbuntuHelp:SynapticsTouchpad/Hardy | {{#if: | :}}SynapticsTouchpad/Hardy}}/fi | • {{#if: UbuntuHelp:SynapticsTouchpad/Hardy|suomi| [[::SynapticsTouchpad/Hardy/fi|suomi]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SynapticsTouchpad/Hardy | UbuntuHelp:SynapticsTouchpad/Hardy | {{#if: | :}}SynapticsTouchpad/Hardy}}/fr | • {{#if: UbuntuHelp:SynapticsTouchpad/Hardy|français| [[::SynapticsTouchpad/Hardy/fr|français]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SynapticsTouchpad/Hardy | UbuntuHelp:SynapticsTouchpad/Hardy | {{#if: | :}}SynapticsTouchpad/Hardy}}/gu | • {{#if: UbuntuHelp:SynapticsTouchpad/Hardy|ગુજરાતી| [[::SynapticsTouchpad/Hardy/gu|ગુજરાતી]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SynapticsTouchpad/Hardy | UbuntuHelp:SynapticsTouchpad/Hardy | {{#if: | :}}SynapticsTouchpad/Hardy}}/he | • {{#if: UbuntuHelp:SynapticsTouchpad/Hardy|עברית| [[::SynapticsTouchpad/Hardy/he|עברית]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SynapticsTouchpad/Hardy | UbuntuHelp:SynapticsTouchpad/Hardy | {{#if: | :}}SynapticsTouchpad/Hardy}}/hu | • {{#if: UbuntuHelp:SynapticsTouchpad/Hardy|magyar| [[::SynapticsTouchpad/Hardy/hu|magyar]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SynapticsTouchpad/Hardy | UbuntuHelp:SynapticsTouchpad/Hardy | {{#if: | :}}SynapticsTouchpad/Hardy}}/id | • {{#if: UbuntuHelp:SynapticsTouchpad/Hardy|Bahasa Indonesia| [[::SynapticsTouchpad/Hardy/id|Bahasa Indonesia]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SynapticsTouchpad/Hardy | UbuntuHelp:SynapticsTouchpad/Hardy | {{#if: | :}}SynapticsTouchpad/Hardy}}/it | • {{#if: UbuntuHelp:SynapticsTouchpad/Hardy|italiano| [[::SynapticsTouchpad/Hardy/it|italiano]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SynapticsTouchpad/Hardy | UbuntuHelp:SynapticsTouchpad/Hardy | {{#if: | :}}SynapticsTouchpad/Hardy}}/ja | • {{#if: UbuntuHelp:SynapticsTouchpad/Hardy|日本語| [[::SynapticsTouchpad/Hardy/ja|日本語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SynapticsTouchpad/Hardy | UbuntuHelp:SynapticsTouchpad/Hardy | {{#if: | :}}SynapticsTouchpad/Hardy}}/ko | • {{#if: UbuntuHelp:SynapticsTouchpad/Hardy|한국어| [[::SynapticsTouchpad/Hardy/ko|한국어]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SynapticsTouchpad/Hardy | UbuntuHelp:SynapticsTouchpad/Hardy | {{#if: | :}}SynapticsTouchpad/Hardy}}/ksh | • {{#if: UbuntuHelp:SynapticsTouchpad/Hardy|Ripoarisch| [[::SynapticsTouchpad/Hardy/ksh|Ripoarisch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SynapticsTouchpad/Hardy | UbuntuHelp:SynapticsTouchpad/Hardy | {{#if: | :}}SynapticsTouchpad/Hardy}}/mr | • {{#if: UbuntuHelp:SynapticsTouchpad/Hardy|मराठी| [[::SynapticsTouchpad/Hardy/mr|मराठी]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SynapticsTouchpad/Hardy | UbuntuHelp:SynapticsTouchpad/Hardy | {{#if: | :}}SynapticsTouchpad/Hardy}}/ms | • {{#if: UbuntuHelp:SynapticsTouchpad/Hardy|Bahasa Melayu| [[::SynapticsTouchpad/Hardy/ms|Bahasa Melayu]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SynapticsTouchpad/Hardy | UbuntuHelp:SynapticsTouchpad/Hardy | {{#if: | :}}SynapticsTouchpad/Hardy}}/nl | • {{#if: UbuntuHelp:SynapticsTouchpad/Hardy|Nederlands| [[::SynapticsTouchpad/Hardy/nl|Nederlands]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SynapticsTouchpad/Hardy | UbuntuHelp:SynapticsTouchpad/Hardy | {{#if: | :}}SynapticsTouchpad/Hardy}}/no | • {{#if: UbuntuHelp:SynapticsTouchpad/Hardy|norsk| [[::SynapticsTouchpad/Hardy/no|norsk]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SynapticsTouchpad/Hardy | UbuntuHelp:SynapticsTouchpad/Hardy | {{#if: | :}}SynapticsTouchpad/Hardy}}/oc | • {{#if: UbuntuHelp:SynapticsTouchpad/Hardy|occitan| [[::SynapticsTouchpad/Hardy/oc|occitan]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SynapticsTouchpad/Hardy | UbuntuHelp:SynapticsTouchpad/Hardy | {{#if: | :}}SynapticsTouchpad/Hardy}}/pl | • {{#if: UbuntuHelp:SynapticsTouchpad/Hardy|polski| [[::SynapticsTouchpad/Hardy/pl|polski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SynapticsTouchpad/Hardy | UbuntuHelp:SynapticsTouchpad/Hardy | {{#if: | :}}SynapticsTouchpad/Hardy}}/pt | • {{#if: UbuntuHelp:SynapticsTouchpad/Hardy|português| [[::SynapticsTouchpad/Hardy/pt|português]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SynapticsTouchpad/Hardy | UbuntuHelp:SynapticsTouchpad/Hardy | {{#if: | :}}SynapticsTouchpad/Hardy}}/ro | • {{#if: UbuntuHelp:SynapticsTouchpad/Hardy|română| [[::SynapticsTouchpad/Hardy/ro|română]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SynapticsTouchpad/Hardy | UbuntuHelp:SynapticsTouchpad/Hardy | {{#if: | :}}SynapticsTouchpad/Hardy}}/ru | • {{#if: UbuntuHelp:SynapticsTouchpad/Hardy|русский| [[::SynapticsTouchpad/Hardy/ru|русский]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SynapticsTouchpad/Hardy | UbuntuHelp:SynapticsTouchpad/Hardy | {{#if: | :}}SynapticsTouchpad/Hardy}}/si | • {{#if: UbuntuHelp:SynapticsTouchpad/Hardy|සිංහල| [[::SynapticsTouchpad/Hardy/si|සිංහල]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SynapticsTouchpad/Hardy | UbuntuHelp:SynapticsTouchpad/Hardy | {{#if: | :}}SynapticsTouchpad/Hardy}}/sq | • {{#if: UbuntuHelp:SynapticsTouchpad/Hardy|shqip| [[::SynapticsTouchpad/Hardy/sq|shqip]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SynapticsTouchpad/Hardy | UbuntuHelp:SynapticsTouchpad/Hardy | {{#if: | :}}SynapticsTouchpad/Hardy}}/sr | • {{#if: UbuntuHelp:SynapticsTouchpad/Hardy|српски / srpski| [[::SynapticsTouchpad/Hardy/sr|српски / srpski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SynapticsTouchpad/Hardy | UbuntuHelp:SynapticsTouchpad/Hardy | {{#if: | :}}SynapticsTouchpad/Hardy}}/sv | • {{#if: UbuntuHelp:SynapticsTouchpad/Hardy|svenska| [[::SynapticsTouchpad/Hardy/sv|svenska]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SynapticsTouchpad/Hardy | UbuntuHelp:SynapticsTouchpad/Hardy | {{#if: | :}}SynapticsTouchpad/Hardy}}/th | • {{#if: UbuntuHelp:SynapticsTouchpad/Hardy|ไทย| [[::SynapticsTouchpad/Hardy/th|ไทย]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SynapticsTouchpad/Hardy | UbuntuHelp:SynapticsTouchpad/Hardy | {{#if: | :}}SynapticsTouchpad/Hardy}}/tr | • {{#if: UbuntuHelp:SynapticsTouchpad/Hardy|Türkçe| [[::SynapticsTouchpad/Hardy/tr|Türkçe]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SynapticsTouchpad/Hardy | UbuntuHelp:SynapticsTouchpad/Hardy | {{#if: | :}}SynapticsTouchpad/Hardy}}/vi | • {{#if: UbuntuHelp:SynapticsTouchpad/Hardy|Tiếng Việt| [[::SynapticsTouchpad/Hardy/vi|Tiếng Việt]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SynapticsTouchpad/Hardy | UbuntuHelp:SynapticsTouchpad/Hardy | {{#if: | :}}SynapticsTouchpad/Hardy}}/yue | • {{#if: UbuntuHelp:SynapticsTouchpad/Hardy|粵語| [[::SynapticsTouchpad/Hardy/yue|粵語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SynapticsTouchpad/Hardy | UbuntuHelp:SynapticsTouchpad/Hardy | {{#if: | :}}SynapticsTouchpad/Hardy}}/zh | • {{#if: UbuntuHelp:SynapticsTouchpad/Hardy|中文| [[::SynapticsTouchpad/Hardy/zh|中文]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SynapticsTouchpad/Hardy | UbuntuHelp:SynapticsTouchpad/Hardy | {{#if: | :}}SynapticsTouchpad/Hardy}}/zh-hans | • {{#if: UbuntuHelp:SynapticsTouchpad/Hardy|中文(简体)| [[::SynapticsTouchpad/Hardy/zh-hans|中文(简体)]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SynapticsTouchpad/Hardy | UbuntuHelp:SynapticsTouchpad/Hardy | {{#if: | :}}SynapticsTouchpad/Hardy}}/zh-hant | • {{#if: UbuntuHelp:SynapticsTouchpad/Hardy|中文(繁體)| [[::SynapticsTouchpad/Hardy/zh-hant|中文(繁體)]]}}|}} |
{{#ifeq:UbuntuHelp:SynapticsTouchpad/Hardy|:SynapticsTouchpad/Hardy|请不要直接编辑翻译本页,本页将定期与来源同步。}} |
{{#ifexist: :SynapticsTouchpad/Hardy/zh | | {{#ifexist: SynapticsTouchpad/Hardy/zh | | {{#ifeq: {{#titleparts:SynapticsTouchpad/Hardy|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:SynapticsTouchpad/Hardy|1|-1|}} | zh | | }}
- title Synaptics Touchpad Configuration - Ubuntu 8.04 and earlier
This page contains instructions for Ubuntu 8.04 and earlier. For an introduction or for Ubuntu 8.10 and later, please see the new instructions. <<Anchor(gui)>>
Basic Configuration with a Graphical Interface
Ubuntu provides configuration of the most common touchpad options in System > Preferences > Mouse, under the Touchpad tab.
Advanced Configuration with a Graphical Interface
This sections describes how to install a GUI configuration tool for your Synaptics touchpad which integrates into your desktop environment. Other methods of configuring the touchpad include using [[UbuntuHelp:[synclient|synclient]]] on the command line, or by adding [[UbuntuHelp:[xconfig|options]]] directly to the X server configuration file. <<Anchor(gsynaptics)>>
Ubuntu
- [[UbuntuHelp:[shmconfig|Enable SHMConfig]]].
- For a preference tool which integrates into the GNOME Desktop environment, install the gsynaptics package from the universe repository. For help with installing packages see InstallingSoftware.
After installation, gsynaptics can be found under System > Preferences > Touchpad. <<Anchor(ksynaptics)>>
Kubuntu
- [[UbuntuHelp:[shmconfig|Enable SHMConfig]]].
- For a preference tool which integrates into the KDE desktop environment, install the ksynaptics package from the universe repository. For help with installing packages see InstallingSoftware.
After installation, ksynaptics can be found in the KDE Control Center. <<Anchor(qsynaptics)>>
Xubuntu and others
- [[UbuntuHelp:[shmconfig|Enable SHMConfig]]].
- For users of Xfce or anything else besides GNOME or KDE, install the qsynaptics package from the universe repository. For help with installing packages see InstallingSoftware.
<<Anchor(syndaemon)>>
Disabling the Touchpad Temporarily While Typing
To avoid accidental mouse movement while typing, syndaemon can be used to monitor the keyboard activity and disable the touchpad for a period of time after the last keystroke. To use syndaemon, you will first need to [[UbuntuHelp:[shmconfig|enable SHMConfig]]]. The following commands should be typed in a terminal. The -d option causes syndaemon to run in the background, so the terminal can be closed after executing the command.
syndaemon -d
The -t option causes syndaemon to only disable tapping and scrolling, not mouse movements:
syndaemon -d -t
By default syndaemon disables the touchpad for 2 seconds after the last keyboard activity. To specify a different timeout, use the -i option. For example, a timeout of 1 second:
syndaemon -d -i 1
To make syndaemon start up each time you login, add the desired command to the list of Startup Programs in System > Preferences > Sessions. See AddingProgramToSessionStartup. <<Anchor(shmconfig)>>
Enabling SHMConfig
In order for tools such as [[UbuntuHelp:[synclient|synclient]]], [[UbuntuHelp:[syndaemon|syndaemon]]], [[UbuntuHelp:[gsynaptics|gsynaptics]]], [[UbuntuHelp:[ksynaptics|ksynaptics]]], and [[UbuntuHelp:[qsynaptics|qsynaptics]]] to work, they need access to the synaptics touchpad driver's shared memory. This is done by enabling SHMConfig "on" in the X server Synaptics Touchpad configuration. With this enabled, these tools can modify the run-time configuration of the touchpad input driver without restarting the X server. /!\ Note the warning from the man page for synclient:
WARNING: This is not secure if you are in an untrusted multiuser environment. All local users can change the parameters at any time.
If this is an issue for you, the touchpad can be configured without enabling SHMConfig by placing the desired options in [[UbuntuHelp:[xconfig|the X server configuration file]]] logging out and in again. In a terminal type:
gksudo gedit /etc/X11/xorg.conf
Find the "Input``Device" section for the touchpad:
Section "InputDevice" Identifier "Synaptics Touchpad" Driver "synaptics" Option "SendCoreEvents" "true" Option "Device" "/dev/psaux" Option "Protocol" "auto-dev" Option "HorizScrollDelta" "0" EndSection
If this section is not present, you will need to [[UbuntuHelp:[xinputdevice|add your touchpad to the X server configuration]]]. Add the following line to this section:
Option "SHMConfig" "on"
The result should look like this:
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
To enable the changes log out of your desktop environment, and restart the X server by logging out and back in, or typing sudo /etc/init.d/gdm restart
.
<<Anchor(synclient)>>
Configuration with synclient
synclient can be used to adjust touchpad settings from the command line. This will work even if a [[UbuntuHelp:[gui|GUI Preference tool]]] is installed. Enable SHMConfig in the X server configuration file as described in the section [[UbuntuHelp:[shmconfig|Enabling SHMConfig]]]. List all settings:
synclient -l
Examples
Turn touchpad off:
synclient TouchpadOff=1
Turn touchpad on:
synclient TouchpadOff=0
<<Anchor(xconfig)>>
Configuration with the X Server Configuration file
The options that are shown by the command synclient -l
([[UbuntuHelp:[synclient|see above]]]) may also be added directly to the touchpad "Input``Device" section in /etc/X11/xorg.conf
. In this case [[UbuntuHelp:[shmconfig|SHMConfig]]] does not need to be enabled.
For example, to turn the touchpad off, add the line:
Option "TouchpadOff" "1"
The result will look like this:
Section "InputDevice" Identifier "Synaptics Touchpad" Driver "synaptics" Option "SendCoreEvents" "true" Option "Device" "/dev/psaux" Option "Protocol" "auto-dev" Option "HorizScrollDelta" "0" Option "SHMConfig" "off" Option "TouchpadOff" "1" EndSection
<<Anchor(troubleshooting)>>
Troubleshooting
Determine Whether a Touchpad Is Configured
To check if a touchpad is configured, open a terminal and check your /etc/X11/xorg.conf
file by typing the following:
grep Iden /etc/X11/xorg.conf
If one of the lines is:
Identifier "Synaptics Touchpad"
then you have a Synaptics Touchpad configured. If not, see [[UbuntuHelp:[xinputdevice|Adding a Synaptics Touchpad to the X Server Configuration]]]. <<Anchor(xinputdevice)>>
Adding a Synaptics Touchpad to the X Server Configuration
To add support for a touchpad which was not detected the xorg.conf file will need to be edited. In a terminal type:
gksudo gedit /etc/X11/xorg.conf
After the lines:
Section "InputDevice" Identifier "Configured Mouse" Driver "mouse" Option "CorePointer" Option "Device" "/dev/input/mice" Option "Protocol" "ExplorerPS/2" Option "ZAxisMapping" "4 5" Option "Emulate3Buttons" "true" EndSection
add the following:
Section "InputDevice" Identifier "Synaptics Touchpad" Driver "synaptics" Option "SendCoreEvents" "true" Option "Device" "/dev/psaux" Option "Protocol" "auto-dev" Option "HorizScrollDelta" "0" EndSection
Next, find the "Server``Layout" section near the bottom:
Section "ServerLayout" Identifier "Default Layout" Screen "Default Screen" InputDevice "Generic Keyboard" InputDevice "Configured Mouse" InputDevice "stylus" "SendCoreEvents" InputDevice "cursor" "SendCoreEvents" InputDevice "eraser" "SendCoreEvents" EndSection
Add the following line:
InputDevice "Synaptics Touchpad"
The result should look like this:
Section "ServerLayout" Identifier "Default Layout" Screen "Default Screen" InputDevice "Generic Keyboard" InputDevice "Configured Mouse" InputDevice "stylus" "SendCoreEvents" InputDevice "cursor" "SendCoreEvents" InputDevice "eraser" "SendCoreEvents" InputDevice "Synaptics Touchpad" EndSection
To enable the changes restart X by logging out and back in, or typing sudo /etc/init.d/gdm restart
.