You are not logged in.

#1 2018-04-27 16:21:41

ralph_13
Member
Registered: 2015-02-06
Posts: 73

Clear up key

ke Guys hisI need to clear the up key, it's broken and it keeps pressing itself all the time
y type t
I can barel
i moved it to r ctrl with 
xmodmap but i can't seem to find a way to clear it, pl

Offline

#2 2018-04-27 18:39:07

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,849

Re: Clear up key

Fix or replace the keyboard?

xmodmap -e 'keycode 111='

Use "xev" to ensure that 111/Up is the proper keycode.

Offline

#3 2018-05-05 17:44:47

ralph_13
Member
Registered: 2015-02-06
Posts: 73

Re: Clear up key

Thanks seth, that solution has worked fine for the past few days. But I'm afraid that this problem will worsen and I won't be able to login with the constant ^[[A's. Is there any known way to disable the key in the tty as well? I did google up and down and found nothing. This is a laptop so replacing the keyboard isn't really a viable option here.

Offline

#4 2018-05-05 17:57:08

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,849

Re: Clear up key

Of course you can replace a laptop keyboard (if it's not tooooooo long out of shelfs)

setkeycodes (use showkeys to figure the scancode) *might* work (mapping it to "0"?) but i've never tried that (and right now can't risk to screw the system ;-)

Offline

#5 2018-05-06 17:33:42

ralph_13
Member
Registered: 2015-02-06
Posts: 73

Re: Clear up key

I know that the keyboard can be replaced, but I can't afford to (as in it would cost me more than ten bucks). Anyway, I can't really test it either because the problem seems to be under control for now, the key isn't working at all. Will post results whenever.

Offline

Board footer

Powered by FluxBB