I have been forced to work once more under Windows. The experience is less than pleasant — most noticably the low resolution coupled with the lack of virtual desktops leading to desktop real estate being at an all-time high.
Anyway, under my trusty old Ubuntu I had configured CapsLock to double as a control key. It’s quite easy there. In Windows it is not so easy, but doable. There’s plenty of tips on the web (e.g. anticapslock.com). After a bit of Googling and browsing the following made the magic happen:
- fire up regedit
- open the key “HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout”
- Right-click and add a new binary value named “Scancode Map”
- Give it following binary value:
00 00 00 00
00 00 00 00
02 00 00 00
1D 00 3A 00
00 00 00 00
Explanation: the numbers are in little endian, so swap every block of two. 00 02 is the number of changes; 001D is the (left) ctrl key, and 003A is the CapsLock key. The rest is header and footer stuff.
It works, I am a happy camper now! Now onwards, to copy&paste more stuff from LaTeX to Word :S
Edit: Do reboot your machine afterwards for the settings to take effect. This is, after all, windows :)