OpenRazer
From Gentoo Wiki
OpenRazer is a community-led effort to support Razer peripherals on Linux.
Installation
USE flags
USE flags for sys-apps/openrazer Drivers and user-space daemon to control Razer devices on GNU/Linux
+client
|
Build the OpenRazer daemon client |
+daemon
|
Build the OpenRazer daemon service |
+strip
|
Allow symbol stripping to be performed by the ebuild for special files |
dist-kernel
|
Enable subslot rebuilds on Distribution Kernel upgrades |
modules-compress
|
Install compressed kernel modules (if kernel config enables module compression) |
modules-sign
|
Cryptographically sign installed kernel modules (requires CONFIG_MODULE_SIG=y in the kernel) |
test
|
Enable dependencies and/or preparations necessary to run tests (usually controlled by FEATURES=test but can be toggled independently) |
Emerge
root #
emerge --ask sys-apps/openrazer
Additional software
Correctly OpenRazer can act as a backed for following packages:
- sys-apps/razercommander - a GUI OpenRazer client application,
- sys-apps/polychromatic - most feature-fill GUI configuration tool, providing also a CLI interface and a system tray icon,
- sys-apps/razer-cli - most minimal, CLI-only OpenRazer client.
Configuration
Kernel modules
The kernel modules should be automatically loaded by Udev, but can also be loaded by using the "modules" system service.
Service
systemd
Upstream provides a systemd user service which can be enabled by the users running systemd.
Usages
OpenRazer provides a kernel module as well as a client and server implementations. Currently all OpenRazer clients rely on that server called "openrazer-daemon". So, to make all GUI/TUI clients work correctly, first the "openrazer-daemon" has to be started. This can be done by either adding it to the desktop startup scripts, xinitrc script or manually starting from the command-line.
Removal
Unmerge
root #
emerge --ask --depclean --verbose sys-apps/openrazer