Seriously though, when was the last time you used Caps Lock intentionally? OK, so occasionally you are trolling some board and get into a flame war at 3 in the morning. You need caps lock for that. Since I can usually restrain myself well enough not to engage in that sort of juvenility Caps Lock is mostly a nuance.
So what do you do with it? Well I also dislike the location of the left control key and find it really hard to reach when I want to. Inversely I never find myself accidentally hitting the control key. //Light bulb// Swapping the two works very nicely!
Here’s how to swap the Caps Lock key with left Ctrl:
- Create a file in your home directory called .xmodmap if it doesn’t already exist
- Paste the following lines into the file:
remove Lock = Caps_Lock remove Control = Control_L keysym Control_L = Caps_Lock keysym Caps_Lock = Control_L add Lock = Caps_Lock add Control = Control_L
- Add the following line into ~/.bash_profile
- Click Start > Run
- Type “regedit”
- Navigate to
- While Keyboard Layout has focus, go to Edit > New > Binary Value
- Enter “Scancode Map” as the name
- Enter the following as the Data:
0000: 00 00 00 00 00 00 00 00 0008: 03 00 00 00 3A 00 1D 00 0010: 1D 00 3A 00 00 00 00 00
- Exit the Registry Editor
- Log out and log back into Windows