Description of problem: Unable to set keymap to "gb" on minimal install Version-Release number of selected component (if applicable): ibus-1.5.25-2.el9 How reproducible: - on RHEL 9 minimal install. Reproduceable on 9.0, 9.1 and 9.2 Steps to Reproduce: Run "localectl --no-convert set-x11-keymap gb" Actual results: Failed to set keymap: Local keyboard configuration not supported on this system. Expected results: keymap changed successfully Additional info:
Well, its not clear here which language you want to set. is it British English? if yes then you should say unable to set "en_GB" keymap. GB is neither locale nor language.
I have attempted that:- localectl --no-convert set-x11-keymap en_GB Failed to set keymap: Local keyboard configuration not supported on this system. and specifying en-GB also fails on this system, just specifying "gb" has worked on all previous RHEL releases to date, EL6 / 7 / 8.
I don't know why you reported your issue to ibus. You cannot reproduce your issue when ibus-daemon does not run? You can stop ibus-daemon with `ibus exit` command or im-chooser.
also please refer to:- https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/9/html/configuring_basic_system_settings/assembly_changing-basic-environment-settings_configuring-basic-system-settings "section: 1.3. Configuring the keyboard layout" prescribes configuring keymaps with just the two letters, as I have always done with my previous EL5/6/7/8 installs.
"I don't know why you reported your issue to ibus." - I didn't log the ticket so I'll leave that for RedHat tech support to answer/progress.
(In reply to fujiwara from comment #5) > You cannot reproduce your issue when ibus-daemon does not run? > You can stop ibus-daemon with `ibus exit` command or im-chooser. Please provide the exact information if you wish to report your issue to ibus.
> localectl --no-convert set-x11-keymap gb Note that this sets the *X11* keymap, i.e. the one used by the X server. This is rather unusual on a minimal system, I would expect a call to `localectl set-keymap` instead to set the keymap used on the console. Is that what you meant to do? Anyway, `dnf install libxkbcommon` should fix this issue. Note: libxkbcommon is in AppStream so that repository may need to get explicitly enabled if you're on a minimal install.
in addition to settiing the console keymap, I normally also set the x11 keymap the same, and there appears to have been a change in behaviour introduced with EL9, whereas this worked satisfactorily in EL5/6/7/8. I haven't seen this change in behaviour documented anywhere, not the release notes or anything, so this change is unexpected. Because while most of our servers are satisfied with a minimal install and just adding the necesssary server items, occasionally we will follow up with installation of a GUI, for example with subsequent install of Oracle. It looks wrong for a localectl to return a foreign language setting for X11 and the local language setting for console, even if X11 is not used at that stage. I'm just expecting EL9 to behave the same way as previous releases, unless there is a specific (documented) reason for it not to.
I can confirm 'dnf install libxkbcommon' resolves the issue, but why is it not in the release notes?