[Novalug] Remap capslock to esc in Ubuntu
Luigi de Guzman
luigi12081 at cox.net
Wed Feb 14 20:07:10 EST 2007
On Wed, 2007-02-14 at 19:03 -0500, James Ewing Cottrell 3rd wrote:
> 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.
This acknowledges my receipt of your wonderfully helpful RTFM for
Xmodmap, which I've already done.
The problem is that I'm not doing it for X; I would like to do it in a
regular, non-X terminal in Ubuntu Dapper.
I have tried editing /etc/console-tools/remap but have had no success
at remapping, even if I use the example line. . .
>
> Note that the key to the left of the A key should be a Control Key, not
> an escape.
. . . which is provided in the comments to /etc/console-tools/remap.
Not that you care, but I'd like to use vim rather than emacs, and the
esc key on my laptop keyboard is small and tough to reach. I'm sure
I've violated some taboo, but you know what? I'm not sure I really
care.
I would otherwise wish you a safe and warm evening, but I suspect the
burning fire of your Linux skills, so recently kindled by your skillful
use of an RTFM bomb on me, will keep you plenty warm.
-Luigi
>
> 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