September 25, 2002 Archives

Make Caps Lock a control key


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

About this Archive

This page is an archive of entries from September 2002 listed from newest to oldest.

September 24, 2002 is the previous archive.

September 26, 2002 is the next archive.

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


OpenID accepted here Learn more about OpenID
Powered by Movable Type 4.25