I HATE the Caps Lock Key

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:

Linux

  1. Create a file in your home directory called .xmodmap if it doesn’t already exist
  2. 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 
  3. Add the following line into ~/.bash_profile
    xmodmap ~/.xmodmap 

Windows

  1. Click Start > Run
  2. Type “regedit”
  3. Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout
  4. While Keyboard Layout has focus, go to Edit > New > Binary Value
  5. Enter “Scancode Map” as the name
  6. 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 
  7. Exit the Registry Editor
  8. Log out and log back into Windows

 

 

 

 

Leave a Reply