Ubuntu 8.10 e disabilitare il touchpad durante digitazione

Riconoscimento, installazione e configurazione delle periferiche.
Scrivi risposta
Avatar utente
ilcontegis
Entusiasta Emergente
Entusiasta Emergente
Messaggi: 1253
Iscrizione: venerdì 16 febbraio 2007, 21:05
Desktop: Unity
Distribuzione: Ubuntu 15.04 64bit
Località: Tokyo - Japan

Ubuntu 8.10 e disabilitare il touchpad durante digitazione

Messaggio da ilcontegis »

Ciao ragazzi.
Ho trovato diverse guide su come disattivare il touchpad quando scrivo. Ma sono tutte vecchie e dicono tutte di modificare lo xorg.conf. Tuttavia ora lo xorg non contiene più queste info, infatti è HAL che si occupa di mouse e touchpad.
Vorrei sapere per cortesia cosa devo fare per disattivare il touchpad mentre digito.
Ho un vaio TT50B e non ho il bottone per spegnere/accendere il touchpad.
Grazie mille
(b2b)
Lui: ah non usi Windows? E come lo usi il pc?
Io: No, uso un altro sistema operativo..GNU/Linux..
Lui: e come fai? Ma usi mouse e tastiera?
Avatar utente
[lost]-Divilinux
Imperturbabile Insigne
Imperturbabile Insigne
Messaggi: 3774
Iscrizione: giovedì 12 giugno 2008, 13:06
Località: Ipioca - Maceio - Alagoas - Brasil
Contatti:

Re: Ubuntu 8.10 e disabilitare il touchpad durante digitazione

Messaggio da [lost]-Divilinux »

hal che si occupa del touchpad? dove lo hai letto?
Lo xorg.conf non contiene piu' le opzioni perche' e' stato semplificato..ma puoi aggiungerle normalmente. Poi con un tool tipo gsynaptic puoi disattivarlo quando vuoi.
questione di seedings...
Avatar utente
Cobra78
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 991
Iscrizione: giovedì 18 agosto 2005, 11:08
Località: Ferrara
Contatti:

Re: Ubuntu 8.10 e disabilitare il touchpad durante digitazione

Messaggio da Cobra78 »

