Difference between revisions of "Console mouse support (Italiano)"
Lahwaacz.bot (talk | contribs) (synchronized interlanguage links with the other wikis) |
|||
(16 intermediate revisions by 12 users not shown) | |||
Line 1: | Line 1: | ||
[[Category:Daemons and system services (Italiano)]] | [[Category:Daemons and system services (Italiano)]] | ||
− | [[Category: | + | [[Category:Mice (Italiano)]] |
− | [[ | + | [[en:Console Mouse Support]] |
− | + | [[es:Console Mouse Support]] | |
− | {{ | + | [[ko:Console Mouse Support]] |
− | {{ | + | [[ru:Console Mouse Support]] |
− | {{ | + | [[zh-CN:Console Mouse Support]] |
− | + | {{Related articles start (Italiano)}} | |
− | + | {{Related|Daemon (Italiano)}} | |
− | + | {{Related articles end}} | |
+ | GPM, abbreviativo di General Purpose Mouse, è un demone che fornisce supporto al mouse per le console virtuali Linux. È incluso nella maggior parte delle distribuzioni Linux. | ||
− | + | ==Installazione== | |
+ | ===Desktop=== | ||
+ | Installare {{Pkg|gpm}} con [[pacman]]: | ||
+ | # pacman -S gpm | ||
+ | ===Laptop=== | ||
+ | Installare {{Pkg|gpm}} e {{Pkg|xf86-input-synaptics}} con [[pacman]]: | ||
+ | # pacman -S gpm xf86-input-synaptics | ||
− | + | ==Configurazione== | |
+ | Il parametro {{Ic|-m}} precede la dichiarazione del mouse da utilizzare. Il parametro {{Ic|-t}} precede il tipo di mouse. Per avere un elenco dei tipi disponibili per l'opzione {{Ic|-t}}, eseguire gpm con {{Ic|-t help}}. | ||
+ | $ gpm -m /dev/input/mice -t help | ||
− | + | Se il mouse ha solo 2 tasti, passare il parametro {{Ic|-2}} a {{Ic|GPM_ARGS}} e il secondo tasto sarà abilitato alla funzione "incolla". | |
− | + | Il pacchetto {{Pkg|gpm}} deve essere avviato con alcuni parametri. Questi parametri possono essere impostati nel file {{ic|/etc/conf.d/gpm}}, o usati per eseguire gpm direttamente. | |
+ | * For PS/2 mice, replace the existing line with: | ||
+ | GPM_ARGS="-m /dev/psaux -t ps2" | ||
+ | * Whereas USB mice should use: | ||
+ | GPM_ARGS="-m /dev/input/mice -t imps2" | ||
+ | * And IBM Trackpoints need: | ||
+ | GPM_ARGS="-m /dev/input/mice -t ps2" | ||
− | + | Una volta trovata la configurazione adeguata, aggiungere {{Ic|gpm}} nella stringa {{Ic|DAEMONS}} in {{ic|/etc/rc.conf}} per avere {{Ic|gpm}} avviato al boot. Esempio: | |
− | DAEMONS=(syslog-ng network netfs crond | + | DAEMONS=(syslog-ng '''gpm''' network netfs crond) |
− | |||
− | + | Per maggiori informazioni {{Ic|man gpm}}. | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | Per maggiori informazioni |
Revision as of 15:06, 23 February 2014
GPM, abbreviativo di General Purpose Mouse, è un demone che fornisce supporto al mouse per le console virtuali Linux. È incluso nella maggior parte delle distribuzioni Linux.
Installazione
Desktop
# pacman -S gpm
Laptop
Installare gpm e xf86-input-synaptics con pacman:
# pacman -S gpm xf86-input-synaptics
Configurazione
Il parametro -m
precede la dichiarazione del mouse da utilizzare. Il parametro -t
precede il tipo di mouse. Per avere un elenco dei tipi disponibili per l'opzione -t
, eseguire gpm con -t help
.
$ gpm -m /dev/input/mice -t help
Se il mouse ha solo 2 tasti, passare il parametro -2
a GPM_ARGS
e il secondo tasto sarà abilitato alla funzione "incolla".
Il pacchetto gpm deve essere avviato con alcuni parametri. Questi parametri possono essere impostati nel file /etc/conf.d/gpm
, o usati per eseguire gpm direttamente.
- For PS/2 mice, replace the existing line with:
GPM_ARGS="-m /dev/psaux -t ps2"
- Whereas USB mice should use:
GPM_ARGS="-m /dev/input/mice -t imps2"
- And IBM Trackpoints need:
GPM_ARGS="-m /dev/input/mice -t ps2"
Una volta trovata la configurazione adeguata, aggiungere gpm
nella stringa DAEMONS
in /etc/rc.conf
per avere gpm
avviato al boot. Esempio:
DAEMONS=(syslog-ng gpm network netfs crond)
Per maggiori informazioni man gpm
.