8

There is a keyboard with ' key broken. I've remapped it to the Wake button with xmodmap but that affects only X session, how can I achieve this for TTYs?

Note: editing keymap files directly is not the best option since I want the system to be upgradeable.

1
  • I'm not sure there is a way to rebind keys for a TTY without some serious tinkering..
    – Seth
    Apr 5, 2013 at 0:47

1 Answer 1

3
+50

I haven't had to deal with a situation like yours nor am I sure about the 'Wake' button, but you may want to look into:

  • /etc/inputrc or .inputrc
  • loadkeys/dumpkeys
2
  • that might work, let me check... :)
    – int_ua
    Apr 9, 2013 at 20:30
  • yes, showkey to check the needed keycode (isn't the same for Xorg in my case), dumpkeys to get current values and sudo loadkeys file-with-only-new-values
    – int_ua
    Apr 9, 2013 at 22:22

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .