Mick <michaelkintz...@gmail.com> writes:

> On Sunday 04 Jan 2015 19:53:37 lee wrote:
>> Hi,
>> 
>> I'm trying to use the CapsLock key as control key.  With 'setxkbmap
>> -option ctrl:nocaps' that works --- until I use 'xmodmap' to load my
>> keymap.  Once the keymap is loaded, the CapsLock key again works as
>> CapsLock and not as control.
>> 
>> This worked fine with other distributions.  Is there anything special to
>> Gentoo which breaks this?
>> 
>> 
>> Section "InputClass"
>>         Identifier "keyboard-all"
>>         Driver "evdev"
>>         Option "XkbLayout" "de"
>>         Option "XkbModel" "pc105"
>>         Option "XkbRules" "xorg"
>>         Option "XkbOptions" "ctrl:nocaps,terminate:ctrl_alt_bksp"
>>         MatchIsKeyboard "on"
>> EndSection
>
> What happens if you remove "ctrl:nocaps" above?

It doesn't really seem to make a difference.

>> ~/.xinitrc:
>> [...]
>> setxkbmap -option ctrl:nocaps
>> xmodmap ~/.Xmodmap
>> [...]
>> 
>> 
>> ~/.Xmodmap:
>> [...]
>> keycode  37 = Control_L NoSymbol Control_L
>> [...]
>
> and why do you need to specify this in .Xmodap?

Because sometimes it doesn't work at all when I don't and because I put
that there a long time ago and forgot about it.  My ~/.xinitrc is about
20 years old and has been modified as needed over time.

I can only say it worked fine with Fedora and used to work with Debian.
Since someone keeps changing all the time how to configure your
keyboard, and since different distributions might use different ways of
doing it, I really don't know anymore how to configure a keybord ---
which should be simple and easy to begin with as it used to be.  I
merely want my keyboard to work ...


-- 
Again we must be afraid of speaking of daemons for fear that daemons
might swallow us.  Finally, this fear has become reasonable.

Reply via email to