[Novalug] Remap capslock to esc in Ubuntu

James Ewing Cottrell 3rd JECottrell3 at Comcast.NET
Wed Feb 14 19:03:03 EST 2007


If you want to do something like that....Figure It Out For Yourself!

I will give you a hint. Look at the man pages for xmodmap and xev. The 
xmodmap man page give you an example about how to swap Caps Lock with 
Left Control; you should be able to figire out the rest. Put it in a 
shell script and run it from the program that starts up your X sessions 
or by hand.

Note that the key to the left of the A key should be a Control Key, not 
an escape.

JIM

luigi12081 at cox.net wrote:

>OK Novaluggers:
>
>how does one change one's keymap so that "Capslock" becomes "escape" in the regular console?  
>
>I know that keymaps are stored in /usr/share/keymaps/ as gzipped text files, but how are these read/loaded at startup?  What files would I have to edit and what script would I have to execute? 
>
>I know that in X sessions, I'd have to use an xmodmap script, but I'm really looking to change the keymapping globally--both in and out of X.
>
>Running Ubuntu Edgy (maybe feisty soon, when/if I sort out a wireless problem).
>
>-Luigi
>
>http://ouij.livejournal.com
>_______________________________________________
>Novalug mailing list
>Novalug at calypso.tux.org
>http://calypso.tux.org/cgi-bin/mailman/listinfo/novalug
>
>
>  
>




More information about the Novalug mailing list