[ale] Sorta-off-topic: Sun / PC keymaps

Stan.Hearn at ipst.edu Stan.Hearn at ipst.edu
Sun Dec 6 22:39:13 EST 1998


At 10:13 AM 12/6/98 -0500, you wrote:
>Since I'm using Sun keyboards at school and PC keyboards at home, I keep
>hitting Caps-Lock instead of CTRL, ESC instead of ~, etc.  Does anyone have
>already-rolled keymaps to make their PC keyboard like a Sun's, or their Sun
>like a PC (I don't really care which direction I go)?

The armadillo book (p 170) shows "Swapping the control and caps lock keys"

! Caps Lock == Control
xmodmap -e "remove Lock = Caps_Lock" \
  -e "keysym Caps_Lock = Control_L" \
  -e "add Control = Control_L"

! Swap Caps_Lock and Control_L
xmodmap -e "\
  remove Lock = Caps_Lock \
  remove Control = Control_L \
  keysym Control_L = Caps_Lock \
  keysym Caps_Lock = Control_L \
  add Lock = Caps_Lock \
  add Control = Control_L"

You wouldn't use both of these.

Hope this helps,
Stan






More information about the Ale mailing list