No, ora se ne occupa davvero hal, comunque cerca bene con le keyword hal e fdi (fdi è l'estensione dei file di configurazione per hal) e vedrai che trovi ^^

Al limite ora non faccio a tempo, ma più tardi ti posto al mia config.
Dell Inspiron 1720 Ice White Windows 7 Professional/Archlinux x86_64 - 2.6.38.x - Gnome3
Msi Wind U100 Windows Xp/Ubuntu 11.04 - Gnome3
Avatar utente
ilcontegis
Entusiasta Emergente
Entusiasta Emergente
Messaggi: 1253
Iscrizione: venerdì 16 febbraio 2007, 21:05
Desktop: Unity
Distribuzione: Ubuntu 15.04 64bit
Località: Tokyo - Japan

Re: Ubuntu 8.10 e disabilitare il touchpad durante digitazione

Messaggio da ilcontegis »

capito grazie
Lui: ah non usi Windows? E come lo usi il pc?
Io: No, uso un altro sistema operativo..GNU/Linux..
Lui: e come fai? Ma usi mouse e tastiera?
Avatar utente
M@X1970
Entusiasta Emergente
Entusiasta Emergente
Messaggi: 1154
Iscrizione: giovedì 11 dicembre 2008, 16:39

Re: Ubuntu 8.10 e disabilitare il touchpad durante digitazione

Messaggio da M@X1970 »

ilcontegis ha scritto: capito grazie
Hai risolto? Sono interessato anch'io  :-[
°-°- M@X1970 -°-°
Meglio Bruciare che spegnersi lentamente - Neil Young: "Rust Never  Sleep"
[Guida] [Compiz] Capi del Cubo Trasparenti (non disegnare le facce sopra/sotto)
Avatar utente
M@X1970
Entusiasta Emergente
Entusiasta Emergente
Messaggi: 1154
Iscrizione: giovedì 11 dicembre 2008, 16:39

Re: Ubuntu 8.10 e disabilitare il touchpad durante digitazione

Messaggio da M@X1970 »

Sto facendo riferimento a questo...
Prevent Accidental Mouse Movement
Note: Starting syndaemon using the init script doesn't work. It will be removed in the near future.

If your laptop has a compact physical layout, you may often have accidental mouse clicks while typing. syndaemon (part of the synaptics package) can be used to disable the touchpad while keyboard keys are pressed.

You can start the daemon automatically using the .xinitrc file in your $HOME directory or using your desktop's autostart feature (if available). For KDE, add this script to the ~/.kde/Autostart/ folder:
File: ~/.kde/Autostart/syndaemon

#!/bin/bash
syndaemon

If you wish to use modifier keys (e.g.: Ctrl, Alt) while moving the mouse, you can add -k to the command.

Please read syndaemon's man page for more options to control disabling the touchpad while typing.
In effetti se dal terminale avvio questo comando (senza installare niente di particolare)...

Codice: Seleziona tutto

syndaemon
si attiva il demone che durante la pressione di un qualsiasi tasto della tastiera disabilita il touchpad impedendo accidentali movimenti del mouse  (good)

Ecco il manuale...

Codice: Seleziona tutto

NAME
       syndaemon - a program that monitors keyboard activity and disables the touchpad when the keyboard is being used.

SYNTAX
       syndaemon [-i idle-time] [-d] [-p pid-file] [-t] [-k] [-K]

DESCRIPTION
       Disabling  the  touchpad while typing avoids unwanted movements of the pointer that could lead to giving focus to the wrong window.  This program
       needs SHMConfig "on" in your XOrg/XFree86 Synaptics Touchpad configuration.

OPTIONS
       -i <idle-time>
              How many seconds to wait after the last key press before enabling the touchpad.  (default is 2.0s).

       -d     Start as a daemon, ie in the background.

       -p <pid-file>
              Create a pid file with the specified filename.  A pid file will only be created if the program is started in daemon mode.

       -t     Only disable tapping and scrolling, not mouse movements, in response to keyboard activity.

       -k     Ignore modifier keys when monitoring keyboard activity.

       -K     Like -k but also ignore Modifier+Key combos.

ENVIRONMENT VARIABLES
       DISPLAY
              Specifies the X server to contact.

CAVEATS
       It doesn’t make much sense to connect to a remote X server, because the daemon will then monitor the remote server  for  keyboard  activity,  but
       will disable the touchpad on the local machine.

AUTHORS
       Peter Osterlund <petero2@telia.com>.

       This man page was written by Mattia Dongili <malattia@debian.org>
Ciao ;)
°-°- M@X1970 -°-°
Meglio Bruciare che spegnersi lentamente - Neil Young: "Rust Never  Sleep"
[Guida] [Compiz] Capi del Cubo Trasparenti (non disegnare le facce sopra/sotto)
Avatar utente
M@X1970
Entusiasta Emergente
Entusiasta Emergente
Messaggi: 1154
Iscrizione: giovedì 11 dicembre 2008, 16:39

Re: Ubuntu 8.10 e disabilitare il touchpad durante digitazione

Messaggio da M@X1970 »

Alla fine ho scoperto qui la stessa cosa Hardware/Periferiche/SynapticsTouchpad

Per cui consiglio di abbassare almeno ad 1 secondo il tempo di disabilitazione con la riga di comando...

Codice: Seleziona tutto

syndaemon -d -i 1
...da inserire alla lista dei programmi in avvio che si trova in Sistema -> Preferenze -> Sessioni
Ultima modifica di M@X1970 il mercoledì 18 marzo 2009, 2:50, modificato 1 volta in totale.
°-°- M@X1970 -°-°
Meglio Bruciare che spegnersi lentamente - Neil Young: "Rust Never  Sleep"
[Guida] [Compiz] Capi del Cubo Trasparenti (non disegnare le facce sopra/sotto)
Avatar utente
ilcontegis
Entusiasta Emergente
Entusiasta Emergente
Messaggi: 1253
Iscrizione: venerdì 16 febbraio 2007, 21:05
Desktop: Unity
Distribuzione: Ubuntu 15.04 64bit
Località: Tokyo - Japan

Re: Ubuntu 8.10 e disabilitare il touchpad durante digitazione

Messaggio da ilcontegis »

Codice: Seleziona tutto

teo@teo:~$ syndaemon -d -i 1
X Error of failed request:  BadDevice, invalid or uninitialized input device
  Major opcode of failed request:  146 (XInputExtension)
  Minor opcode of failed request:  3 (X_OpenDevice)
  Serial number of failed request:  10
  Current serial number in output stream:  10
Lui: ah non usi Windows? E come lo usi il pc?
Io: No, uso un altro sistema operativo..GNU/Linux..
Lui: e come fai? Ma usi mouse e tastiera?
Avatar utente
M@X1970
Entusiasta Emergente
Entusiasta Emergente
Messaggi: 1154
Iscrizione: giovedì 11 dicembre 2008, 16:39

Re: Ubuntu 8.10 e disabilitare il touchpad durante digitazione

Messaggio da M@X1970 »

Non capisco... io ho Intrepid e senza fare niente di particolare ho attivato questa funzione

Mi sa che avendo la PLUS Remix del Majorana ci sono delle funzioni particolari già preinstallate

Adesso devo provare la variante per usare i tasti Ctrl e Alt altrimenti non posso fare selezioni tramite la loro combinazione ed il touchpad
°-°- M@X1970 -°-°
Meglio Bruciare che spegnersi lentamente - Neil Young: "Rust Never  Sleep"
[Guida] [Compiz] Capi del Cubo Trasparenti (non disegnare le facce sopra/sotto)
Avatar utente
M@X1970
Entusiasta Emergente
Entusiasta Emergente
Messaggi: 1154
Iscrizione: giovedì 11 dicembre 2008, 16:39

Re: Ubuntu 8.10 e disabilitare il touchpad durante digitazione

Messaggio da M@X1970 »

Ok la soluzione combinazione migliore è questa...

Codice: Seleziona tutto

syndaemon -k -d -i 1
...in modo da poter sfruttare le combinazioni coi tasti Ctrl Alt Shift  (yes)
°-°- M@X1970 -°-°
Meglio Bruciare che spegnersi lentamente - Neil Young: "Rust Never  Sleep"
[Guida] [Compiz] Capi del Cubo Trasparenti (non disegnare le facce sopra/sotto)
Avatar utente
ilcontegis
Entusiasta Emergente
Entusiasta Emergente
Messaggi: 1253
Iscrizione: venerdì 16 febbraio 2007, 21:05
Desktop: Unity
Distribuzione: Ubuntu 15.04 64bit
Località: Tokyo - Japan

Re: Ubuntu 8.10 e disabilitare il touchpad durante digitazione

Messaggio da ilcontegis »

M@X1970 ha scritto: Ok la soluzione combinazione migliore è questa...

Codice: Seleziona tutto

syndaemon -k -d -i 1
...in modo da poter sfruttare le combinazioni coi tasti Ctrl Alt Shift  (yes)

Codice: Seleziona tutto

teo@teo:~$ syndaemon -k -d -i 1
X Error of failed request:  BadDevice, invalid or uninitialized input device
  Major opcode of failed request:  146 (XInputExtension)
  Minor opcode of failed request:  3 (X_OpenDevice)
  Serial number of failed request:  10
  Current serial number in output stream:  10
Cosa vuol dire sta roba?
THX  (b2b)
Lui: ah non usi Windows? E come lo usi il pc?
Io: No, uso un altro sistema operativo..GNU/Linux..
Lui: e come fai? Ma usi mouse e tastiera?
Scrivi risposta

Ritorna a “Driver e periferiche”

Chi c’è in linea

Visualizzano questa sezione: Majestic-12 [Bot], nick091, Velvettiere e 11 ospiti