I'm attempting to exchange the meanings of my left CTRL key and my
Caps Lock key, as I have recently got used to an X terminal where they
are in different physical locations to the PC keyboard.  After
determining the keycodes generated by these keys, I set them with
xmodmap as follows:

keycode 66 = Control_L
keycode 37 = Caps_Lock

xev suggests this has succeed:

KeyPress event, serial 18, synthetic NO, window 0x4000001,
    root 0x2a, subw 0x0, time 1391234933, (57,141), root:(877,163),
    state 0x0, keycode 66 (keysym 0xffe3, Control_L), same_screen YES,
    XLookupString gives 0 characters:  ""

KeyPress event, serial 21, synthetic NO, window 0x4000001,
    root 0x2a, subw 0x0, time 1391235358, (57,141), root:(877,163),
    state 0x2, keycode 37 (keysym 0xffe5, Caps_Lock), same_screen YES,
    XLookupString gives 0 characters:  ""

However, attempting to use them e.g. in Emacs or an xterm, they still
have their unexchanged meanings.

What am I doing wrong?

-- 
Richard Kettlewell               http://www.elmail.co.uk/~richard/

Would it be so terrible, to be a photino bird?


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .

Reply via email to