Gentoo Archives: gentoo-user

From: Mick <michaelkintzios@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] setxkbmap -option ctrl:nocaps
Date: Mon, 05 Jan 2015 06:59:29
Message-Id: 201501050659.19068.michaelkintzios@gmail.com
In Reply to: [gentoo-user] setxkbmap -option ctrl:nocaps by lee
1 On Sunday 04 Jan 2015 19:53:37 lee wrote:
2 > Hi,
3 >
4 > I'm trying to use the CapsLock key as control key. With 'setxkbmap
5 > -option ctrl:nocaps' that works --- until I use 'xmodmap' to load my
6 > keymap. Once the keymap is loaded, the CapsLock key again works as
7 > CapsLock and not as control.
8 >
9 > This worked fine with other distributions. Is there anything special to
10 > Gentoo which breaks this?
11 >
12 >
13 > Section "InputClass"
14 > Identifier "keyboard-all"
15 > Driver "evdev"
16 > Option "XkbLayout" "de"
17 > Option "XkbModel" "pc105"
18 > Option "XkbRules" "xorg"
19 > Option "XkbOptions" "ctrl:nocaps,terminate:ctrl_alt_bksp"
20 > MatchIsKeyboard "on"
21 > EndSection
22
23 What happens if you remove "ctrl:nocaps" above?
24
25
26 > ~/.xinitrc:
27 > [...]
28 > setxkbmap -option ctrl:nocaps
29 > xmodmap ~/.Xmodmap
30 > [...]
31 >
32 >
33 > ~/.Xmodmap:
34 > [...]
35 > keycode 37 = Control_L NoSymbol Control_L
36 > [...]
37
38 and why do you need to specify this in .Xmodap?
39
40 --
41 Regards,
42 Mick

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

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