SOLVED: Keyboard layout indicator and shortcut for the layout switch are not maintained after logout

My problem was that a new or re-configuration of the shortcut for switching (keyboard) layouts (kcmshell5 kcm_keyboard > Tab: Layouts) correctly enabled the layout indicator in the plasma systray and the shortcut. However, after logout, both the indicator and shortcut didn’t work, although the KDE config still showed the same configuration as before the logout.

The problem got SOLVED by disabling the ibus-autostart:

cd /etc/xdg/autostart/
mv ibus-autostart.desktop ibus-autostart.desktop__disable

Can you please confirm that, you have the “ibus” package installed?
The contents of the disabled file are:

[Desktop Entry]
Name=IBus
GenericName=IBus Daemon
Comment=Start IBus daemon
Exec=ibus-autostart
Icon=ibus-setup
Terminal=false
Type=Application
StartupNotify=false
NoDisplay=true
X-GNOME-Autostart-Phase=Applications
X-GNOME-AutoRestart=false
X-GNOME-Autostart-Notify=false
X-KDE-autostart-after=panel
X-KDE-StartupNotify=false

The ArchWiki has some information regarding KDE and IBus – <https://wiki.archlinux.org/title/IBus#Integration> – in particular, please note the following text:

KDE comes with a plasmoid called Input Method Panel that can act as an IBus frontend and can possibly provide a better integrated experience. To launch IBus with Input Method Panel, use the --panel=/usr/lib/kimpanel-ibus-panel option with the ibus-daemon command above (if the panel doesn’t appear, you can try the --desktop=kde option instead). To configure the Input Method Panel widget, see the KDE UserBase Wiki and KDE#Widgets for details.

The installed ibus RPMs are:

ibus-1.5.25-150400.1.13.x86_64
libUsageEnvironment3-2021.11.23-bp154.1.72.x86_64
ibus-dict-emoji-1.5.25-150400.1.13.noarch
libusb-1_0-0-1.0.24-150400.3.3.1.x86_64
ibus-gtk3-1.5.25-150400.1.13.x86_64
libibus-1_0-5-1.5.25-150400.1.13.x86_64
ibus-gtk-1.5.25-150400.1.13.x86_64
ibus-m17n-1.4.6-150400.1.7.x86_64
ibus-lang-1.5.25-150400.1.13.noarch
typelib-1_0-IBus-1_0-1.5.25-150400.1.13.x86_64
libusbmuxd-2_0-6-2.0.2-150400.1.6.x86_64

and the content of the disabled desktop file is identical with the entry you posted.

The ibus RPMs must have been installed as a dependency. Also, I read that Zoom requires ibus so that I didn’t try to removed the RPMs.

Yes, but, the IBus libraries are installed by default – which, for a KDE Plasma environment is sufficient.

  • On the other hand, Zoom may well be assuming a GNOME Desktop – therefore, the IBus GTK+ libraries will be needed.

You can possibly safely remove the “ibus-1.5.25” and “ibus-lang-1.5.25” packages which will then get rid of the IBus Auto-Start in the XDG Auto-Start directory.

  • You may have to black-list the “ibus” and “ibus-lang” packages to prevent any Zoom patches or updates re-installing them.