I’m using Debian and I want to remap my keyboard because it has some problem. I googled and found xmodmap. But it doesn’t work in graphicless mode, like tty1.
Answers:
Thank you for visiting the Q&A section on Magenaut. Please note that all the answers may not help you solve the issue immediately. So please treat them as advisements. If you found the post helpful (or not), leave a comment & I’ll get back to you as soon as possible.
Method 1
Linux uses two independent keyboard mappings. One for the graphical mode X and one for the console.
You usually change the first one with setxkbmap (or xmodmap) and the second one with loadkeys. All those tool have a fine manpage.
For loadkeys you can find the existing keymaps under /usr/share/kbd/keymaps.
The description of those files is available in man 5 keymaps.
All methods was sourced from stackoverflow.com or stackexchange.com, is licensed under cc by-sa 2.5, cc by-sa 3.0 and cc by-sa 4.0