Swapping Caps Lock and ControlPosted Apr 28, 2008 @ 20:36 EDT |
||
|
|
Here is how to swap the Caps Lock and Left Control keys in X-Windows on Unix-like systems (e.g. Linux, FreeBSD, NetBSD, ...) and Microsoft Windows operating systems. (If anyone would like to contribute instructions for MacOS X, please email me.) I'm not going to discuss why anyone would want to swap these keys; if you are looking at this page, you probably already know why and just want to know how. Off we go. X-Windows with KDEThis is my preferred environment so I'm putting it first :) KDE makes it really easy.
X-Windows with GNOMEGnome also makes changing the keyboard layout very easy.
Vanilla X-WindowsThis is a bit harder. You will need to edit your X-Windows config file, which is normally either /etc/X11/XF86Config-4 or /etc/X11/xorg.conf.
Microsoft Windows 2000 and XP (and Vista?)Microsoft made this most decidedly not easy. You will need to edit a horrible hex sequence in the registry to make it work. This Microsoft article explains how to do it. However, you are probably better off grabbing one of the many available registry files that will import the key for you. Like this one from manicai.net, or this one from johnhaller.com. WARNING: Use the registry files above at your own risk. They are not mine. I simply linked to two of the files I found. | |