keyboard - Changing caps lock to tab in Linux/Gnome 3.x
2014-04
I have (physically) broken my tab key and would need like to use the CAPS LOCK key as the tab key instead. I have tried to do this with xorg.conf
Option "XkbOptions" "tab:swapcaps"
but it doesn't seem to have any effect (nor can I see any errors regarding this config in the logs).
Any help changing CAPS_LOCK to work as tab key would be highly appreciated!
One can use xmodmap, I think this link gives enough information:
http://askubuntu.com/questions/94503/how-to-swap-remap-the-caps-lock-key-with-tab-key
Yesterday I asked how I could disable or reassign the infamous CAPS LOCK key. The accepted answer pointed me to AutoHotkey, a powerful free, open-source utility for Windows for automating key strokes and mouse clicks.
The tool includes a script language and even a compiler (!) and it seems to work very well. For example, I managed to map the middle mouse button to the ALT-TAB key combination using this script in Windows Vista:
MButton::AltTabAndMenu
return
Now, I wanted to do the same reassigning the CAPS LOCK key to ALT-TAB:
CapsLock::AltTabAndMenu
return
But this doesn't have the desired effect. Instead of showing the "ALT TAB" running applications menu, it shows the Vista Start menu, as if I had hit the WIN key.
Any suggestions?
This works for me
CapsLock::AltTabMenu
return
CapsLock UP::AltTabAndMenu
return