[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



Samuel Thibault, le mar. 14 oct. 2025 22:59:31 +0200, a ecrit:
> Rimas Kudelis, le lun. 13 oct. 2025 09:41:08 +0300, a ecrit:
> XKBOPTIONS="grp:lalt_lshift_toggle,grp_led:scroll"
> 
> (two additional 'l' to enable only alt-shift and not altgr-shift)
> 
> I'll commit something to make keyboard-configuration automatically set
> this.

Looking more into it, it's really not easy. We cannot easily know
whether the layout will include level3(ralt_switch), and so if ralt will
be allocated to something.

The base problem is that we have a default configuration that leads to
a conflicting request: ralt+rshift to toggle group, and ralt to switch
level3.

I'm thinking that the default configuration should only enable
lalt+lshift for toggling group, so that ralt+rshift can either remain
the default Meta_R or level3 switch, depending on the layout, without
conflicting with group toggle. That way, only people explictly
requesting alt+shift (i.e. both lalt+lshift) will risk getting the
conflict if they don't realize that it conflicts with they level3
switch.

Samuel


Reply to: