How do I swap the CAPS LOCK and CONTROL keys on a type 5 keyboard under Openwindows 3.0?
Don’t do it with xmodmap, since that won’t change the locking behaviour of CAPS LOCK. Edit $OPENWINHOME/etc/keytables/US5.kt. There are two places where keys 119 (CapsLock) and 76 (Control) should be swapped: the MODMAP section and the KEYSYMMAP section. The latter is most important, because that’s where the “Pseudo-Lock” function (which controls the locking behaviour of the key) is defined.
Related Questions
- How can I move keys around on a Sun keyboard, for example exchanging the Caps Lock and Control keys on a Type 5 keyboard?
- I have a Type 5 keyboard, and find its placement of the Caps Lock, Control, and Esc keys inconvenient. How do I remedy this?
- How do I swap the CAPS LOCK and CONTROL keys on a type 5 keyboard under Openwindows 3.0?