On Wed 31-01-2007 18:27, Kai Hendry wrote: > What's the best way to disable the caps lock with editing /etc/X11? > > I noticed I did this: > > http://svn.natalian.org/home/.Xmodmap > > But it doesn't seem to work on my Debian unstable system.
I use
$ cat /etc/X11/Xmodmap
remove lock = Caps_Lock
add shift = Caps_Lock
and
$ cat /etc/X11/Xsession.d/40custom_load-xmodmap
SYSMODMAP="/etc/X11/Xmodmap"
USRMODMAP="$HOME/.Xmodmap"
if [ -x /usr/bin/X11/xmodmap ]; then
if [ -f "$SYSMODMAP" ]; then
xmodmap "$SYSMODMAP"
fi
fi
if [ -x /usr/bin/X11/xmodmap ]; then
if [ -f "$USRMODMAP" ]; then
xmodmap "$USRMODMAP"
fi
fi
It works fine for me (Debian unstable).
Jan Christoph
--
Homepage : http://www.e-jc.de/
PGP-KeyID: 0x2D600996
For everything there is a season, and a time for every purpose under
heaven. Ecclesiastes 3,1
pgpOEG0PGVZUg.pgp
Description: PGP signature
