Unlock the Hidden Power of Linux: How to Masterfully Control RGB Lighting like a Pro!

If you’re a Linux user, you know that one of the best things about using this open-source operating system is the power and flexibility it provides. With Linux, you have the ability to customize your system in just about any way you can imagine, and that includes controlling your RGB lighting.

Whether you’re a gamer, a modder, or just someone who wants to add some flair to their workstation, controlling RGB lighting using Linux is an excellent way to go. Here’s how to do it.

Step 1: Choose Your Hardware

Before you can start controlling your RGB lighting using Linux, you’ll need to make sure that you have the right hardware. Most modern RGB lighting setups are compatible with Linux, but it’s always a good idea to check before you buy.

Step 2: Install the Correct Drivers

Once you have your RGB lighting hardware, you’ll need to make sure that you have the right drivers installed. In most cases, you’ll be able to find the necessary drivers on the website of the manufacturer of your RGB hardware.

Step 3: Install an RGB Control Software

Finally, you’ll need to install an RGB control software. There are several different options available for Linux users, but some of the best include:

OpenRGB - This popular Linux RGB control software works with a variety of different RGB hardware setups and provides a user-friendly interface for controlling your RGB lighting.

GloSC - Another excellent option, GloSC, allows you to control your RGB lighting using Linux and SteamOS. It also offers customizable presets and other advanced features.

Step 4: Customize Your RGB Lighting

Once you have your hardware, drivers, and software set up, it’s time to start customizing your RGB lighting. Most RGB control software allows you to choose from a range of different colors and effects, including static color displays, patterns, and more.

With the right hardware and software, controlling your RGB lighting on Linux is easy and fun. Whether you’re looking to add some personality to your gaming rig or want to spice up your workstation, mastering the art of RGB lighting on Linux is a skill you won’t regret learning. Get started today and unleash the hidden power of Linux!

With the rise of online gaming and streaming, the use of RGB lighting on desktop peripherals is trending on the Internet. Most of the RGB lighting comes with a configurable interface that allows you to change the brightness, lighting pattern and more with a desktop application. Typically, these applications only work on Windows, with little to no support for Linux. Thankfully, due to the hard work of some independent developers, there are now Linux apps to control RGB lighting.

1. OpenRGB

OpenRGB is a very popular RGB lighting control software. Typically, computer peripherals have their own software to control the RGB lighting, but if you pair different brands in the same setup, it can disrupt the lighting and create a race condition.

The software are also resource hungry; therefore, you lose out on performance by installing the software. You can solve this issue by using OpenRGB to control all of your accessories from a single interface. It is a cross-platform application that runs on Windows, Linux and macOS.

Installing OpenRGB on Linux

The OpenRGB installer is available in a variety of formats, like AppImage, .deb and .rpm. Appimage files are self-contained executable. Deb files are used in Debian-based Linux distributions, and rpm files are used in Fedora or Red Hat-based Linux distributions to install new software.

Appimage runs in all Linux distributions and can be used to install a portable version of OpenRGB. Follow the steps below to install an Appimage file on your Linux desktop.

  • Download the latest available version of OpenRGB Appimage. Open the directory containing the Appimage file, right-click on it, then select the “Properties” option.

  • Select the “Permissions” tab and enable the “Allow executing file as a program” option.

  • Double-click on the Appimage file to run the program.

If you are using a Debian- or Ubuntu-based distribution:

  • Download the .deb file.Open a new terminal window inside the directory that contains the .deb file.Run the dpkg command in your terminal to install the .deb file.

If you are using Fedora or another Red Hat-based Linux distribution, such as centOS, you can use the dnf package manager to install an .rpm file on your device.

  • Download the .rpm file from the official website.Open a terminal window inside the directory that contains the downloaded file.Run the following command in the terminal to install the .rpm file using the dnf package manager.

2. Asusctl

Asusctl is made exclusively for Asus ROG laptops. The primary aim of this tool is to provide the armory crate software features that you’ll find on Windows ROG laptops.

Asusctl needs the latest patched kernel to work with keyboard lighting control, fan speed control, etc. If you are a software developer, you can interact with those system resources using dbus methods.

Run the following command to determine whether your laptop RGB lighting is compatible with asusctl software.

If you are seeing output like this:

your laptop is fully compatible with asusctl. If you don’t find this in the output, you can use other features, such as fan control and battery-charging control, but will not be able to configure a keyboard light.

Asusctl uses the asusd system daemon to control the process in the background. As this tool is written in rust, it will be extremely lightweight on your system and has a very friendly GUI.

The asusctl GUI contains all of the necessary features: you can set RGB per keys, charging control, RGB dynamic effect, etc. It also supports the anime matrix that comes with Asus Zephyrus series laptops.

Installing Asusctl in Linux

There is no package available to install this tool on Ubuntu-based distributions, but you can build the application from source by installing rust version 1.57 or higher and make, then clone the repository in your current directory.

