Gentoo Archives: gentoo-user

From: Sid S <r030t1@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] setxkbmap -option ctrl:nocaps
Date: Mon, 05 Jan 2015 13:46:29
Message-Id: CAAD4mYiOui5RggEr_8rwY832pa11W90ZX0-qQgAzzWmVsRJL=Q@mail.gmail.com
In Reply to: Re: [gentoo-user] setxkbmap -option ctrl:nocaps by Mick
1 You should be using xmodmap OR xsetkbmap OR the configuration file,
2 not all three (though they shouldn't interfere with each other if
3 configured properly - they'd just all be doing the same thing).
4
5 If you wish to set Caps_Lock to be Control_L, you need to redefine
6 keycode 66, not 37 (37 is Control_L by default). You may also need to
7 add "clear lock" or "clear Lock" before that line. Sometimes it will
8 or will not work if you don't do this and will toggle Caps_Lock and
9 press Control_L. Weird.
10
11 Alternatively, you can use xsetkbmap like you described.

Replies

Subject Author
Re: [gentoo-user] setxkbmap -option ctrl:nocaps lee <lee@××××××××.de>