特殊:Badtitle/NS100:SynapticsTouchpad/zh
文章出处: |
{{#if: | {{{2}}} | https://help.ubuntu.com/community/SynapticsTouchpad }} |
点击翻译: |
English {{#ifexist: {{#if: UbuntuHelp:SynapticsTouchpad | UbuntuHelp:SynapticsTouchpad | {{#if: | :}}SynapticsTouchpad/zh}}/af | • {{#if: UbuntuHelp:SynapticsTouchpad|Afrikaans| [[::SynapticsTouchpad/zh/af|Afrikaans]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SynapticsTouchpad | UbuntuHelp:SynapticsTouchpad | {{#if: | :}}SynapticsTouchpad/zh}}/ar | • {{#if: UbuntuHelp:SynapticsTouchpad|العربية| [[::SynapticsTouchpad/zh/ar|العربية]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SynapticsTouchpad | UbuntuHelp:SynapticsTouchpad | {{#if: | :}}SynapticsTouchpad/zh}}/az | • {{#if: UbuntuHelp:SynapticsTouchpad|azərbaycanca| [[::SynapticsTouchpad/zh/az|azərbaycanca]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SynapticsTouchpad | UbuntuHelp:SynapticsTouchpad | {{#if: | :}}SynapticsTouchpad/zh}}/bcc | • {{#if: UbuntuHelp:SynapticsTouchpad|جهلسری بلوچی| [[::SynapticsTouchpad/zh/bcc|جهلسری بلوچی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SynapticsTouchpad | UbuntuHelp:SynapticsTouchpad | {{#if: | :}}SynapticsTouchpad/zh}}/bg | • {{#if: UbuntuHelp:SynapticsTouchpad|български| [[::SynapticsTouchpad/zh/bg|български]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SynapticsTouchpad | UbuntuHelp:SynapticsTouchpad | {{#if: | :}}SynapticsTouchpad/zh}}/br | • {{#if: UbuntuHelp:SynapticsTouchpad|brezhoneg| [[::SynapticsTouchpad/zh/br|brezhoneg]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SynapticsTouchpad | UbuntuHelp:SynapticsTouchpad | {{#if: | :}}SynapticsTouchpad/zh}}/ca | • {{#if: UbuntuHelp:SynapticsTouchpad|català| [[::SynapticsTouchpad/zh/ca|català]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SynapticsTouchpad | UbuntuHelp:SynapticsTouchpad | {{#if: | :}}SynapticsTouchpad/zh}}/cs | • {{#if: UbuntuHelp:SynapticsTouchpad|čeština| [[::SynapticsTouchpad/zh/cs|čeština]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SynapticsTouchpad | UbuntuHelp:SynapticsTouchpad | {{#if: | :}}SynapticsTouchpad/zh}}/de | • {{#if: UbuntuHelp:SynapticsTouchpad|Deutsch| [[::SynapticsTouchpad/zh/de|Deutsch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SynapticsTouchpad | UbuntuHelp:SynapticsTouchpad | {{#if: | :}}SynapticsTouchpad/zh}}/el | • {{#if: UbuntuHelp:SynapticsTouchpad|Ελληνικά| [[::SynapticsTouchpad/zh/el|Ελληνικά]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SynapticsTouchpad | UbuntuHelp:SynapticsTouchpad | {{#if: | :}}SynapticsTouchpad/zh}}/es | • {{#if: UbuntuHelp:SynapticsTouchpad|español| [[::SynapticsTouchpad/zh/es|español]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SynapticsTouchpad | UbuntuHelp:SynapticsTouchpad | {{#if: | :}}SynapticsTouchpad/zh}}/fa | • {{#if: UbuntuHelp:SynapticsTouchpad|فارسی| [[::SynapticsTouchpad/zh/fa|فارسی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SynapticsTouchpad | UbuntuHelp:SynapticsTouchpad | {{#if: | :}}SynapticsTouchpad/zh}}/fi | • {{#if: UbuntuHelp:SynapticsTouchpad|suomi| [[::SynapticsTouchpad/zh/fi|suomi]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SynapticsTouchpad | UbuntuHelp:SynapticsTouchpad | {{#if: | :}}SynapticsTouchpad/zh}}/fr | • {{#if: UbuntuHelp:SynapticsTouchpad|français| [[::SynapticsTouchpad/zh/fr|français]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SynapticsTouchpad | UbuntuHelp:SynapticsTouchpad | {{#if: | :}}SynapticsTouchpad/zh}}/gu | • {{#if: UbuntuHelp:SynapticsTouchpad|ગુજરાતી| [[::SynapticsTouchpad/zh/gu|ગુજરાતી]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SynapticsTouchpad | UbuntuHelp:SynapticsTouchpad | {{#if: | :}}SynapticsTouchpad/zh}}/he | • {{#if: UbuntuHelp:SynapticsTouchpad|עברית| [[::SynapticsTouchpad/zh/he|עברית]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SynapticsTouchpad | UbuntuHelp:SynapticsTouchpad | {{#if: | :}}SynapticsTouchpad/zh}}/hu | • {{#if: UbuntuHelp:SynapticsTouchpad|magyar| [[::SynapticsTouchpad/zh/hu|magyar]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SynapticsTouchpad | UbuntuHelp:SynapticsTouchpad | {{#if: | :}}SynapticsTouchpad/zh}}/id | • {{#if: UbuntuHelp:SynapticsTouchpad|Bahasa Indonesia| [[::SynapticsTouchpad/zh/id|Bahasa Indonesia]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SynapticsTouchpad | UbuntuHelp:SynapticsTouchpad | {{#if: | :}}SynapticsTouchpad/zh}}/it | • {{#if: UbuntuHelp:SynapticsTouchpad|italiano| [[::SynapticsTouchpad/zh/it|italiano]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SynapticsTouchpad | UbuntuHelp:SynapticsTouchpad | {{#if: | :}}SynapticsTouchpad/zh}}/ja | • {{#if: UbuntuHelp:SynapticsTouchpad|日本語| [[::SynapticsTouchpad/zh/ja|日本語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SynapticsTouchpad | UbuntuHelp:SynapticsTouchpad | {{#if: | :}}SynapticsTouchpad/zh}}/ko | • {{#if: UbuntuHelp:SynapticsTouchpad|한국어| [[::SynapticsTouchpad/zh/ko|한국어]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SynapticsTouchpad | UbuntuHelp:SynapticsTouchpad | {{#if: | :}}SynapticsTouchpad/zh}}/ksh | • {{#if: UbuntuHelp:SynapticsTouchpad|Ripoarisch| [[::SynapticsTouchpad/zh/ksh|Ripoarisch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SynapticsTouchpad | UbuntuHelp:SynapticsTouchpad | {{#if: | :}}SynapticsTouchpad/zh}}/mr | • {{#if: UbuntuHelp:SynapticsTouchpad|मराठी| [[::SynapticsTouchpad/zh/mr|मराठी]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SynapticsTouchpad | UbuntuHelp:SynapticsTouchpad | {{#if: | :}}SynapticsTouchpad/zh}}/ms | • {{#if: UbuntuHelp:SynapticsTouchpad|Bahasa Melayu| [[::SynapticsTouchpad/zh/ms|Bahasa Melayu]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SynapticsTouchpad | UbuntuHelp:SynapticsTouchpad | {{#if: | :}}SynapticsTouchpad/zh}}/nl | • {{#if: UbuntuHelp:SynapticsTouchpad|Nederlands| [[::SynapticsTouchpad/zh/nl|Nederlands]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SynapticsTouchpad | UbuntuHelp:SynapticsTouchpad | {{#if: | :}}SynapticsTouchpad/zh}}/no | • {{#if: UbuntuHelp:SynapticsTouchpad|norsk| [[::SynapticsTouchpad/zh/no|norsk]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SynapticsTouchpad | UbuntuHelp:SynapticsTouchpad | {{#if: | :}}SynapticsTouchpad/zh}}/oc | • {{#if: UbuntuHelp:SynapticsTouchpad|occitan| [[::SynapticsTouchpad/zh/oc|occitan]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SynapticsTouchpad | UbuntuHelp:SynapticsTouchpad | {{#if: | :}}SynapticsTouchpad/zh}}/pl | • {{#if: UbuntuHelp:SynapticsTouchpad|polski| [[::SynapticsTouchpad/zh/pl|polski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SynapticsTouchpad | UbuntuHelp:SynapticsTouchpad | {{#if: | :}}SynapticsTouchpad/zh}}/pt | • {{#if: UbuntuHelp:SynapticsTouchpad|português| [[::SynapticsTouchpad/zh/pt|português]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SynapticsTouchpad | UbuntuHelp:SynapticsTouchpad | {{#if: | :}}SynapticsTouchpad/zh}}/ro | • {{#if: UbuntuHelp:SynapticsTouchpad|română| [[::SynapticsTouchpad/zh/ro|română]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SynapticsTouchpad | UbuntuHelp:SynapticsTouchpad | {{#if: | :}}SynapticsTouchpad/zh}}/ru | • {{#if: UbuntuHelp:SynapticsTouchpad|русский| [[::SynapticsTouchpad/zh/ru|русский]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SynapticsTouchpad | UbuntuHelp:SynapticsTouchpad | {{#if: | :}}SynapticsTouchpad/zh}}/si | • {{#if: UbuntuHelp:SynapticsTouchpad|සිංහල| [[::SynapticsTouchpad/zh/si|සිංහල]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SynapticsTouchpad | UbuntuHelp:SynapticsTouchpad | {{#if: | :}}SynapticsTouchpad/zh}}/sq | • {{#if: UbuntuHelp:SynapticsTouchpad|shqip| [[::SynapticsTouchpad/zh/sq|shqip]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SynapticsTouchpad | UbuntuHelp:SynapticsTouchpad | {{#if: | :}}SynapticsTouchpad/zh}}/sr | • {{#if: UbuntuHelp:SynapticsTouchpad|српски / srpski| [[::SynapticsTouchpad/zh/sr|српски / srpski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SynapticsTouchpad | UbuntuHelp:SynapticsTouchpad | {{#if: | :}}SynapticsTouchpad/zh}}/sv | • {{#if: UbuntuHelp:SynapticsTouchpad|svenska| [[::SynapticsTouchpad/zh/sv|svenska]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SynapticsTouchpad | UbuntuHelp:SynapticsTouchpad | {{#if: | :}}SynapticsTouchpad/zh}}/th | • {{#if: UbuntuHelp:SynapticsTouchpad|ไทย| [[::SynapticsTouchpad/zh/th|ไทย]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SynapticsTouchpad | UbuntuHelp:SynapticsTouchpad | {{#if: | :}}SynapticsTouchpad/zh}}/tr | • {{#if: UbuntuHelp:SynapticsTouchpad|Türkçe| [[::SynapticsTouchpad/zh/tr|Türkçe]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SynapticsTouchpad | UbuntuHelp:SynapticsTouchpad | {{#if: | :}}SynapticsTouchpad/zh}}/vi | • {{#if: UbuntuHelp:SynapticsTouchpad|Tiếng Việt| [[::SynapticsTouchpad/zh/vi|Tiếng Việt]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SynapticsTouchpad | UbuntuHelp:SynapticsTouchpad | {{#if: | :}}SynapticsTouchpad/zh}}/yue | • {{#if: UbuntuHelp:SynapticsTouchpad|粵語| [[::SynapticsTouchpad/zh/yue|粵語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SynapticsTouchpad | UbuntuHelp:SynapticsTouchpad | {{#if: | :}}SynapticsTouchpad/zh}}/zh | • {{#if: UbuntuHelp:SynapticsTouchpad|中文| [[::SynapticsTouchpad/zh/zh|中文]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SynapticsTouchpad | UbuntuHelp:SynapticsTouchpad | {{#if: | :}}SynapticsTouchpad/zh}}/zh-hans | • {{#if: UbuntuHelp:SynapticsTouchpad|中文(简体)| [[::SynapticsTouchpad/zh/zh-hans|中文(简体)]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SynapticsTouchpad | UbuntuHelp:SynapticsTouchpad | {{#if: | :}}SynapticsTouchpad/zh}}/zh-hant | • {{#if: UbuntuHelp:SynapticsTouchpad|中文(繁體)| [[::SynapticsTouchpad/zh/zh-hant|中文(繁體)]]}}|}} |
{{#ifeq:UbuntuHelp:SynapticsTouchpad|:SynapticsTouchpad/zh|请不要直接编辑翻译本页,本页将定期与来源同步。}} |
{{#ifexist: :SynapticsTouchpad/zh/zh | | {{#ifexist: SynapticsTouchpad/zh/zh | | {{#ifeq: {{#titleparts:SynapticsTouchpad/zh|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:SynapticsTouchpad/zh|1|-1|}} | zh | | }}
- title Synaptics 触摸板
对于大多数的笔记本电脑来说,触摸板是一个用来替代电脑鼠标的输入设备。 不要把名词"Synaptics 触摸板"与"Synaptic"相混淆,后者是 Ubuntu 的软件包管理器。 对于Ubuntu 8.04 或更早的版本,参见以前的说明。 <<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. Try the touchpad after unchecking the Enable mouse clicks with touchpad check box. Check operation after Enable horizontal scrolling is checked. This may not have been the default setting. If all else fails, when using two hands for operation, remember to lift your finger off of the touchpad when leaving a scroll bar, window or workspace.
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 [[UbuntuHelp:[hal|adding options]]] to HAL fdi files. <<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]]].
- The preference tool which integrates into the KDE desktop environment, ksynaptics package from the universe repository, is no longer in the Intrepid Repositories. Until the tool is updated, please use the method for Xubuntu and others below.
<<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. If syndaemon doesn't work properly out of the box, try [[UbuntuHelp:[shmconfig|enabling SHMConfig]]], and force syndaemon to use it by passing the -S option. 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
Note: Tools such as xinput and syndaemon can now alter touchpad settings without needing SHMConfig to be enabled. However, SHMConfig is still required for some functionality. 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 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:[hal|a HAL fdi file]]] and rebooting. In a terminal type (for Gnome/Ubuntu):
gksudo gedit /etc/hal/fdi/policy/shmconfig.fdi
(for KDE/Kubuntu):
kdesudo kate /etc/hal/fdi/policy/shmconfig.fdi
Put this into the file:
<?xml version="1.0" encoding="UTF-8"?> <deviceinfo version="0.2"> <device> <match key="input.x11_driver" string="synaptics"> <merge key="input.x11_options.SHMConfig" type="string">True</merge> </match> </device> </deviceinfo>
Save and close that file, reboot, and SHMConfig should be enabled. <<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 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(hal)>>
Configuration with HAL fdi files
Touchpad options can be set permanently through HAL. See the|HAL input section of the X config documentation for details. <<Anchor(troubleshooting)>>
Troubleshooting
Determine whether a touchpad has been detected
To check if a touchpad has been detected open a terminal and check the input device list given by this command:
xinput list
If one of the lines mentions a touchpad (perhaps also "Synaptics" or "ALPS"), your touchpad has been detected. If not, see the|other touchpad debugging pages.