[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1117976: console-setup: Keyboard level 4 remains locked if AltGr and Shift are released in incorrect order



2025-10-15 10:01, Samuel Thibault rašė:
Rimas Kudelis, le mer. 15 oct. 2025 08:20:44 +0300, a ecrit:
> > * keyboard-configuration/optionscode:
> > grp:alt_shift_toggle,grp_led:scroll
>
> Could you try to change in /etc/default/keyboard:
>
> XKBOPTIONS="grp:alt_shift_toggle,grp_led:scroll"
>
> into
>
> XKBOPTIONS="grp:lalt_lshift_toggle,grp_led:scroll"
>
> (two additional 'l' to enable only alt-shift and not altgr-shift)

Thanks! I've changed this and will see how it works after reboot.

You don't need to reboot, you can just run setupcon to apply the change.

I ended up rebooting. I don't know if pressing Ctrl+C in a terminal I haven't logged in into should trigger this, but I played with my keyboard after changing the setting (including pressing Ctrl+C), and eventually even that shortcut stopped working, as well as Ctrl+Alt+Fx. Ctrl+Alt+Del ended up being my savior.

I also wonder if the combination of grp:alt_shift_toggle and level3/4 shift
on AltGr works differently in X/Wayland.

It does work, but only by chance because the low-level engine is
different.

I see. Good thing I usually use Win+Space to switch between keymaps/input methods. Maybe it would make sense for console-setup in Debian to default to grp:win_space_toggle as well?

Cheers, and thank you for your help!

Rimas


Reply to: