Re: [dwm] caps and clipboard

From: Jan Christoph Ebersbach <dwm_AT_e-jc.de>
Date: Wed, 31 Jan 2007 21:32:24 +0100 (MET)

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

Received on Wed Jan 31 2007 - 21:32:25 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 14:35:41 UTC