On Thu, Apr 24, 2008 at 12:43:05PM +0200, Antoni Grzymala wrote:
> markus schnalke dixit (2008-04-24, 08:37):
> > Antoni Grzymala <[EMAIL PROTECTED]> wrote:
> > > Martin Sander dixit (2008-04-24, 01:27):
> > > Which, in my case, is mapped to the control-key

Wrong quoting, I didn't write that. Caps is OF COURSE mapped to Esc.
vim for teh win!

> > in the .xinitrc:
> >   /usr/bin/xmodmap $HOME/.xmodmaprc
> > in .xmodmaprc
> >   ! have CAPS_LOCK as second ESC
> >   remove Lock = Caps_Lock
> >   keysym Caps_Lock = Escape 

This did not work for me all the time, however, this:
        clear Lock
        keysym Caps_Lock = Escape
did.

> Here's my .Xmodmaprc; it's being used by my Xsession scripts
> automatically OOTB:
> 
> keycode 66 = Control_L
> clear Lock

For mapping ctrl to caps you don't need xmodmap,
        Option "XkbOptions" "ctrl:nocaps"
in xorg.conf is enough. Of course you need root access for that..

cheers

Martin

Reply via email to