*BSD News Article 96427


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.mira.net.au!news.vbc.net!vbcnet-west!bulb.garlic.com!news.scruz.net!noos.hooked.net!www.nntp.primenet.com!nntp.primenet.com!feed1.news.erols.com!disgorge.news.demon.net!demon!dispatch.news.demon.net!demon!rill.news.pipex.net!pipex!oleane!jussieu.fr!univ-lyon1.fr!univ-bpclermont.fr!llaic!espel
From: espel@llaic.univ-bpclermont.fr (Roger Espel Llima)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Control, CapsLock key switch
Date: 29 May 1997 03:06:48 GMT
Organization: LLAIC, Univ. Clermont-Ferrand 1, France
Message-ID: <5mirs8$pql@cicsun.univ-bpclermont.fr>
References: <timleeEAs1HF.GyM@netcom.com> <5mdc2m$kkj$7@mark.ucdavis.edu> <timleeEAtvyy.Hwt@netcom.com>
NNTP-Posting-Host: llaic.univ-bpclermont.fr
Lines: 30
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:41800

In article <timleeEAtvyy.Hwt@netcom.com>,
Timothy J. Lee <see-signature-for-email-address---ads-not-welcome> wrote:
>David E. O'Brien <obrien@relay.nuxi.com> writes:
>|Timothy J. Lee <nobody@not.for.email> wrote:
>|> On FreeBSD 2.2.1, /usr/X11R6/lib/X11/XF86Config has a line which
>|> supposedly causes the Control and CapsLock keys to be switched:

[ ... ]

>Thanks, but this only works in non-X.  When using X after this kbdcontrol,
>the Control and CapsLock keys are still unswapped, regardless of whether
>the "ctrl:swapcaps" line in the XF86Config is commented or uncommented.
>Any ideas?

Try something like this:  xmodmap .modmap
where .modmap contains

clear Lock
clear Control
add Control = Caps_Lock
add Lock = Control_L

I have a similar setup, except that I have both capslock and control
acting like control keys.


	Roger
--
e-mail: espel@llaic.univ-bpclermont.fr, espel@unix.bigots.org
WWW page & PGP key: http://www.eleves.ens.fr:8080/home/espel/index.html