is there a way to customize unknown keys (unknown key pressed .....use setkeycodes .....)?

Asked by marco.pallotta

When I press unrecognisible keys I can see, from the logs, a log similar to

Jan 1 16:48:15 ubuntu kernel: [ 2255.899383] atkbd.c: Unknown key pressed (translated set 2, code 0x92 on isa0060/serio0).
Jan 1 16:48:15 ubuntu kernel: [ 2255.899398] atkbd.c: Use 'setkeycodes e012 <keycode>' to make it known.

Is there a way to make them known?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu xserver-xorg-input-synaptics Edit question
Assignee:
No assignee Edit question
Solved by:
Andre Mangan
Solved:
Last query:
Last reply:
Revision history for this message
Andre Mangan (kyphi) said :
#1

Have a look under System, Preferences, Keyboard Shortcuts where you will not only see the codes attached to any shortcut key but you can also alter them.

Revision history for this message
marco.pallotta (marco-pallotta) said :
#2

@Andre, via System -> preferences -> keyboard Shortcuts I cannot alter the keys related to the log messages I posted.

Revision history for this message
Andre Mangan (kyphi) said :
#3

You are right, marco. I tried the help button but did not find the instructions all that helpful. Did you look at the Help section?

Revision history for this message
marco.pallotta (marco-pallotta) said :
#4

Yes, I did it. But setkeycodes man says that keycodes of X have nothing to do with those of Linux. So there is another solution than using keycodes.

Revision history for this message
Best Andre Mangan (kyphi) said :
#5

The only other place that I know about is System, Preferences, Keyboard, Layouts, Layout Options.

You might also look at what Hotkeys can do (sudo apt-get install hotkeys).

Revision history for this message
marco.pallotta (marco-pallotta) said :
#6

Thanks Andre Mangan, that solved my question.