Tag Info

New answers tagged

1

loadkeys re-programs the terminal emulator that is built in to the kernel, via ioctl() requests through a kernel virtual terminal device. You aren't using that terminal emulator when you connect to the machine via ssh. Indeed, you aren't involving any terminal emulator, kernel or user space, on that machine at all. The terminal emulator on your local ...


2

You can't unmap internal keybindings that vim needs but you can map them to <Nop> to disable them. Run this command in vim: :map <S-k> <Nop> or add this line to you .vimrc file: map <S-k> <Nop>


2

Found my own answer in the keymaps man page. On my keyboard the CAPS LOCK has keycode 41. To remap it, you need the following keymap line, keycode 41 = backslash bar This will map CAPS LOCK to the backslash character, and SHIFT + CAPS LOCK to the bar (pipe) character.


1

Not sure if it helps (as not purely in setxkbmap), but: setxkbmap -option caps:none xmodmap -e "keycode 66 = Linefeed" Change back: setxkbmap -option xmodmap -e "keycode 66 = Caps_Lock" You can check with something like: xev | sed -ne '/^KeyPress/,/^$/p' to get keycodes.



Top 50 recent answers are included