On Thu, Apr 24, 2008 at 12:43:05PM +0200, Antoni Grzymala wrote:
> markus schnalke dixit (2008-04-24, 08:37):
> > Antoni Grzymala <antoni_AT_chopin.edu.pl> 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
Received on Thu Apr 24 2008 - 14:22:11 UTC
This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 15:35:14 UTC