For Ubuntu users with Razer peripherals, here’s how to install the Linux driver and configure Razer peripherals in Ubuntu 16.04, Ubuntu 18.04, and higher.
OpenRazer is an open source driver and user-space daemon that allows you to manage your Razer peripherals on GNU/Linux. See the list of supported devices.
With Polychromatic GUI front-end, you can configure your Razer peripherals with a graphical tool and system tray applet.
1. Open terminal either via Ctrl+Alt+T keyboard shortcut or by searching for ‘terminal’ from app launcher. When it opens, run command:
sudo add-apt-repository ppa:openrazer/stable
Type user password (no asterisk feedback) when it prompts and hit Enter to continue.
2. Also add Polychromatic PPA by running command:
sudo add-apt-repository ppa:polychromatic/stable
3. Finally refresh your system package cache and install the drivers and GUI tool via commands:
sudo apt update sudo apt install openrazer-meta polychromatic
Once installed, open polychromatic from your system application launcher and enjoy!
Uninstall:
To remove the drivers as well as the configuration tool, run command:
sudo apt remove --auto-remove openrazer-meta polychromatic
And open Software & Updates, navigate to Other Software tab to remove the PPAs.