Ah so funny, because I was so certain to have found this bug. However some days or weeks later it randomly breaks again. And all my hypothesis goes right out the window. Since the next time applying the previous solution (the last method I detailed above previously ^^ up here)… well that didn’t work and hey none of the layouts would. It was just utterly broken.
But then you update packages and have to reboot. So either there was a new package. OR it was simply rebooting the computer and it’s fixed itself randomly again. No idea anymore. My faith is shaken.
HOWEVER today I notice something in my Startup Applications entries. Which I never remember seeing previously. It’s an entry that says
im-launch (No description).
I click this to see the command, and is this:
sh -c 'if [ "x$XDG_SESSION_TYPE" = "xwayland" ] ; then exec env IM_CONFIG_CHECK_ENV=1 im-launch true; fi'
ok, but what has this to do with our broken keyboard layouts? Well here see:
θ70° [id:~] $ apt show im-config
Maintainer: Ubuntu Developers <firstname.lastname@example.org>
Original-Maintainer: Debian Input Method Team <email@example.com>
Installed-Size: 385 kB
Recommends: x11-common, zenity | kdialog | kde-baseapps-bin (<< 4:16.08.3-2~) | whiptail
Task: ubuntu-desktop-minimal, ubuntu-desktop, ubuntu-desktop-raspi, kubuntu-desktop, kubuntu-full, xubuntu-desktop, lubuntu-desktop, ubuntustudio-desktop, ubuntukylin-desktop, ubuntu-mate-core, ubuntu-mate-desktop, ubuntu-budgie-desktop, ubuntu-budgie-desktop-raspi
Download-Size: 27.1 kB
APT-Sources: http://gb.archive.ubuntu.com/ubuntu hirsute/main amd64 Packages
Description: Input method configuration framework
im-config package provides the framework to configure and to switch the
input method. This input method is the essential mechanism for Japanese,
Chinese and Korean (CJK) languages to enter their non-ASCII native
Many modern input methods such as IBus support not only one of these CJK
languages but support almost all languages simultaneously by dynamically
switching keyboard modes with GUI helper program.
By installing this package, the most desirable input method and its
backend conversion engine are automatically configured with both the X
Window System Input Method (XIM), GTK input method module, Qt input method
module, and clutter input method module.
You can further customize your input method with 'im-config' command.
So it does indeed have some connection to keyboard layouts / locales. So maybe it’s to do with this package, or bugs with XORG or Wayland IDK. Just thought it looked connected somehow.
Also because I never remember adding this manually by myself. Or maybe I did? But if that was the case I have no recollection of messing about with this thing. For adding extra multiple keyboards it was with the Settings GUI for Languages / Locales.