This is handled by the EC(embedded controller) which is open source, at the moment this functionality is not well exposed to the user but it should be technically do able but I’m not sure how
Framework is planning on making this easier to tweak in the future I believe
One thing I miss from my Thinkpad is a led for mute status. If I could turn on the backlight for just the F1 key to indicate “muted”, that could be cool.
That’d also be useful. WhyTF does Fn+F9 fake like typing Meta+P instead of producing a proper scancode? (Yeah, I know, the answer is some Windows stupidity, that’s not the point)
I’m working on a VERY simple program that does a keyboard backlight timeout using the ectool on Gnome systems (it uses Gnome’s dbus and Mutter to know when the user is idle). I’d like to share it, but it needs some configuration of dbus to work in a way that I think might be insecure.
No fancy features, just “turn backlight on when keyboard or touchpad are used” and “turn it back off after a timeout”, since that’s what I was missing from my XPS 13.
(it uses evdev directly, so doesn’t need any specific desktop environment)