linuxmint / linuxmint/cinnamon

[keyboard@cinnamon.org] applet "forgets" to activate when reconnecting to cinnamon remotely or starting a computer.

Open
#12,121 10 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

BUG
Dominant language
JavaScript
Stars
5.6k
Forks
915
Avg merge
5d 22h
Merged PRs (30d)
3

Description

Distribution

Mint 21.3

Package version

Cinnamon 6.0.4

Graphics hardware in use

No response

Frequency

Always

Bug description

When disconnecting remotely from cinnamon, for example while using XRDP, the keyboard applet dissapears. And can't be used to switch keyboard layouts anymore.

Steps to reproduce

Connect to computer, for example using XRDP or restarting.
Configure keyboard layout.
Get a keyboard@cinnamon.org applet/spice on your toolbar.
Disconnect/Shutdown
Reconnect/Power on.
Cinnamon "forgets" to put the keyboard applet there, when applet not shown, hotkey does not work either.

Expected behavior

If user has configured multiple keyboards, applet should appear always, until user deactivates it.

Additional information

for example

kreijstal@kreijstalnuc:/usr/share/cinnamon/cinnamon-settings/modules$ gsettings get org.cinnamon enabled-applets
['panel1:left:0:menu@cinnamon.org:0', 'panel1:left:1:separator@cinnamon.org:1', 'panel1:left:2:grouped-window-list@cinnamon.org:2', 'panel1:right:12:systray@cinnamon.org:3', 'panel1:right:9:xapp-status@cinnamon.org:4', 'panel1:right:15:notifications@cinnamon.org:5', 'panel1:right:16:printers@cinnamon.org:6', 'panel1:right:17:removable-drives@cinnamon.org:7', 'panel1:right:18:favorites@cinnamon.org:9', 'panel1:right:19:network@cinnamon.org:10', 'panel1:right:21:sound@cinnamon.org:11', 'panel1:right:22:power@cinnamon.org:12', 'panel1:right:23:calendar@cinnamon.org:13', 'panel1:right:24:cornerbar@cinnamon.org:14', 'panel1:right:11:scale@cinnamon.org:16', 'panel1:right:10:inhibit@cinnamon.org:19', 'panel1:right:4:settings@cinnamon.org:20', 'panel1:right:8:network@brownsr:21', 'panel1:right:6:Cinnamenu@json:22', 'panel1:right:7:radio@driglu4it:25', 'panel1:right:14:a11y@cinnamon.org:28', 'panel1:right:5:temperature@fevimu:29', 'panel1:right:13:cinnamon-timer@jake1164:32', 'panel1:right:3:user@cinnamon.org:33', 'panel1:right:2:restart-cinnamon@kolle:34', 'panel1:right:1:feeds@jonbrettdev.wordpress.com:35', 'panel1:right:20:keyboard@cinnamon.org:40']

grafik
Keyboard does not shown despite showing up on gsettings.
open up cinnamon-settings keyboard layout/regional panel options.
grafik
Still does not show.
Then re-order the keyboard layouts/move a keyboard up or down.
"csd-keyboard" magically starts (or shows)
]
grafik
disconnect
grafik

Keyboard gone.

manually starting csd-keyboard reveals this log:

kreijstal@kreijstalnuc:/usr/share/cinnamon/cinnamon-settings/modules$ csd-keyboard
[1710525058,000,xklavier.c:xkl_engine_start_listen/] 	The backend does not require manual layout management - but it is provided by the application
[1710525101,000,xklavier_evt_xkb.c:xkl_xkb_process_x_event/] 	ATTENTION! Currently cached group 0 is not equal to the current group from the event: 1
![1710525101,000,xklavier_evt_xkb.c:xkl_xkb_process_x_event/] 	ATTENTION! Currently cached group 0 is not equal to the current group from the event: 1
![1710525102,000,xklavier_evt_xkb.c:xkl_xkb_process_x_event/] 	ATTENTION! Currently cached group 0 is not equal to the current group from the event: 1
![1710525102,000,xklavier_evt_xkb.c:xkl_xkb_process_x_event/] 	ATTENTION! Currently cached group 0 is not equal to the current group from the event: 1
![1710525104,000,xklavier_evt_xkb.c:xkl_xkb_process_x_event/] 	ATTENTION! Currently cached group 0 is not equal to the current group from the event: 1
![1710525106,000,xklavier_evt_xkb.c:xkl_xkb_process_x_event/] 	ATTENTION! Currently cached group 0 is not equal to the current group from the event: 1
![1710525107,000,xklavier_evt_xkb.c:xkl_xkb_process_x_event/] 	ATTENTION! Currently cached group 0 is not equal to the current group from the event: 1
![1710525107,000,xklavier_evt_xkb.c:xkl_xkb_process_x_event/] 	ATTENTION! Currently cached group 0 is not equal to the current group from the event: 1
![1710525108,000,xklavier_evt_xkb.c:xkl_xkb_process_x_event/] 	ATTENTION! Currently cached group 0 is not equal to the current group from the event: 1
![1710525108,000,xklavier_evt_xkb.c:xkl_xkb_process_x_event/] 	ATTENTION! Currently cached group 0 is not equal to the current group from the event: 1
![1710525109,000,xklavier_evt_xkb.c:xkl_xkb_process_x_event/] 	ATTENTION! Currently cached group 0 is not equal to the current group from the event: 1
![1710525109,000,xklavier_evt_xkb.c:xkl_xkb_process_x_event/] 	ATTENTION! Currently cached group 0 is not equal to the current group from the event: 1

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue identifies the keyboard@cinnamon.org applet, csd-keyboard, and org.cinnamon enabled-applets as entry points. Reproduce the reconnect or restart flow, then trace why the configured applet is absent even though gsettings retains it. Done means the applet and keyboard-layout hotkey return after reconnecting without manually reordering layouts; use the reported csd-keyboard log when checking behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.