I recently installed ubuntu 20.10 on my laptop
Is there any way to control my laptop's built-in RGB keyboard?
1 Answer
It is not clear what you want to control specifically, but here you have a few options.
- As per this, appending
‘ acpi_osi=! acpi_osi=Linux’toGRUB_CMDLINE_LINUX_DEFAULTin grub, powering off, and on again, should suffice (for an explanation ofacpi_osiyou may check this). I would try this first, as it is the least "invasive", although I am not sure it works for RGB configuration as mentioned, or only to control the brightness level of the backlight. You would have to test which Fn keys work, see this example. - OpenRGB is very useful.
See also this.
There is a PPA for Ubuntu (and Linux Mint, Pop!_OS, etc.) which has the latest OpenRGB from Git. The PPA also provides an
openrgb-dkms-driverspackage which includes thei2c-piix4kernel driver, so you don't have to patch the kernel in order to control the LEDs on some motherboards.
If you need to build from source, that is explained here. Make sure to also install the Udev rules to allow USB access. The Udev rules are also required if you're using the AppImage package. - tuxedo-keyboard may also be an option, check this.
- There are other drivers for specific keyboards (MSI SteelSeries, Roccat, Corsair, etc.), but I wouldn't think they will work.
Related: