Public bug reported: 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 ``` ** Affects: ubuntu Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2080821 Title: Custom caps lock action inconsistent on login screen To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+bug/2080821/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs