Swapping the CTRL key with CAPS LOCK key on Windows XP & Linux
1 September 04I use my laptop with windows xp mainly for work, which mainly involves working on my linux servers. I end up using the ctrl key a lot, whilst the caps lock key goes unused. My pinky fingers grew tired of always reaching for the awkwardly placed ctrl-keys. A quick search on the net for remapping those keys resulted in a solution:
WinXP:
Basically, startup Regedit. Go to the HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout and add a binary value called ‘Scancode Map’.
Information collected from:
Linux:
Well, Actually this is only for X 4.x, you can uncomment the following line in XF86Config:
Option “XkbOptions” “ctrl:swapcaps”
Or if it doesn’t exist, add that into the “InputDevice” section.