Swapping the Escape and Caps Lock in console
http://superuser.com/questions/29011...eymap-in-linux
http://askubuntu.com/questions/15738...nd-line-system
I swap Caps_Lock and Escape for editing with vim, and although easy to do in X, I never figured out how to swap the keys in console terminals.
The above links to a nice method to reassign keymaps so that the caps and esc keys are swapped.
This file can be saved in /usr/share/keymaps in the appropriate keymap folder; I called it swapCapsEsc.map
In LFS, this can be mapped directly in the /etc/sysconfig/console as a KEYMAP_CORRECTIONS variable
No need to load it in the runtime commands.
http://askubuntu.com/questions/15738...nd-line-system
I swap Caps_Lock and Escape for editing with vim, and although easy to do in X, I never figured out how to swap the keys in console terminals.
The above links to a nice method to reassign keymaps so that the caps and esc keys are swapped.
Code:
keycode 58 = Escape Escape Escape keycode 1 = Caps_Lock Caps_Lock Caps_Lock
In LFS, this can be mapped directly in the /etc/sysconfig/console as a KEYMAP_CORRECTIONS variable
Code:
KEYMAP="us" KEYMAP_CORRECTIONS="swapCapsEsc"
Total Comments 0