Bugzilla – Bug 1075828
yast keyboard: stop using KEYTABLE sysconfig variable
Last modified: 2018-01-15 16:26:54 UTC
Console keyboard settings was refactored (see bug 1010880).
Variable KEYTABLE from /etc/sysconfig/keyboard is now obsolete. But it seems that it is still referenced by yast keyboard module.
Please review the module. /etc/vconsole.conf is now the only way to set the virtual console keymap.
Maybe the sysconfig variable YAST_KEYBOARD could be moved outside /etc/sysconfig/keyboard as well. It would need update of sysconfig.keyboard.del fillup template.
Variable KEYTABLE defined by kbd was used by systemd-vconsole-setup since 2013. Now it is not used any more (update is already in SLE 15/Leap 15, staging in Factory).
I forgot to mention: COMPOSETABLE variable is obsolete as well.
Also xkbctrl.1 from x11 module (but not xkbctrl itself) refers to KEYTABLE.
And country module refers to both KEYTABLE and COMPOSETABLE as well:
And country installing files do that as well:
(In reply to Stanislav Brabec from comment #3)
> Also xkbctrl.1 from x11 module (but not xkbctrl itself) refers to KEYTABLE.
I will check it.
> And country module refers to both KEYTABLE and COMPOSETABLE as well:
> And country installing files do that as well:
This is test only data. so not affect runtime ( see that it is in test directory ).
yast-x11 pull request https://github.com/yast/yast-x11/pull/16
yast2-country pull request https://github.com/yast/yast-country/pull/160
and yast2-update need also related pr https://github.com/yast/yast-update/pull/92
all pull requests merged, so closing as fixed.
If you will update yast-country test data as well, you will probably prevent test case failure. One of the tests apparently expects Spanish keyboard.