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

Asked by marco.pallotta on 2009-01-01

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:
2009-01-08
Last query:
2009-01-08
Last reply:
2009-01-01
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.

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

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?

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.

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).

Thanks Andre Mangan, that solved my question.