Hey guys!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!- Chaanakya
I have a problem with Ctrl-key combinations in emacs with the Apple USB keyboard. I have set Caps-Lock as an additional Ctrl key.
When using the Caps-Lock as Ctrl, 'Ctrl-x Ctrl-f' sometimes registers properly but sometimes registers as 'x Ctrl-f'. This happens both when I release and depress the Ctrl key or hold the Ctrl key and do 'Ctrl-x-f'.
I've been trying to swap CAPS LOCK key with Tab key. So the CAPS LOCK key shouldn't turn on the CAPS anymore, instead, act as the Tab key. Some people told me that I should create a .Xmodmap file in the ~/ directory. But I have no idea what's next.
And it looks like there is a solution! In order to switch to something like Caps Lock or Alt Shift, you need to set the shortcut for "Modifiers-only switch to next source" rather than "Switch to next input source". To set it, you need to press and hold the disable button, mouse over the one you want (Caps Lock), and release the mouse.