I have laptop Acer Aspire E1-772G and it have Euro key near cursor keys. I do not use Euro and moreover it is implemented so pressing it generate sequence ALT 0 1 2 8
# showkey -k
kb mode was ?UNKNOWN?
[ if you are trying this under X, it might not work
since the X server is also reading /dev/console ]
press any key (program terminates 10s after last keypress)...
keycode 28 release
^[0^[1^[2^[8keycode 56 press
keycode 82 press
keycode 82 release
keycode 79 press
keycode 79 release
keycode 80 press
keycode 80 release
keycode 72 press
keycode 72 release
keycode 56 release
This does a lot of problems, as I press it often by mistake. In mc
it terminates it, it searches in history and so on
I would like to remap it to PgUp, to behave as expected from block of cursor keys, but i cannot find, where it is defined, or how to remap it. Can somebody help me?
I am using Gentoo with fluxbox and uxrvt as terminal.
PS: showkey
shows the same even without X
, but pressing the key just makes a box character (i suppose bad printed euro)
PSS: why it is not duplicate:
I have the problem without
xbindkeys
runningI have the problem even without X running
my problem is opposite - how to stop a key from sending sequencies of codes, not how to send such sequencies - and the solution (run program to send sequence) does not help to "eat" the sequence, nor I can STOP using mentioned program, as it is not running already and the
xmacroplay
is not even present on my laptop