On 20:41 14 Jul 2002, Todd A. Jacobs <[EMAIL PROTECTED]> wrote:
| I'm trying to map my Caps Lock key to Control using xmodmap. I want to 
| have *both* Caps_Lock and Control_L perform the same function.
| 
| I have added the following to /etc/X11/Xmodmap:
| 
|       clear Lock
|       add Lock = Control_L
| 
| which prevents Caps_Lock from locking caps, but doesn't seem to actually 
| treat the key as the left control key, which is what I expected. What am I 
| doing wrong here?

Unsure, but I do this:

        clear lock
        add control = Caps_Lock

and it seems to make caps lock into a control key.

| Also, is there a way to merge the updated mappings into a running X 
| session without having to restart X?

Sure. Just feed them into the xmodmap command. See the man page for
details. Eg:

        xmodmap file-with-new-xmodmap-commands

Cheers,
-- 
Cameron Simpson, DoD#743        [EMAIL PROTECTED]    http://www.zip.com.au/~cs/

Until a man is married, he is incomplete.
After he is married, he is finished!    - Zsa Zsa Gabor



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to