From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org)
	by finch.gentoo.org with esmtp (Exim 4.60)
	(envelope-from <gentoo-user+bounces-121294-garchives=archives.gentoo.org@lists.gentoo.org>)
	id 1Q7CN5-0005sc-H7
	for garchives@archives.gentoo.org; Tue, 05 Apr 2011 19:57:03 +0000
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id AF0881C0B0;
	Tue,  5 Apr 2011 19:55:32 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183])
	by pigeon.gentoo.org (Postfix) with ESMTP id 7FD331C0B0
	for <gentoo-user@lists.gentoo.org>; Tue,  5 Apr 2011 19:55:32 +0000 (UTC)
Received: from localhost (localhost [127.0.0.1])
	by smtp.gentoo.org (Postfix) with ESMTP id DC4861B40D2
	for <gentoo-user@lists.gentoo.org>; Tue,  5 Apr 2011 19:55:31 +0000 (UTC)
X-Virus-Scanned: by amavisd-new using ClamAV at gentoo.org
X-Spam-Score: -3.149
X-Spam-Level: 
X-Spam-Status: No, score=-3.149 required=5.5 tests=[AWL=-0.550,
	BAYES_00=-2.599]
Received: from smtp.gentoo.org ([127.0.0.1])
	by localhost (smtp.gentoo.org [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id WkjKvwj5BHA1 for <gentoo-user@lists.gentoo.org>;
	Tue,  5 Apr 2011 19:55:24 +0000 (UTC)
Received: from lo.gmane.org (lo.gmane.org [80.91.229.12])
	by smtp.gentoo.org (Postfix) with ESMTP id A12521B4045
	for <gentoo-user@gentoo.org>; Tue,  5 Apr 2011 19:55:22 +0000 (UTC)
Received: from list by lo.gmane.org with local (Exim 4.69)
	(envelope-from <lnx-gentoo-user@m.gmane.org>)
	id 1Q7CLO-0004OV-1U
	for gentoo-user@gentoo.org; Tue, 05 Apr 2011 21:55:18 +0200
Received: from dsl.comtrol.com ([64.122.56.22])
        by main.gmane.org with esmtp (Gmexim 0.1 (Debian))
        id 1AlnuQ-0007hv-00
        for <gentoo-user@gentoo.org>; Tue, 05 Apr 2011 21:55:18 +0200
Received: from grant.b.edwards by dsl.comtrol.com with local (Gmexim 0.1 (Debian))
        id 1AlnuQ-0007hv-00
        for <gentoo-user@gentoo.org>; Tue, 05 Apr 2011 21:55:18 +0200
X-Injected-Via-Gmane: http://gmane.org/
To: gentoo-user@lists.gentoo.org
From: Grant Edwards <grant.b.edwards@gmail.com>
Subject: [gentoo-user] Re: How can I inactivate the anachronism called CAPSLOCK on X?
Date: Tue, 5 Apr 2011 19:55:03 +0000 (UTC)
Message-ID: <infs2n$2f6$1@dough.gmane.org>
References: <20110405184640.GC12844@solfire>
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
X-BeenThere: gentoo-user@lists.gentoo.org
Reply-to: gentoo-user@lists.gentoo.org
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Complaints-To: usenet@dough.gmane.org
X-Gmane-NNTP-Posting-Host: dsl.comtrol.com
User-Agent: slrn/pre0.9.9-102 (Linux)
X-Archives-Salt: 
X-Archives-Hash: a5698d4421ef1347761ff6771c212bb6

On 2011-04-05, meino.cramer@gmx.de <meino.cramer@gmx.de> wrote:

> I am using a recent gentoo (updated on a nearly daily basis).
> For me the CAPSLOCK-function is totally useless and I want
> to deactivate it as soon as possible to ACCIDENTLY SWITCH
> ANYthing uppeRCASE. ;)

Here's what I use in my xorg.conf to turn "caps-lock" into a "ctrl"
key:

    Section "InputClass"
        Identifier "keyboard-all"
        Driver "evdev"
        Option "XkbOptions"  "ctrl:nocaps,compose:ralt,terminate:ctrl_alt_bksp"
        MatchIsKeyboard "on"
    EndSection

It also turns the right-hand ALT key into a compose key and enables
ctrl-alt-backspace as the termination sequence for the X server.

-- 
Grant Edwards               grant.b.edwards        Yow! WHOA!!  Ken and Barbie
                                  at               are having TOO MUCH FUN!!
                              gmail.com            It must be the NEGATIVE
                                                   IONS!!