djwhitt.com/blog

Archive for the ‘Windows’ Category

Remapping Capslock

with 2 comments

Despite its uselessness Capslock takes up some pretty prime realestate on the keyboard. Control, on the other hand, though extremely useful, languishes in the corners. To help fight this injustice I remap Capslock to Control.

For the console on Gentoo I put the following in /usr/share/keymap/i386/include/nocaps.map (I also gzip the file but you don’t have to):

keycode 58 = Control

and add the following to /etc/conf.d/keymaps:

EXTENDED_KEYMAPS="nocaps"

For X I add the following to my ~/.Xmodmap (which I load using xmodmap in my .xinitrc):

remove Lock = Caps_Lock
remove Control = Control_L
keysym Caps_Lock = Control_L
add Control = Control_L

On Windows I use SysInternals excellent Ctrl2cap utility.

Written by djwhitt

July 18th, 2008 at 6:46 pm

Posted in Gentoo, Linux, Windows