Install the required dependency and build the application.

There are some changes to the package name in Fedora. Follow these commands to build asusctl:

If you don’t want to build the software from source, there is a COPR repository available for Fedora. COPR repositories are unofficial sources that allow you to install software using the dnf package manager. To enable the COPR repository of asusctl in your desktop, run the following command:

You can install the asusctl package using the usual dnf command.

If you want to uninstall this utility, go to the cloned source repository and run sudo make uninstall, then delete the “/etc/asusd” directory.

3. Rogauracore

Rogauracore is a CLI (Command Line Interface) tool that controls RGB keyboard lighting in Asus laptops. Unlike the Asusctl application, Rogauracore does one thing and does it very well.

Installing Rogauracore in Linux

To install Rogauracore in your Linux distribution, you have to build it from the source. First install libusb, libusb-dev and build tools using the apt package manager.

Clone the Rogauracore repository from GitHub.

Configure this repository and build the package using make. After building, you can install this in your computer.

The syntax of the rogauracore command looks like below.

where COMMAND should be one of the following:

  • single_staticsingle_breathingsingle_colorcyclemulti_staticmulti_breathingrainbow_cycleredgreenblueyellowgoldcyanmagentawhiteblackrainbowbrightnessinitialize_keyboard

For example, if we want to change the keyboard color to red (hex code FF0000), use the following rogauracore command:

If you find these commands not very intuitive and hard to memorize, you can install Rogauracore-GUI, a very simple GUI application built on the base of Rogauracore. This is just an electron wrapper of Rogauracore that will make your life easier.

4. AlienFX

AlienFX is a CLI tool to control RGB lighting in Alienware laptops with Linux. This tool is built using Python and requires pyusb and the pkg_resources Python package as a dependency. We are using the pip package manager to install all of the Python packages. If you don’t have pip installed in your computer, install it using the following command:

Installing AlienFX in Linux

Let’s install all of the dependencies one by one in our default Python environment.

After Python native dependencies are installed, install a distribution-specific Python package using the apt package manager.

On Fedora, the command should look like this:

Clone the repository of AlienFX from GitHub to the current working directory.

To install the AlienFX package, run the installation script using python3.

To use this tool, you have to customize the config file in the “~/.config/alienfx” directory. If you don’t want to configure it using the CLI, AlienFX has a GUI tool called alienfx-gtk, which gives you a nice GUI to alter any configuration AlienFX provides.

5. TUF Control

Tuf Control is a GUI wrapper for faustus, an experimental unofficial Linux platform driver module for ASUS TUF Gaming series laptops. It is a backport of the asus-wmi / asus-nb-wmi drivers from the mainline plus RGB backlight, crudely cut down to be useful for these laptops and packed as a DKMS module for 4.x / 5.x kernels.

faustus can control keyboard backlighting, fan boost and color control on an RGB keyboard.

Installing Faustus and TUF-Control in Linux

To install the faustus driver in your laptop, first create the “/etc/modprobe.d/faustus.conf” file:

Paste the following contents into the file:

Save and quit the file. Reboot the system.

Next, install dkms in your system:

Clone the repository from GitHub and use make to install the module.

To load the faustus module on boot, use the following command:

Tuf control is a very friendly GUI tool that helps to configure the faustus driver. You can compile the Tuf-control from the repository into both .deb and .rpm for Ubuntu- and Fedora-based distributions.

To generate an .rpm package, please run the following commands one at a time.

Frequently Asked Questions

Image credit: Unsplash. All screenshots by Hrishikesh Pathak.

Can I change RGB lighting without installing these tools?

It depends on your device manufacturer. If all of your RGB backlighting in stored in your BIOS and persists through reboots, then you can dual boot your system with Windows. In the Windows partition, install all the apps the manufacturer provides and change the lighting configuration from there. Boot again to the Linux partition, and your settings will still persist. The primary drawback of this trick is that you have to continuously boot Windows to change small configurations. This trick works on Asus TUF and HP Omen laptops.

How can I install new firmware and a custom kernel for RGB keyboard lighting?

Installing new firmware and a custom kernel in Linux is not difficult. If the device manufacturer makes its firmware open source, then the Linux kernel will include it. OpenRGB also includes an updated list of supported devices. If you are new to Linux, you can follow this complete guide on how to install firmware in Linux.

Why can’t we run Windows apps like Armory Crates or the OMEN Control Center to configure RGB using Wine?

Wine is a compatibility layer that supports running windows apps in Linux, but as keyboard and mouse back-lighting are hardware related features, it is not possible to use Windows apps to configure Linux hardware. The API for both platforms are drastically different and no compatibility layer can narrow the gap. Therefore, you need a native application to control hardware-related features in Linux.

Developer and writer. Write about linux and web.

Our latest tutorials delivered straight to your inbox