Comment 28 for bug 944468

Revision history for this message
Zdenek Precek (zdenek-n) wrote :

Empire strikes back. :-(

My distro is Xubuntu-22.04, the xfce4 libraries version is 4.16.
A similar bug started to appear recently and so far it could be easily reproduced.

I have two user accounts logged in, first one on VC7 and second one on VC8.

There is no problem with the first user.

When the second user logs in or switches to it's VC, the XKB settings contain two layouts (us, cz) and it is possible to switch between layouts by pressing a hotkey (LWin). The panel indicator correctly shows the layout currently chosen. This could be also monitored with the xkbwatch(1) utility as well as with the script xkb_watchdog posted elsewhere above by ElTomoLoco.
Now, after clicking mouse anywhere on the desktop both monitoring tools as well as xfce panel indicator show switching to the us layout and log from xkb_watchdog shows that only us layout remains configured.

This can be repaired by temporarily switching to the first account's desktop (Ctrl-Alt-F7) and back (Ctrl-Alt-F8), but only until an another mouse click.