Bug ID | 1051876 |
---|---|
Summary | localectl's VC Keymap is ignored on boot |
Classification | openSUSE |
Product | openSUSE Tumbleweed |
Version | Current |
Hardware | x86-64 |
OS | Other |
Status | NEW |
Severity | Normal |
Priority | P5 - None |
Component | Basesystem |
Assignee | bnc-team-screening@forge.provo.novell.com |
Reporter | haenig@cosifan.de |
QA Contact | qa-bugs@suse.de |
Found By | --- |
Blocker | --- |
while trying to suppress Caps_Lock's function I am stuck with assigning a modified keytable/-map to console sessions on boot To accomplish this I - set KBD_DISABLE_CAPS_LOCK="yes" in /etc/sysconfig/keyboard - replaced all occurances of "CtrlL_Lock" with "Shift" in the "^keycode 58" line of the 'de-nodeadkeys' map and saved it as 'de-nodeadkeys-nocl.map', - gziped this file, - ran 'localectl set-keymap de-nodeadkeys-nocl' which modified /etc/vconsole.conf accordingly as well as /etc/X11/xorg.conf.d/00-keyboard.conf thomas-nbk:~ # cat /etc/vconsole.conf KEYMAP=de-nodeadkeys-nocl thomas-nbk:~ # cat /etc/X11/xorg.conf.d/00-keyboard.conf Section "InputClass" Identifier "system-keyboard" MatchIsKeyboard "on" Option "XkbLayout" "de" Option "XkbModel" "microsoftpro" Option "XkbVariant" "nodeadkeys" Option "XkbOptions" "terminate:ctrl_alt_bksp" EndSection - 'localectl' now shows System Locale: LC_CTYPE=de_DE.UTF-8 VC Keymap: de-nodeadkeys-nocl X11 Layout: de X11 Model: pc105 X11 Variant: nodeadkeys X11 Options: terminate:ctrl_alt_bksp,ctrl:nocaps and in text consoles Caps_Lock no longer interferes, fine. But after a reboot 'localectl' still shows everything as before, but thomas-nbk:~ # dumpkeys | grep "^keycode 58" keycode 58 = CtrlL_Lock CtrlL_Lock CtrlL_Lock CtrlL_Lock CtrlL_Lock CtrlL_Lock CtrlL_Lock CtrlL_Lock CtrlL_Lock CtrlL_Lock CtrlL_Lock CtrlL_Lock CtrlL_Lock CtrlL_Lock CtrlL_Lock CtrlL_Lock CtrlL_Lock CtrlL_Lock CtrlL_Lock CtrlL_Lock CtrlL_Lock CtrlL_Lock CtrlL_Lock CtrlL_Lock CtrlL_Lock CtrlL_Lock CtrlL_Lock CtrlL_Lock CtrlL_Lock CtrlL_Lock CtrlL_Lock CtrlL_Lock CtrlL_Lock CtrlL_Lock CtrlL_Lock CtrlL_Lock CtrlL_Lock CtrlL_Lock CtrlL_Lock CtrlL_Lock CtrlL_Lock CtrlL_Lock CtrlL_Lock CtrlL_Lock CtrlL_Lock CtrlL_Lock CtrlL_Lock CtrlL_Lock CtrlL_Lock CtrlL_Lock CtrlL_Lock CtrlL_Lock CtrlL_Lock CtrlL_Lock CtrlL_Lock CtrlL_Lock CtrlL_Lock CtrlL_Lock CtrlL_Lock CtrlL_Lock CtrlL_Lock CtrlL_Lock CtrlL_Lock CtrlL_Lock CtrlL_Lock CtrlL_Lock CtrlL_Lock CtrlL_Lock CtrlL_Lock CtrlL_Lock CtrlL_Lock CtrlL_Lock CtrlL_Lock CtrlL_Lock CtrlL_Lock CtrlL_Lock CtrlL_Lock CtrlL_Lock CtrlL_Lock CtrlL_Lock CtrlL_Lock CtrlL_Lock CtrlL_Lock CtrlL_Lock CtrlL_Lock CtrlL_Lock CtrlL_Lock CtrlL_Lock CtrlL_Lock CtrlL_Lock CtrlL_Lock CtrlL_Lock CtrlL_Lock CtrlL_Lock CtrlL_Lock CtrlL_Lock CtrlL_Lock CtrlL_Lock CtrlL_Lock CtrlL_Lock CtrlL_Lock CtrlL_Lock CtrlL_Lock CtrlL_Lock CtrlL_Lock CtrlL_Lock CtrlL_Lock CtrlL_Lock CtrlL_Lock CtrlL_Lock CtrlL_Lock CtrlL_Lock CtrlL_Lock CtrlL_Lock CtrlL_Lock CtrlL_Lock CtrlL_Lock CtrlL_Lock CtrlL_Lock CtrlL_Lock CtrlL_Lock CtrlL_Lock CtrlL_Lock CtrlL_Lock CtrlL_Lock CtrlL_Lock CtrlL_Lock CtrlL_Lock so the keymap is _NOT_ loaded! If I do a thomas-nbk:~ # loadkeys de-nodeadkeys-nocl the (modified) keymap is finally loaded and Caps_Lock so no longer an issue (until next reboot) thomas-nbk:~ # dumpkeys | grep "^keycode 58" keycode 58 = Shift Shift Shift Shift Shift Shift Shift Shift Shift Shift Shift Shift Shift Shift Shift Shift Shift Shift Shift Shift Shift Shift Shift Shift Shift Shift Shift Shift Shift Shift Shift Shift Shift Shift Shift Shift Shift Shift Shift Shift Shift Shift Shift Shift Shift Shift Shift Shift Shift Shift Shift Shift Shift Shift Shift Shift Shift Shift Shift Shift Shift Shift Shift Shift Shift Shift Shift Shift Shift Shift Shift Shift Shift Shift Shift Shift Shift Shift Shift Shift Shift Shift Shift Shift Shift Shift Shift Shift Shift Shift Shift Shift Shift Shift Shift Shift Shift Shift Shift Shift Shift Shift Shift Shift Shift Shift Shift Shift Shift Shift Shift Shift Shift Shift Shift Shift Shift Shift Shift Shift Shift Shift Shift Shift Shift Shift Shift Shift adding KEYTABLE="de-nodeadkeys-nocl" to /etc/sysconfig/keyboard made no difference. Modifying the original (de-nodeadkeys.map) also changed nothing in the behaviour.