#1008887 .xsession-errors: ATTENTION! Currently cached group 1 is not equal to the current group

Package:
cinnamon
Source:
cinnamon
Description:
Innovative and comfortable desktop
Submitter:
Darshaka Pathirana
Date:
2026-09-06 15:15:02 UTC
Severity:
normal
Tags:
#1008887#5
Date:
2022-04-03 12:13:06 UTC
From:
To:
Dear Maintainer,

My `~/.xsession-errors:` (sometimes) gets spammed with the following lines:

```
![1620829855,000,xklavier_evt_xkb.c:xkl_xkb_process_x_event/] 	ATTENTION! Currently cached group 1 is not equal to the current group from the event: 0
![1620829855,000,xklavier_evt_xkb.c:xkl_xkb_process_x_event/] 	ATTENTION! Currently cached group 1 is not equal to the current group from the event: 0
![1620829862,000,xklavier_evt_xkb.c:xkl_xkb_process_x_event/] 	ATTENTION! Currently cached group 1 is not equal to the current group from the event: 0
![1620829862,000,xklavier_evt_xkb.c:xkl_xkb_process_x_event/] 	ATTENTION! Currently cached group 1 is not equal to the current group from the event: 0
![1620829866,000,xklavier_evt_xkb.c:xkl_xkb_process_x_event/] 	ATTENTION! Currently cached group 1 is not equal to the current group from the event: 0
![1620829866,000,xklavier_evt_xkb.c:xkl_xkb_process_x_event/] 	ATTENTION! Currently cached group 1 is not equal to the current group from the event: 0
![1620829870,000,xklavier_evt_xkb.c:xkl_xkb_process_x_event/] 	ATTENTION! Currently cached group 1 is not equal to the current group from the event: 0
```

  ❯ grep "ATTENTION! Currently cached group" .xsession-errors.old | wc -l
  269288

  ❯ grep "ATTENTION! Currently cached group" .xsession-errors | wc -l
  1133060

My inxi output currently looks like this:

  ❯ inxi -G -S
  System:    Host: executor Kernel: 5.10.0-10-amd64 x86_64 bits: 64 Desktop: Cinnamon 4.8.6
             Distro: Debian GNU/Linux 11 (bullseye)
  Graphics:  Device-1: Intel UHD Graphics 620 driver: i915 v: kernel
             Device-2: Chicony Integrated Camera (1280x720@30) type: USB driver: uvcvideo
             Display: x11 server: X.Org 1.20.11 driver: loaded: modesetting unloaded: fbdev,vesa resolution: 1: 3840x2160
             2: 3840x2160
             OpenGL: renderer: Mesa Intel UHD Graphics 620 (KBL GT2) v: 4.6 Mesa 20.3.5

I currently can't reproduce the problem, there are times where the log
file is quiet, but out of the sudden the lines get spammed into .xsession-errors.

I already created an upstream issue
(https://github.com/linuxmint/cinnamon/issues/10083) a while ago, but
it got closed. (I asked the maintainer to re-open the issue, though.)

I need help debugging this issue. I'd be glad for any pointers.
Thank you and thx for maintaining Cinnamon in Debian!

Best,
 - Darsha

#1008887#16
Date:
2026-09-06 15:13:38 UTC
From:
To:
Hi Darshaka,

those lines come from libxklavier, which Cinnamon used to pull in
through libgnomekbd: in libxapp, through the XAppKbdLayoutController
class, and in older versions directly in cinnamon-settings-daemon and
cinnamon-control-center.

libgnomekbd is dead upstream and has been removed from Debian, so that
whole stack is gone from the Cinnamon packages in unstable. Since xapp
3.2.2-2 the layout controller class is not built any more, the keyboard
applet of cinnamon 6.6.9 uses IBus input sources instead, and none of
the cinnamon binary packages depends on libxklavier or libgnomekbd.
Nothing in a Cinnamon session can emit those messages any longer, so I
am closing this bug.

Two caveats, to be fair to the report:

- the root cause was never actually diagnosed, neither here nor upstream
(linuxmint/cinnamon#10083 was closed in 2021 without a fix). Something
else in the session was changing the XKB group behind libxklavier's
back; a later comment on that issue points at Qt applications and
`~/.config/QtProject.conf`. Anything else still linking libxklavier -
MATE, Xfce, gxkb, lightdm - can in principle still log it;
- bookworm and trixie are unaffected by the change: there libxapp still
depends on libgnomekbd, and this is not something that will be fixed in
stable.

Thanks for the report, and sorry it took this long.