个人工具
登录
查看“UbuntuHelp:SynapticsTouchpad”的源代码 - Ubuntu中文
UbuntuHelp
讨论
查看源代码
历史
搜索
导航
首页
最近更改
随机页面
页面分类
帮助
编辑
编辑指南
沙盒
新闻动态
字词处理
工具
链入页面
相关更改
特殊页面
页面信息
查看“UbuntuHelp:SynapticsTouchpad”的源代码
来自Ubuntu中文
←
UbuntuHelp:SynapticsTouchpad
跳转至:
导航
,
搜索
因为以下原因,你没有权限编辑本页:
您所请求的操作仅限于该用户组的用户使用:
用户
您可以查看与复制此页面的源代码。
{{From|https://help.ubuntu.com/community/SynapticsTouchpad}} {{Languages|UbuntuHelp:SynapticsTouchpad}} #title Synaptics Touchpad On most laptops, a '''[http://en.wikipedia.org/wiki/Touchpad touchpad]''' is the input device used as a substitute for a computer mouse. The term "Synaptics Touchpad" should not be confused with "[[UbuntuHelp:SynapticHowto|Synaptic]]", Ubuntu's Package Manager. For '''Ubuntu 8.04 and earlier''', see [[UbuntuHelp:SynapticsTouchpad/Hardy|the older 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 [[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 [[UbuntuHelp:InstallingSoftware|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 [[UbuntuHelp:InstallingSoftware|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 [[UbuntuHelp:InstallingSoftware|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 [[UbuntuHelp:UsingTheTerminal|terminal]]. The '''-d''' option causes '''syndaemon''' to run in the background, so the terminal can be closed after executing the command. <pre><nowiki> syndaemon -d </nowiki></pre> The '''-t''' option causes '''syndaemon''' to only disable tapping and scrolling, not mouse movements: <pre><nowiki> syndaemon -d -t </nowiki></pre> 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: <pre><nowiki> syndaemon -d -i 1 </nowiki></pre> To make '''syndaemon''' start up each time you login, add the desired command to the list of Startup Programs in '''System > Preferences > Sessions'''. See [[UbuntuHelp:AddingProgramToSessionStartup|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: <pre><nowiki> WARNING: This is not secure if you are in an untrusted multiuser environment. All local users can change the parameters at any time. </nowiki></pre> 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 [[UbuntuHelp:UsingTheTerminal|terminal]] type: <pre><nowiki> gksudo gedit /etc/hal/fdi/policy/shmconfig.fdi </nowiki></pre> Put this into the file: <pre><nowiki> <?xml version="1.0" encoding="ISO-8859-1"?> <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> </nowiki></pre> 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: <pre><nowiki> synclient -l </nowiki></pre> ==== Examples ==== Turn touchpad off: <pre><nowiki> synclient TouchpadOff=1 </nowiki></pre> Turn touchpad on: <pre><nowiki> synclient TouchpadOff=0 </nowiki></pre> <<Anchor(hal)>> == Configuration with HAL fdi files == Touchpad options can be set permanently through HAL. See [[UbuntuWiki:X/Config#hal|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 [[UbuntuHelp:UsingTheTerminal|terminal]] and check the input device list given by this command: <pre><nowiki> xinput list </nowiki></pre> If one of the lines mentions a touchpad (perhaps also "Synaptics" or "ALPS"), your touchpad has been detected. If not, see [[UbuntuWiki:DebuggingTouchpadDetection|the|other touchpad debugging pages]]. === Specific Hardware === ==== Apple iBook G4 ==== * [[UbuntuHelp:SynapticsTouchpad/AppleIbookG4|Apple iBook G4]] == See also == * [[UbuntuHelp:SynapticsTouchpad/ShortcutKey|Turning Synaptics Touchpads On/Off with a Shortcut Key]] ---- [[category:CategoryDocumentation]] [[category:CategoryX]] [[category:UbuntuHelp]]
该页面使用的模板:
模板:From
(
查看源代码
)
模板:Languages
(
查看源代码
)(受保护)
模板:Languages/Lang
(
查看源代码
)(受保护)
返回至
UbuntuHelp:SynapticsTouchpad
。