Make Caps Lock a control key

| 4 Comments

At home on my "primary" computer I use a Happy Hacking Keyboard. It's great. No caps lock. Meta key. No numerical keyboard to put your mouse further away.
With some help from RemapCapsLock on Wiki I made my other Linux box (with a regular keyboard) have the left Control key on CapsLock; the right Control key on the left Control key and nothing on the right Control key. Yay.

Put the following in a file and run xmodmap filename.

clear Lock
remove Lock = Caps_Lock
remove Control = Control_L
keysym Control_R = Caps_Lock
keysym Caps_Lock = Control_L
add Lock = Caps_Lock
add Control = Control_L
keycode 0x7e = Control_R
add Control = Control_R

4 Comments

And if you've got a Mac, there's always uControl to do the deed. :-)

It's a little flakey, but it does the job pretty well.

Yay, that was the keyword. The WikiWikiWeb entry had a bad link (I will go and fix it now), so it was not of much help.

http://www.gnufoo.org/ucontrol/ucontrol.html

Very Cool. I have now killed CapsLock on all the computers I work on. Bliss.

It's easy in windows too, just need to fiddle with the registry..

Ever since I remapped my keys at work I stopped getting carpal tunnel (I program on emacs.. go figure, I use ctrl a lot).

The perfect keyboard for emacs: Kinesis Ergo -- the Ctrl, Alt, Space and Enter keys are all at your mighty strong thumbs!

http://www.kinesis-ergo.com/classic.htm

Leave a comment

About this Entry

This page contains a single entry by Ask Bjørn Hansen published on September 25, 2002 4:01 PM.

Find recent content on the main index or look in the archives to find all content.

Pages

OpenID accepted here Learn more about OpenID
Powered by Movable Type 4.33-en
/* bf */