Open drivers and a userspace stack to control Razer device lighting and hardware features on GNU/Linux, with kernel modules, a daemon, and Python bindings.
Overview
OpenRazer is a community effort to support Razer keyboards, mice, headsets, mouse mats, keypads, and related gear on Linux. The stack combines a kernel module built with DKMS, a daemon for persistence and notifications, and a Python library for scripts and applications to talk to the hardware over D-Bus.
The drivers expose Razer-specific capabilities where the firmware allows: hardware lighting effects, brightness, DPI, polling rate, and addressable RGB from software. Many settings can persist across power cycles. A large catalog of devices is listed with USB vendor and product identifiers; fully supported products expose the USB-controllable functions the project implements.
Official packages exist for several Linux distributions, with additional community packages for others. Companion desktop applications from other projects can use the D-Bus interface; the project maintains a troubleshooting guide for issues such as secure boot or missing kernel modules.
Using a device with proprietary Razer configuration software on another operating system can reset some lighting state. Key rebinding for certain keypads may require separate input-remapping tools.
Key features
- Kernel module with DKMS rebuilds
- Userspace daemon over D-Bus
- Python library for integration
- Hardware lighting effects
- Brightness, DPI, and polling control
- Addressable RGB where supported
- Battery notifications on supported gear
- Wide device compatibility list
Use cases
- RGB control on Linux Razer gear
- Driver support without Windows software
- Scripting peripheral settings in Python
- Identifying Razer USB product IDs