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
Package: im-config
Version: 0.46-1
Priority: optional
Section: x11
Origin: Ubuntu
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Original-Maintainer: Debian Input Method Team <debian-input-method@lists.debian.org>
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 385 kB
Provides: im-switch
Depends: gettext-base
Recommends: x11-common, zenity | kdialog | kde-baseapps-bin (<< 4:16.08.3-2~) | whiptail
Conflicts: im-switch
Homepage: https://salsa.debian.org/input-method-team/im-config
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-Manual-Installed: yes
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
characters.
.
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.