A community-led effort to support Razer peripherals on Linux. It consists of:
Written in C. Configured to rebuild on kernel updates (via DKMS)
Adding persistence support, battery notifications and turning off brightness on screensaver
OpenRazer enables Razer-specific capabilities of the hardware, such as:
Exposing what's supported on the firmware. Devices retain settings across power cycles*
Such as brightness, DPI** and polling rate
Enable custom lighting via software
* Not supported by all hardware. Plugging the device into a computer running Razer Synapse will reset this state.
** Most mice DPI hardware buttons are not intercepted and continue to use default behaviour/range.
Originally written for the BlackWidow Chroma, the driver is now compatible with 168 Razer peripherals.
A third party application is required for key rebinding, such as input-remapper.
Only lighting features are supported. OpenRazer doesn't provide additional audio features.
Webcams with no lighting features are not supported. Try cameractrls to enable HDR and related functionality.
Before installing the driver, you'll need to install a kernel headers package that matches your kernel version. This is because the driver is "out-of-tree" and needs to be compiled for the kernel (using DKMS).
For example, Arch has linux-headers
and linux-lts-headers
.
Other distros like Ubuntu/Debian may install them automatically, as the packaging system "recommends" the necessary package.
Before using OpenRazer, you'll need to add your user to the plugdev
group. In most distributions, this is:
sudo gpasswd -a $USER plugdev
After following the instructions for your distribution below, a system reboot is recommended so the user group is applied, and to load the OpenRazer driver.
After successful installation, pick an application that makes use of the driver.
Packaged and supported by us!
Install openrazer-meta from the AUR using an AUR helper or by building the PKGBUILD directly.
After the drivers are installed, please restart the computer.
Instructions and downloadable builds for Debian are available here.
After the drivers are installed, please restart the computer.
kernel-debug-devel
) may be installed and cause OpenRazer to fail installation.
To fix this, you must install kernel-devel
explictly:
sudo dnf install kernel-devel
Then, proceed to follow the installation instructions for Fedora.
For Fedora run the following:For Fedora Rawhide run the following:sudo dnf config-manager --add-repo https://download.opensuse.org/repositories/hardware:razer/Fedora_$(rpm -E %fedora)/hardware:razer.repo
sudo dnf install openrazer-meta
sudo dnf config-manager --add-repo https://download.opensuse.org/repositories/hardware:razer/Fedora_Rawhide/hardware:razer.repo
sudo dnf install openrazer-meta
After the drivers are installed, please restart the computer.
Instructions and downloadable builds for Mageia are available here.
After the drivers are installed, please restart the computer.
Instructions and downloadable builds for openSUSE are available here.
After the drivers are installed, please restart the computer.
This will keep the drivers up-to-date when new versions are released.
If you're using elementaryOS, you'll need to install a prerequisite first:
sudo apt install software-properties-gtk
To install the recommended stable builds:
sudo add-apt-repository ppa:openrazer/stable
Alternately, if you wish to use the latest development builds, use daily
instead -- use at your own risk!
sudo add-apt-repository ppa:openrazer/daily
After adding the PPA, install the packages:
sudo apt update
sudo apt install openrazer-meta
NOTE: If you get dependency errors when trying to install the driver packages please make sure that you have enabled the "universe" repository in Software & Updates
After the drivers are installed, please restart the computer.
This PPA supports these versions:
Packaged and supported by the wider community.
To install:
emerge -av --autounmask sys-apps/openrazer
After the drivers are installed, please restart the computer.
To enable the OpenRazer module in NixOS, add this snippet to your configuration.nix
:
hardware.openrazer.enable = true;
plugdev
group.
users.users.<name?>.extraGroups = [ "plugdev" ];
Rebuild your NixOS configuration:
sudo nixos-rebuild switch
nix-shell -p openrazer-daemon
Please follow the instructions from this repository:
To install:
sudo eopkg install openrazer
After the drivers are installed, please restart the computer.
Packages are available at the following URLs:
For details on how to install, see the SlackBuilds.org FAQ.
After the drivers are installed, please restart the computer.
We have packages for Void Linux:
openrazer-meta
,
openrazer-daemon
,
openrazer-driver-dkms
, and
python3-openrazer
To install:
xbps-install -S openrazer-meta
After the drivers are installed, please restart the computer.
These projects integrate with OpenRazer:
GUI (PyQt5)
Tray Applet
CLI
GUI (Qt5)
GUI (Java)
GUI (GTK)
CLI (Python)