Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1266134

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

From Samuel Thibault <sthibault@debian.org>
Newsgroups linux.debian.bugs.dist, linux.debian.maint.boot
Subject Bug#1117976: console-setup: Keyboard level 4 remains locked if AltGr and Shift are released in incorrect order
Date 2025-10-14 23:10 +0200
Message-ID <LFUrn-5e1k-1@gated-at.bofh.it> (permalink)
References <LFkQW-4Py6-13@gated-at.bofh.it> <LFkQW-4Py6-13@gated-at.bofh.it>
Organization I am not organized

Cross-posted to 2 groups.

Show all headers | View raw


Hello,

Rimas Kudelis, le lun. 13 oct. 2025 09:41:08 +0300, a ecrit:
> When I tried using text terminal yesterday, I noticed that Level 4 tends to
> lock if I don't pay close attention to how I use it. For example, to enter
> &&, I need to use level 4. So if I enter it by pressing AltGr, then Shift,
> then pressing and releasing key 7 (twice), then releasing Shift, then
> releasing AltGr, all seems fine.
> 
> However, if I release AltGr before Shift (as I normally do), Level 4 remains
> in effect, and I couldn't find a way to get out of it other than pressing ^C
> to cancel the command I was typing and logging out of the affected console
> by pressing ^D.

It seems there is some conflicting between the alt-shift toggle (which
also makes altgr-shift perform the toggle) and the altgr group3/4
processing.

> * 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)

I'll commit something to make keyboard-configuration automatically set
this.

Samuel

Back to linux.debian.bugs.dist | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Bug#1117976: console-setup: Keyboard level 4 remains locked if AltGr and Shift are released in incorrect order Rimas Kudelis <rimas@kudelis.lt> - 2025-10-13 09:10 +0200
  Bug#1117976: console-setup: Keyboard level 4 remains locked if AltGr and Shift are released in incorrect order Samuel Thibault <sthibault@debian.org> - 2025-10-14 23:10 +0200
    Bug#1117976: console-setup: Keyboard level 4 remains locked if AltGr and Shift are released in incorrect order Samuel Thibault <sthibault@debian.org> - 2025-10-14 23:20 +0200
      Bug#1117976: console-setup: Keyboard level 4 remains locked if AltGr and Shift are released in incorrect order Samuel Thibault <sthibault@debian.org> - 2025-10-15 00:20 +0200
    Bug#1117976: console-setup: Keyboard level 4 remains locked if AltGr and Shift are released in incorrect order Rimas Kudelis <rimas@kudelis.lt> - 2025-10-15 08:10 +0200
      Bug#1117976: console-setup: Keyboard level 4 remains locked if AltGr and Shift are released in incorrect order Samuel Thibault <sthibault@debian.org> - 2025-10-15 09:10 +0200
        Bug#1117976: console-setup: Keyboard level 4 remains locked if AltGr and Shift are released in incorrect order Rimas Kudelis <rimas@kudelis.lt> - 2025-10-15 12:50 +0200
          Bug#1117976: console-setup: Keyboard level 4 remains locked if AltGr and Shift are released in incorrect order Samuel Thibault <sthibault@debian.org> - 2025-10-16 02:00 +0200

csiph-web