Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
disattivare tastiera a schermo notebook chiuso
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) Forum di discussione italiano
View previous topic :: View next topic  
Author Message
bandreabis
Advocate
Advocate


Joined: 18 Feb 2005
Posts: 2489
Location: イタリアのロディで

PostPosted: Fri Jul 21, 2017 5:02 pm    Post subject: disattivare tastiera a schermo notebook chiuso Reply with quote

Ciao Gentooisti!
Al mio nuovo notebook (poco meno di un anno) ho trovato un grosso difetto.
Una volta chiuso lo schermo del PC, al mio gatto piace pascolarci su.
Solo che lo schermo è sottile, e camminandoci su schiaccia tasti a caso, forse anche combinazioni di tasti. Sta di fatto che al pc può accadere di tutto.

Esiste un modo per disabilitare la tastiera una volta chiuso lo schermo, senza metterlo in stand-by?

Grazie a chiunque possa aiutarmi.

Andrea
_________________
Il numero di post non fa di me un esperto! Anzi!
Back to top
View user's profile Send private message
sabayonino
Veteran
Veteran


Joined: 03 Jan 2012
Posts: 1008

PostPosted: Fri Jul 21, 2017 6:30 pm    Post subject: Reply with quote

ciao

non mi viene in mente nulla se non al blocco della sessione

oppure passare ad una tty ! :lol:

e/o guardare a : http://puszcza.gnu.org.ua/software/kbdlock/kbdlock.html
_________________
LRS i586 on G.Drive
LRS x86-64 EFI on MEGA
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30822
Location: here

PostPosted: Sat Jul 22, 2017 7:21 am    Post subject: Reply with quote

Penso che xinput sia la via giusta, pero' non so come si puo' lanciare uno script quando si abbassa lo schermo o lo si rialza.
Comunque non e' neanche da scartare la soluzione di sabayonino :D (o anche lanciare il salvaschermo prima di abbassare)
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
sabayonino
Veteran
Veteran


Joined: 03 Jan 2012
Posts: 1008

PostPosted: Sat Jul 22, 2017 12:39 pm    Post subject: Reply with quote

xinput potrebbe essere la cosa giusta

Code:
$ xinput list
⎡ Virtual core pointer                          id=2    [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer                id=4    [slave  pointer  (2)]
⎜   ↳ AlpsPS/2 ALPS DualPoint Stick             id=11   [slave  pointer  (2)]
⎜   ↳ AlpsPS/2 ALPS DualPoint TouchPad          id=12   [slave  pointer  (2)]
⎣ Virtual core keyboard                         id=3    [master keyboard (2)]
    ↳ Virtual core XTEST keyboard               id=5    [slave  keyboard (3)]
    ↳ Power Button                              id=6    [slave  keyboard (3)]
    ↳ Video Bus                                 id=7    [slave  keyboard (3)]
    ↳ Power Button                              id=8    [slave  keyboard (3)]
    ↳ Sleep Button                              id=9    [slave  keyboard (3)]
    ↳ AT Translated Set 2 keyboard              id=10   [slave  keyboard (3)]
    ↳ Dell WMI hotkeys                          id=13   [slave  keyboard (3)]


questi i parametri che interessano per il blocco e ripristino

AT Translated Set 2 keyboard id=10 [slave keyboard (3)]

Ovviamente a te potrebbero risultare diversi ! adattali alle tue esigenze

Blocco tastiera (id=10 --> AT Translated Set 2 keyboard)
Code:
$ xinput float 10


per rittivarla basta fare lo switch di un tty e ritornare al tty di X
oppure dopo 30 secondi :
Code:
$  xinput float 10 && sleep 30 && xinput reattach 10 3


magari ti crei un alias del comando .
mettendo un valore di "sleep" elevato , puoi disabilitare il tuto sempre con lo switch di tty
_________________
LRS i586 on G.Drive
LRS x86-64 EFI on MEGA
Back to top
View user's profile Send private message
bandreabis
Advocate
Advocate


Joined: 18 Feb 2005
Posts: 2489
Location: イタリアのロディで

PostPosted: Thu Jul 27, 2017 6:30 am    Post subject: Reply with quote

Non sono più sicuro che la colpa sia del gatto.
Anche ieri sera si sono aperti dei programmi da soli, ed il micio non era presente.

Stamattina e ieri mattina mi sono collegato da remoto e ho trovato lo schermo pieno di note (widget di kde), cartelle aperte e programmi.

Non so come comportarmi.

Che palle!!
_________________
Il numero di post non fa di me un esperto! Anzi!
Back to top
View user's profile Send private message
bandreabis
Advocate
Advocate


Joined: 18 Feb 2005
Posts: 2489
Location: イタリアのロディで

PostPosted: Sun Jul 30, 2017 3:52 pm    Post subject: Reply with quote

Che scherzo del destino.
Ho dato fin'ora la colpa al gatto e invece era colpa del topo!

Accidenti a me
_________________
Il numero di post non fa di me un esperto! Anzi!
Back to top
View user's profile Send private message
bandreabis
Advocate
Advocate


Joined: 18 Feb 2005
Posts: 2489
Location: イタリアのロディで

PostPosted: Wed Aug 02, 2017 2:02 pm    Post subject: Reply with quote

Ogni tot un aggiornamento.
Il problema non è il gatto e non è il topo.
Ora parrebbe essere il touchpad. Disattivato se mouse collegato e sono 2 giorni che tutto fila liscio.
Boh. Prossima settimana avrò più tempo da dedicargli.
_________________
Il numero di post non fa di me un esperto! Anzi!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) Forum di discussione italiano All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum