One of the things that’s most frustrating about building a new computer for Linux is peripherals, especially for gamers who are looking for lots of functionality out of their peripherals. If you have Razer peripherals, you may be in luck, because the OpenRazer project has a solution for you. Here we go over how to install OpenRazer on Linux.
The first place you should go is the project’s Github.io page. You can see what devices are supported and learn more about the installation process. It’s fairly simple, but it does take a bit of time and planning.
Note: I have a Razer Basilisk Essential, which is in the process of being supported, but I’ll still demonstrate the process.
First, add the user you log in as to the
plugdev group. This ensures you will have control over pluggable devices, like mice and keyboards. To do that, simply run the following command:
After that, you can follow the specific instructions for your distro that are listed on the page.
For Arch users,
openrazer is in the AUR, which is quite convenient. They suggest using
pacaur to install in order to avoid dependency loops.
All Other Officially Supported Distros
All other officially supported distros should get their packages from the OpenSUSE build service. There are commands available for you to use, and they vary based on your distro. For Fedora, I’ll be running these commands:
For Ubuntu, run these commands:
For OpenSuse, which seems to be the best supported, run these commands:
You can find the commands for your distro there.
For Community-Supported Distros
There are various communities that have stepped up and worked out different ways to support OpenRazer on their distros. You can reference the installation instructions on their website. Some distros like Solus and Void Linux have made it very simple.
Once you have OpenRazer installed, restart your computer, and you should be able to then install one of the graphical front ends listed on their website, which are Polychromatic, RazerGenie, razerCommander, and Snake.
Make sure you add your user to the
plugdev group. Some distros might not have it, but it’s a really important step that allows your user to control those devices.
Also, if you’re having trouble with a device, make sure it’s on the supported devices list. It sounds simple, but if your particular variation of a device is not supported, the device won’t work. OpenRazer will pick up that it’s a Razer device, but it won’t know how to talk to it. Take my Basilisk Essential, for example. The Basilisk is supported, and I bought the Basilisk Essential thinking it would be the same thing. Big mistake.
There is a bug specifically with Fedora that makes it install the wrong kernel headers. To counteract that, install the
kernel-devel package before you do anything else by running this command:
Hopefully, with the help of OpenRazer, you can get the best out of your Razer peripherals on your Linux system. If your Linux system is running slow, find the cause here. Also, learn how to use the Hosts file to access websites in Linux.