[Bug 2080821] Re: Custom caps lock action inconsistent on login screen
Daniel Edholm
2080821 at bugs.launchpad.net
Tue Sep 17 19:52:25 UTC 2024
I'm using regular, vanilla Ubuntu, running bare metal on a laptop.
Apologies for pointing at PAM without knowing, but it was the best I
could come up with.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to pam in Ubuntu.
https://bugs.launchpad.net/bugs/2080821
Title:
Custom caps lock action inconsistent on login screen
Status in Ubuntu:
New
Status in pam package in Ubuntu:
New
Bug description:
I have remapped the keyboard's "Caps Lock" button as an extra "Escape"
button, moving the rare use case of actually needing "Caps Lock" to
"Shift + Caps Lock". This means that pressing "Caps Lock" anywhere in
the OS performs whatever "Escape" was supposed to do (apart from
VSCode, which seems to handle keys separately and differently... but
that's their problem, not yours). This also translates to the "Caps
Lock" key on both the laptop's and the external keyboard lighting up
properly when activated.
However, at some point I think I locked the computer with "Caps Lock"
turned on, i.e. the indicator was alight on the keyboard. The
lockscreen interpreted this, correctly, as "Caps lock = ON". To turn
it off, I pressed "Shift + Caps Lock". Caps turns off, and I can login
with my password. Inside the DE, I notice now that the Caps state has
_not_ shifted, and as such is kept at "Caps lock = ON". I yet again
press "Shift + Caps lock", which, again correctly, turns Caps lock
off. I note that the keyboard(s) now have their Caps Lock indicator
light on, even though my current caps state is "OFF". It seems like
there are two different systems keeping track of the Caps Lock state,
and these two can get out of sync.
System info:
```
❯ lsb_release -rd
No LSB modules are available.
Description: Ubuntu 24.04.1 LTS
Release: 24.04
```
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+bug/2080821/+subscriptions
More information about the foundations-bugs
mailing list