On Mon, 2002-07-15 at 00:50, Cameron Simpson wrote:
> 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

This works perfectly.  Thanks!

BTW where would I put this in a by user config.  I try to keep from
changeing system defaults because I always forget them in a
reinstall/upgrade.

currently have not done anything special to the x setup as myself 

Bret



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

Reply via email to