Gentoo Archives: gentoo-user

From: meino.cramer@×××.de
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: How can I inactivate the anachronism called CAPSLOCK on X?
Date: Tue, 05 Apr 2011 23:22:05
Message-Id: 20110405231952.GD12844@solfire
In Reply to: [gentoo-user] Re: How can I inactivate the anachronism called CAPSLOCK on X? by Grant Edwards
1 Grant Edwards <grant.b.edwards@×××××.com> [11-04-06 01:02]:
2 > On 2011-04-05, meino.cramer@×××.de <meino.cramer@×××.de> wrote:
3 >
4 > > I am using a recent gentoo (updated on a nearly daily basis).
5 > > For me the CAPSLOCK-function is totally useless and I want
6 > > to deactivate it as soon as possible to ACCIDENTLY SWITCH
7 > > ANYthing uppeRCASE. ;)
8 >
9 > Here's what I use in my xorg.conf to turn "caps-lock" into a "ctrl"
10 > key:
11 >
12 > Section "InputClass"
13 > Identifier "keyboard-all"
14 > Driver "evdev"
15 > Option "XkbOptions" "ctrl:nocaps,compose:ralt,terminate:ctrl_alt_bksp"
16 > MatchIsKeyboard "on"
17 > EndSection
18 >
19 > It also turns the right-hand ALT key into a compose key and enables
20 > ctrl-alt-backspace as the termination sequence for the X server.
21 >
22 > --
23 > Grant Edwards grant.b.edwards Yow! WHOA!! Ken and Barbie
24 > at are having TOO MUCH FUN!!
25 > gmail.com It must be the NEGATIVE
26 > IONS!!
27 >
28 >
29
30 Thank you for all the nice ideas -- for some reason I like the
31 xorg.conf method best :)
32
33 Is it possible to map the CAPSLOCK to simply nothing?
34
35 Best regards
36 mcc

Replies