9604
Commento:
|
9685
|
Le cancellazioni sono segnalate in questo modo. | Le aggiunte sono segnalate in questo modo. |
Linea 3: | Linea 3: |
##docs gutsy | |
Linea 17: | Linea 18: |
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 [#synclient synclient] on the command line, or by adding [#xconfig options] directly to the X server configuration file. | Questa sezione descrive come installare e configurare un interfaccia GUI per il vostro touchpad Synaptics che è integrato all'interno del vostro laptop. Altri metodi di configurazione del touchpad includono l'impiego di [#synclient synclient] sulla linea di comando, o aggiungendo l'opzione [#xconfig options] direttamente al file di configurazione di X server. |
Linea 21: | Linea 22: |
* Enable SHMConfig in the X server configuration file as described in the section [#shmconfig Enabling SHMConfig]. | * Abilitare SHMConfig nel file di configurazione di X server come descritto nella sezione [#shmconfig Abilitazione di SHMConfig]. |
Linea 23: | Linea 24: |
After installation, '''gsynaptics''' can be found under '''System > Preferences > Touchpad'''. | After installation, '''gsynaptics''' can be found under '''''System -> Preferences -> Touchpad'''''. |
IndiceBR TableOfContents |
Introduzione
Nella maggior parte dei computer portatili, un [http://it.wikipedia.org/wiki/Touchpad touchpad] è usato come periferica di input in sostituzione del classico mouse.
Mentre in Ubuntu 7.04 «Feisty Fawn» il touchpad viene installato e configurato automaticamente durante l'installazione del sistema, nelle versioni precedenti questo potrebbe non accadere. In tal caso consultare la [#troubleshooting relativa sezione].
L'espressione «Synaptics Touchpad» non va confusa con [:Synaptic:Synaptic], il gestore dei pacchetti di Ubuntu. |
Configurare con un'interfaccia grafica
Questa sezione descrive come installare e configurare un interfaccia GUI per il vostro touchpad Synaptics che è integrato all'interno del vostro laptop. Altri metodi di configurazione del touchpad includono l'impiego di [#synclient synclient] sulla linea di comando, o aggiungendo l'opzione [#xconfig options] direttamente al file di configurazione di X server.
Ubuntu
- Abilitare SHMConfig nel file di configurazione di X server come descritto nella sezione [#shmconfig Abilitazione di 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.
Kubuntu
- Enable SHMConfig in the X server configuration file as described in the section [#shmconfig Enabling 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.
Xubuntu e altre
- Enable SHMConfig in the X server configuration file as described in the section [#shmconfig Enabling 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.
Disabilitare temporaneamente il touchpad durante la digitazione
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.
First enable SHMConfig in the X server configuration file as described in the section [#shmconfig Enabling SHMConfig].
The following commands should be typed in a [:UsingTheTerminal: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.
Abilitare SHMConfig
In order for tools such as [#synclient synclient], [#syndaemon syndaemon], [#gsynaptics gsynaptics], [#ksynaptics ksynaptics], and [#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 the X server configuration file and restarting the X server. See [#xconfig Configuration with the X Server Configuration file].
In a [:UsingTheTerminal:terminal] type:
gksudo gedit /etc/X11/xorg.conf
Find the "InputDevice" 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, see [#xinputdevice Adding a Synaptics 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 typing Ctrl + Alt + Backspace.
Configurare con synclient
synclient can be used to adjust touchpad settings from the command line. This will work even if a [#gui GUI Preference tool] is installed.
Enable SHMConfig in the X server configuration file as described in the section [#shmconfig Enabling SHMConfig].
List all settings:
synclient -l
Esempi
Turn touchpad off:
synclient TouchpadOff=1
Turn touchpad on:
synclient TouchpadOff=0
Configurare attraverso il file di configurazione dello X Server
The options that are shown by the command synclient -l ([#synclient see above]) may also be added directly to the touchpad "InputDevice" section in /etc/X11/xorg.conf. In this case [#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
Risoluzione problemi
Determinare se un touchpad è configurato
To check if a touchpad is configured, open a [:UsingTheTerminal: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 [#xinputdevice Adding a Synaptics Touchpad to the X Server Configuration].
Aggiungere uno Synaptics Touchpad alla configurazione dello X Server
To add support for a touchpad which was not detected the xorg.conf file will need to be edited. In a [:UsingTheTerminal: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 "ServerLayout" 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 log out of your desktop environment, and restart the X server by typing Ctrl + Alt + Backspace.
Hardware specifico
Apple iBook G4
[:SynapticsTouchpad/AppleIbookG4:Apple iBook G4]
Ulteriori risorse
[:SynapticsTouchpad/ShortcutKey:Turning Synaptics Touchpads On/Off with a Shortcut Key]
[https://help.ubuntu.com/community/SynapticsTouchpad Documento originale]