Just a quick question: how do I switch ctrl and caps lock in a virtual terminal (not xterm/urxvt/etc. - I'm talking about tty1-6).
Thanks in advance!
Last edited by chaanakya (2011-07-01 19:50:07)
Google is your only friend
Last edited by macondo123 (2011-06-30 18:14:05)
Desktop: Atom 1.6 || 1 MB RAM || 160 GB HD
Minimal Squeeze || icewm/fluxbox/ratpoison
KISS = Keep It Simple, Stupid
Thanks macondo123! That's the second time you've helped me recently!
Problem solved! For future reference (my own as well as others), the command I used was
echo -e "$(dumpkeys | grep ^keymaps)\nkeycode 58 = Control" | sudo loadkeys
Marking thread solved.
Ugh...problem *not* resolved...every time I press CapsLock (to turn on Control), it sticks and doesn't ever stop (even if I press CapsLock again).
Well...I found out it sticks until I switch to another VT and back...
Also, I don't have the issue with the actual Control key...
I have a feeling it's an issue that the original mapping (CapsLock -> CapsLock) hasn't been removed...anyone know what to do?
I got ctrl to register as a caps lock, but the only problem is removing the caps lock association from the caps lock key.
Never mind...found an even *easier* solution:
sudo loadkeys /usr/share/keymaps/i386/qwerty/emacs2.kmap.gz
(which *doesn't* have the problem I had with the dumpkeys stuff)
Last edited by chaanakya (2011-07-01 19:49:56)