How to Install OpenRGB on Linux Mint 21 LTS


While LEDs are now ubiquitous, with most devices coming with some form of backlighting, there is still a lack of standardization in the industry. Finding software that works with all your devices can make it challenging. OpenRGB seeks to solve this problem by providing a free, open-source solution that can be used with any RGB-enabled device. The software offers many features, including support for RGB amber lighting, game integrations, music visualization, and more. Additionally, the software comes with a plugin interface that allows you to extend its functionality even further. Whether you’re looking to add some flair to your gaming setup or want greater control over your lighting, OpenRGB is worth checking out.

In the following tutorial, you will learn how to install OpenRGB on Linux Mint 21 release series by importing a third-party LaunchPAD PPA with the command line terminal and maintaining and removing the package if required.

Update Linux Mint

First, update your system to ensure all existing packages are up to date to avoid any conflicts during the installation of OpenRGB.

sudo apt update && sudo apt upgrade -y

Install OpenRGB

By default, OpenRGB is not available on Linux Mint, so you must import the PPA maintained by Thomas Karl Pietrowski. This PPA is continuously updated, so you will always have the latest updates.

The first task is to import the GPG key needed for all the repositories.

If you have issues importing the GPG key, please see the end section on GPG troubleshooting at the end of the article.

sudo gpg --no-default-keyring --keyring /usr/share/keyrings/thopiekar.gpg --keyserver keyserver.ubuntu.com --recv-keys 2F9BE1560EA69B96C865447AD51DB14E9FFECCF3 >> /dev/null 2>&1

With the GPG key imported, proceed to import the PPA with the following command.

echo 'deb [signed-by=/usr/share/keyrings/thopiekar.gpg] https://ppa.launchpadcontent.net/thopiekar/openrgb/ubuntu jammy main' | sudo tee -a /etc/apt/sources.list.d/openrgb.list

Before you continue, run an APT update to reflect the newly imported PPA.

sudo apt update

With the PPA now imported, you can begin installing using the following command.

sudo apt install openrgb -y

Once installed, verify the installation using the –version command.

openrgb --version

Example output:

How to Launch OpenRGB

To launch OpenRGB, you can do this in a few ways.

First, you can use the following command to open it immediately while in your terminal.

openrgb

Taskbar > Accessories > OpenRGB

Example:

Once opened, you will arrive at your default landing screen showing what hardware devices are installed. The tutorial machine has a G502 Hero Gaming mouse, which is now present.

See also
How to Install Wine on Linux Mint 21 or 20

Example:

Further adjustments, installing plugins, and much more can be found in the settings menu to customize your PC hardware fully.

How to Update/Upgrade OpenRGB

Given that the tutorial has installed OpenRGB using the command line terminal, it is always recommended to check for updates often for desktop users with the following command.

sudo apt update && sudo apt upgrade

Most users would have auto-update notifications and possibly auto-update/upgrades with GUI. I recommend running this command on the odd occasion to ensure updates are being fetched and installed.

How to Remove (Uninstall) OpenRGB

Use the following command entirely for users who no longer wish to have OpenRGB.

sudo apt autoremove openrgb --purge

Also, remember the PPA GPG key and repository as this is no longer needed, which you can remove with the following command.

sudo rm /etc/apt/sources.list.d/openrgb.list /usr/share/keyrings/thopiekar.gpg

How to Fix Broken GPG Import

Users that have installed Linux Mint for the first time or have not imported a GPG key before using the command line terminal will often have issues importing GPG keys from LaunchPAD PPAs due to the directories not being created. This is an easy fix. Use the following command that will, in turn, generate the directories.

sudo gpg --list-keys

Example output:

As above, the necessary directories have been created. This can be skipped, and use the following GPG import command below. If you have any issues with directories missing for this and any other PPA GPG key in the future, just run the above command.

Comments and Conclusion

If you’re looking for free and open-source software to control your RGB lighting, OpenRGB is worth checking out. The software has many features, and the plugin interface allows even more customization and functionality.

2 thoughts on “How to Install OpenRGB on Linux Mint 21 LTS”

  1. sudo apt install openrgb -y
    Reading package lists… Done
    Building dependency tree… Done
    Reading state information… Done
    E: Unable to locate package openrgb

    Reply
    • Thanks for the message. This is interesting, it should work on Linux Mint, I have installed it plenty of times. It is Linux Mint 21 you are installing it on just double checking.

      Did you run an apt update before hand to sync the sources list?

      Reply

Leave a Comment

Index
Share to...