Re: capslock/numlock keys behavior sometimes reversed
Tue, 12 Jul 2011 17:07:45 +0200 keltezéssel Nicolas Bercher azt írta:
> Hi ,
>
> It's been a while (years!) that I sometimes find my keyboard's
> capslock/numlock keys behaving reversed at times. This is often the
> case after: wackup-from-/any/, using qemu or as the result of
> unidentified operations.
>
> Does anyone here know how to get rid of this? Avoid it, restore the
> proper keys behavior, etc.
>
> Thanks a lot for sharing your experience. Nicolas
I did the following:
Edited:
$ sudo mcedit /etc/default/keyboard
XKBMODEL="pc105"
XKBLAYOUT="hu"
XKBVARIANT="nodeadkeys"
XKBOPTIONS="ctrl:swapcaps"
BACKSPACE="guess"
according to man keyboard
XKBOPTIONS may have values described here:
$ mlocate xorg.lst
/usr/share/X11/xkb/rules/xorg.lst
/usr/share/doc/keyboard-configuration/xorg.lst
These two files are identical.
$ less /usr/share/doc/keyboard-configuration/xorg.lst
The edited /etc/defalut/keyboard file came a live for the console after
the following command:
$ sudo setupcon
For X Window maybe one must relogin.
--
Regards, Paul
<http://csanyi-pal.info>
Reply to: