Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Kreijstal opened this issue Mar 15, 2024 · 1 comment
Labels

Comments

@Kreijstal
Copy link

Kreijstal commented Mar 15, 2024

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
@Kreijstal Kreijstal added the BUG label Mar 15, 2024
@Kreijstal
Copy link
Author

workaround:
In case anyone is reading this from the future, just use the command:

setxkbmap -layout "us,de,es" -variant "intl~,basic,basic"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant