Wiki Ubuntu-it

Indice
Partecipa
FAQ
Wiki Blog
------------------
Ubuntu-it.org
Forum
Chiedi
Chat
Cerca
Planet
  • Pagina non alterabile
  • Informazioni
  • Allegati

Versione 14 del 29/11/2007 23.24.21

Nascondi questo messaggio

BR

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].

Immagine(Icone/Piccole/note.png,,center)

L'espressione «Synaptics Touchpad» non va confusa con [:Synaptic:Synaptic], il gestore dei pacchetti di Ubuntu.

Anchor(gui)

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.

Anchor(gsynaptics)

Ubuntu

  • Abilitare SHMConfig nel file di configurazione di X server come descritto nella sezione [#shmconfig Abilitare SHMConfig].
  • Per una serie di opzioni che possano esser integrate all'interno dell'ambiente GNOME Desktop installate il pacchetto gsynaptics dal gruppo di repository universe. Per aiuto con l'installazione dei pacchetti guardate la guida InstallingSoftware.

Dopo l'installazione si può trovare gsynaptics sotto Sistema -> Preferenze -> Touchpad.

Anchor(ksynaptics)

Kubuntu

  • Abilitare SHMConfig nel file di configurazione di X server come descritto nella sezione [#shmconfig Abilitare SHMConfig].
  • Per una serie di opzioni che possano esser integrate all'interno dell'ambiente KDE Desktop installate il pacchetto ksynaptics dal gruppo di repository universe. Per aiuto con l'installazione dei pacchetti guardate la guida InstallingSoftware.

Dopo l'installazione si può trovare ksynaptics nel Centro di Controllo KDE.

Anchor(qsynaptics)

Xubuntu e altre

  • Abilitare SHMConfig nel file di configurazione di X server come descritto nella sezione [#shmconfig Abilitare SHMConfig].
  • Per gli Utenti di Xfce o di qualsiasi altro Desktop manager al di fuori di GNOME o KDE, installate il pacchetto qsynaptics dal gruppo di repository universe. Per aiuto con l'installazione dei pacchetti guardate la guida InstallingSoftware.

Anchor(syndaemon)

Disabilitare temporaneamente il touchpad durante la digitazione

Per evitare accidentali movimenti del mouse durante la scrittura può esser usato syndaemon per monitorare l'attività della tastiera e disabilitare il touchpad per un periodo di tempo dopo aver premuto l'ultimo tasto.

Prima di tutto abilitate SHMConfig nel file di configurazione di X server come descritto nella sezione [#shmconfig Abilitare SHMConfig].

I seguenti comandi dovranno esser scritti in un [:UsingTheTerminal:terminale].

L'opzione -d consente a syndaemon di venir eseguito in background in modo tale che il terminale possa esser chiuso una volta inviato il comando:

syndaemon -d

L'opzione -t consente a syndaemon di disabilitare il tapping e lo scrolling, non i movimenti del mouse:

syndaemon -d -t

Di default syndaemon disabilita il touchpad per due secondi dopo l'ultima attività della tastiera. Per specificare un tempo differente usate l'opzione -i. Ad esempio, per impostare un tempo di 1 secondo:

syndaemon -d -i 1

Per fare in modo che syndaemon si avvii ogni volta che aprite una sessione è necessario aggiungere il comando desiderato alla lista dei programmi in avvio che si trova in Sistema > Preferenze > Sessioni. Per ulteriori informazioni visitate il link AddingProgramToSessionStartup.

Anchor(shmconfig)

Abilitare SHMConfig

Per far funzionare i seguenti tool [#synclient synclient], [#syndaemon syndaemon], [#gsynaptics gsynaptics], [#ksynaptics ksynaptics], e [#qsynaptics qsynaptics] è necessario che possano accedere alla memoria condivisa dei driver synaptics touchpad. Questo si ottiene abilitando 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.

Anchor(synclient)

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

Anchor(xconfig)

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

Anchor(troubleshooting)

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].

Anchor(xinputdevice)

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

Ulteriori risorse


CategoryInTraduzione CategoryHardware