After upgrading from Fedora 38 to 39, I have noticed that the CAPS LOCK is reversed.
This issue occurs on multiple devices I own. A laptop and a desktop computer.
This happens with an internal keyboard (laptop) and an external keyboard (desktop)
CAPS LOCK toggle is reset to correct state when:
Logging in
Restarting device
Locking session
Interacting with the Gnome Applications Search
The indicator light for CAPS LOCK on the keyboard for these devices also gives the reversed or opposite state.
My current solution to fixing this annoying bug:
Lock or Suspend session, then relogin OR open Gnome Activities and search for any text
I have not timed how quickly after the solution the issue comes back, but it is a temporary fix that needs a permanent solution.
I have not found any other posts. Has anyone else come across this issue?
Ask me for any further information you may need to diagnose this problem.
I discovered something, if it helps maybe you can try that too. In gnome tweaks settings if you enable shift cancels capslock behavior it might have fix it. It worked for me. Actually I used both of it but you can just try shift cancels capslock option.
Thank you. I have enabled both options for several hours now and it has been working correctly. I will continue to use them and then set this topic as solved on the 10th of November.
Thanks for the pointer Ozgur, this issue has been driving me mad for the last few days.
I’m going to dig around to see where I’d file this as a bug because it’s only just started happening in the last couple of days so I’d like to file a BZ so it’s not lost. Anyone know what component to use for this?
Sorry, everyone. The solution of configuring inputs worked for some time, but just did not feel right! I am sure many others would agree. I switched from Fedora for a few months and switched back for the beautiful 40, but I believe after updating last night, this bug came back onto both of my systems. Laptop and Desktop are experiencing this bug today. This is very unfortunate and as one other said I hope this does not get buried.
A post on another website mentioned this. /r/Fedora/comments/1bqqxpq/capslock_insanity_f40_beta/
This seems to be a bug in Fedora, and it looks like it wasn’t solved on Fedora 40. I just wanted to note that, apart from the (excellent but GUI-based) workaround suggested by @fogonte, you can use the CLI command that writes directly to /sys/class/leds/input<n>::capslock/brightness (where is an integer identifier for the keyboard)
So, for example, on my system, to reset the caps-lock light without changing the state, I can use use: echo 0 | sudo tee /sys/class/leds/input98\:\:capslock/brightness
Turns the caps lock led off my system, and
echo 1 | sudo tee /sys/class/leds/input98\:\:capslock/brightness
Turns it on.
good one!
thank you
i’ve had the issue last year, never bothered to look it up until today
me being lazy to find out what was it just rebooted hehehe
I’ve seen this on a random laptop about a month ago and assumed it was the laptop’s EC (or something) being inconsistent with the OS state (laptop thinks caps on and LED indicates but OS thinks it’s off; so caps-on to the OS means caps-off to the laptop EC for the LED, but still caps-on for the OS)
I don’t remember doing anything about it specifically, but if Intel HID is involved I’d start with forcing an acpi_osi= kernel option to match something in ACPI (my Dell 5591 does something to report Intel HID without-specifying or doing Linux, but doesn’t present Intel HID if I do Windows 2017 and Fn shortcuts nor Mic LED work)
Hello,
I’m having the same issue on Fedora 40, with caps lock being reversed sometimes… it is pretty annoying.
From the thread it seems there isn’t any longtime fix ?