Wiki Ubuntu-it

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


Introduzione

In questa guida sono contenute delle istruzioni utili all'installazione e alla configurazione della tavoletta grafica Wacom Graphire 4 Classic.

Installazione

Installare il pacchetto xserver-xorg-input-wacom.

Abilitare tasti supplementari

Per abilitare i tasti supplementare e la rotellina è necessario installare il pacchetto wacom-tools.

Configurazione

Configurare il server grafico per Ubuntu 8.04 Hardy Heron

Per configurare la tavoletta è necessario aprire il file /etc/X11/xorg.conf con un editor di testo con i privilegi di amministrazione e aggiungere le seguenti righe:

Section "InputDevice"
        Driver          "wacom"
        Identifier      "stylus"
        Option          "Device"        "/dev/input/wacom"
        Option          "Type"          "stylus"
        Option          "ForceDevice"   "ISDV4"         # Tablet PC ONLY
EndSection

Section "InputDevice"
        Driver          "wacom"
        Identifier      "eraser"
        Option          "Device"        "/dev/input/wacom"
        Option          "Type"          "eraser"
        Option          "ForceDevice"   "ISDV4"         # Tablet PC ONLY
EndSection

Section "InputDevice"
        Driver          "wacom"
        Identifier      "cursor"
        Option          "Device"        "/dev/input/wacom"
        Option          "Type"          "cursor"
        Option          "ForceDevice"   "ISDV4"         # Tablet PC ONLY
EndSection

Section "InputDevice"
        Identifier  "pad"
        Driver      "wacom"
        Option      "Type" "pad"
        Option      "Device" "/dev/input/wacom"
        Option      "ButtonsOnly" "on"
        Option      "Button9" "2"
        Option      "Button13" "3"
        Option      "USB" "on"
EndSection

e nella sezione "ServerLayout"

        InputDevice     "stylus"        "SendCoreEvents"
        InputDevice     "cursor"        "SendCoreEvents"
        InputDevice     "eraser"        "SendCoreEvents"
        InputDevice     "pad"   "SendCoreEvents"

Il contenuto del file /etc/X11/xorg.conf dovrebbe essere simile al seguente:

# xorg.conf (X.Org X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

Section "InputDevice"
        Identifier      "Generic Keyboard"
        Driver          "kbd"
        Option          "XkbRules"      "xorg"
        Option          "XkbModel"      "pc105"
        Option          "XkbLayout"     "it"
EndSection

Section "InputDevice"
        Identifier      "Configured Mouse"
        Driver          "mouse"
        Option          "CorePointer"
EndSection

Section "InputDevice"
        Identifier      "Synaptics Touchpad"
        Driver          "synaptics"
        Option          "SendCoreEvents"        "true"
        Option          "Device"                "/dev/psaux"
        Option          "Protocol"              "auto-dev"
        Option          "HorizEdgeScroll"       "0"
EndSection

Section "InputDevice"
        Driver          "wacom"
        Identifier      "stylus"
        Option          "Device"        "/dev/input/wacom"
        Option          "Type"          "stylus"
        Option          "ForceDevice"   "ISDV4"         # Tablet PC ONLY
EndSection

Section "InputDevice"
        Driver          "wacom"
        Identifier      "eraser"
        Option          "Device"        "/dev/input/wacom"
        Option          "Type"          "eraser"
        Option          "ForceDevice"   "ISDV4"         # Tablet PC ONLY
EndSection

Section "InputDevice"
        Driver          "wacom"
        Identifier      "cursor"
        Option          "Device"        "/dev/input/wacom"
        Option          "Type"          "cursor"
        Option          "ForceDevice"   "ISDV4"         # Tablet PC ONLY
EndSection

Section "InputDevice"
        Identifier  "pad"
        Driver      "wacom"
        Option      "Type" "pad"
        Option      "Device" "/dev/input/wacom"
        Option      "ButtonsOnly" "on"
        Option      "Button9" "2"
        Option      "Button13" "3"
        Option      "USB" "on"
EndSection

Section "Device"
        Identifier      "Configured Video Device"
EndSection

Section "Monitor"
        Identifier      "Configured Monitor"
EndSection

Section "Screen"
        Identifier      "Default Screen"
        Monitor         "Configured Monitor"
        Device          "Configured Video Device"
EndSection

Section "!ServerLayout"
        Identifier      "Default Layout"
        Screen          "Default Screen"
        InputDevice     "Synaptics Touchpad"
        InputDevice     "stylus"        "SendCoreEvents"
        InputDevice     "cursor"        "SendCoreEvents"
        InputDevice     "eraser"        "SendCoreEvents"
        InputDevice     "pad"           "SendCoreEvents"
EndSection

Configurare i tasti

Nel caso di Ubuntu 8.04 l'impostazione dei tasti e il suo conseguente utilizzo può portare al riavvio del server grafico con conseguente perdita di dati. Ciò Dovrebbe essere dovuto ad un bug si sconsiglia pertanto l'utilizzo di questa procedura.

Per configurare i tasti aprire una finestra di terminale e digitare i seguenti comandi:

xsetwacom set pad Button1 "core key a"
xsetwacom set pad Button2 "core key b"

I precedenti comandi associano al pulsante 1 la stessa funzione del tasto «a» e al pulsante 2 la stessa funzione funzione del tasto «b».

Le associazioni impostate nell'esempio precedente possono risultare molto utili durante l'utilizzo della tavoletta con Gimp.

Inoltre è possibile associare i pulsanti a delle combinazioni di tasti, ad esempio, se si volesse associare al pulsante 1 la stessa funzione della combinazione Ctrl+Alt+F2, è utile digitare il seguente comando:

xsetwacom set pad Button1 "core key ctrl alt F2"

Configurare la rotellina

Se si desidera utilizzare la rotellina come strumento per lo zoom all'interno di Gimp è utile digitare i seguenti comandi:

xsetwacom set pad RelWUp "key core +"
xsetwacom set pad RelWDn "key core -"

Se invece si desidera configurare la rotellina per lo scorrimento delle pagine è utile digitare i seguenti comandi:

xsetwacom set pad RelWUp "key core pgup"
xsetwacom set pad RelWDn "key core pgdn"

Tali comandi devono essere digitati ad ogni riavvio del sistema.

Ulteriori risorse


CategoryHardware CategoryGrafica CategoryDaRevisionare