this post was submitted on 21 Jun 2024
33 points (100.0% liked)

Linux

47990 readers
1417 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

I see lots of posts about KDE being able to sync the screen with LED backlit keyboards but other than saying that, no information on how to do it or what keyboards are compatible.

I could be totally missing something, I tried to parse through the changelog but didn't see anything in there about it.

Would anyone be able to explain how I should check if my keyboard (Akko 5108) is compatible and how I can change the settings if possible?

top 4 comments
sorted by: hot top controversial new old
[–] [email protected] 6 points 4 months ago* (last edited 4 months ago) (1 children)

Yeah the driver supporting LEDs and exposing them should be installed. The exposed LEDs can be found in /sys/class/leds/<device>/multi_[index|intensity], See Linux kernel documentation for details: LED handling under Linux and Multicolor LED handling under Linux

[–] [email protected] 3 points 4 months ago* (last edited 4 months ago)

I'm not familiar with KDE's new feature yet, but if it only supports sysfs LEDs then it won't control 99% of keyboards. Few RGB keyboards have drivers that expose this interface. Most RGB keyboards are controlled from userspace on their official software on Windows, and that's also what most Linux projects that control RGB devices including my OpenRGB project do. I wonder if it would be possible to write an OpenRGB plugin/script that exposes a virtual /sys/class/leds/openrgb device that KDE could talk to, then translate that into OpenRGB calls to set the color on all available devices. It doesn't sound too difficult.

[–] [email protected] 3 points 4 months ago (1 children)

Where did you see this information?

The ability for a screen to sync with something like an RGB backlight would be about the driver. Some RGB lights on keyboards don't even have an interface controller, meaning they just cycle whatever is programmed into the keyboard controller itself (Lenovo as an example). Are you sure you even have a controllable one?

[–] [email protected] 4 points 4 months ago

It's in the announcement for Plasma 6.1, see https://kde.org/announcements/plasma/6/6.1.0/

To enable it, you need to use the Brightness & Colour widget. See also the merge request for this: https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/4093

I guess the documentation is a bit lagging still! I don't know about a list of compatible keyboards, but I suppose you can just try it out to see if it works! 😁