How to get OpenRazer working easily on Steam Deck

I have a Steam Deck and I play with the Razer Tartarus (before with Nostromo) and sometimes also with a Razer mouse. Those devices are for gamers and require specific driver installed on the machine to let them recognized their specific buttons as examples.

If you are looking for an Italian review, check my video where I talk also about this tutorial!

OpenRazer are the open source driver implementations that let you use those devices on Linux. They extend the Linux kernel with their own driver and require some steps to proceed.


SteamOS on the SD is updated by the native client and doesn’t include “things”. The first stuff that you need to know if you don’t know Linux is that SD use various partitions where your games, settings and app installed with KDE discover on the Desktop Mode are saved. The real OS like the program for the Desktop mode or “Linux” are in a specific partition that is on read only.

This means that you can just read, and you are not able to do any change. It is something common on Linux to avoid that you break things, but this means that if you are doing something like adding the support for the Razer devices at next update you have to install it again.

The next things you need to know is this device the OS is based on ArchLinux with custom Steam repositories. On Linux distributions a package repository is a “centralized server” that has all the software that you are capable to install with just a command (and they are tested and safe usually). This means that you are not using the ArchLinux original but a different version and OpenRazer is not there, and you have to compile it.

In IT, compile a software it means from source code generate the binary, driver, executable etc.

Let’s start with the 3 installation steps!

Set password for the deck user

On SD there is the deck user that run all the programs/games but doesn’t have any password defined. To proceed we need to set one, so in Desktop mode open the terminal (Konsole) and write passwd and press Enter.

You can use the overlay keyboard with Steam+X or with the dock station a real keyboard or a Bluetooth keyboard. How to set up one is not part of this tutorial.

I set deck as password in this way is the same user and I don’t confuse it with others.

Install OpenRazer

To achieve something that I can reuse (we will see later), I preferred to create a bash script with various commands:


sudo steamos-readonly disable
sudo sed -i "s/SigLevel    = Required DatabaseOptional/SigLevel = Never/g" /etc/pacman.conf
sed -i "s/LocalFileSigLevel = Optional/#LocalFileSigLevel = Optional/g" /etc/pacman.conf
sudo pacman-key --refresh-keys
sudo pacman-key --init
sudo pacman -Sy archlinux-keyring
sudo pacman-key --populate archlinux
sudo pacman -Syu base-devel mlocate cmake gcc holo-rel/linux-headers jupiter-rel/linux-neptune-headers holo-rel/linux-lts-headers $(pacman -Qk 2>/dev/null | grep -ve ' 0 missing' | grep -ie ^libc -e glibc -e gcc -e clang -e headers -e udev -e systemd | awk -F ':' '{print $1}') --overwrite '*'
cd /tmp/
git clone
cd openrazer
makepkg -sri
systemctl --user enable --now openrazer-daemon.service
sudo gpasswd -a deck plugdev

This code is based on others that I found online, but it’s tested and improved.
Create a file and calling as you prefer, in my case is I put that on the sd card to get that on the SD easily and write every single command manually.

Next step, in the Desktop mode, open the file manager (Dolphin) and go to the sd card folder that should be /run/media/mmcblk0p1. Now right-click on the bash script and on Proprieties->Permissions check the Executable option and press Ok. Now the script can be executed.

If you still have opened the terminal, you can drag and drop the bash file so automatically fill it the path (if you don’t want to write it manually /run/media/mmcblk0p1/ and press enter (or press A as it is recognized as Enter).

Now the procedure started and will sometimes ask you to insert the deck user password that we set before or to allow the (re)installation of some packages (just press y).

The script will proceed and will disable the read-only mode, get the list of packages by the repositories, install the dependencies, download the OpenRazer package source for ArchLinux compile it, install it and enable the user.

If you get an error about a package python-jaraco.text it is a problem with the SteamOS ArchLinux repository that is not aligned with the official one. The updated script above automatically does some OS changes to the package manager to ignore package verification.


Before the reboot, you want to install with KDE Discover the GUI to manage the lights for the Razer devices, in this case RazerGenie. It is not similar to the one on Windows (it’s more fast anyway) and doesn’t allow you to set custom mappings, but just change the lights. I didn’t look for a way to customize the mappings, as for me, they were fine, as anyway in the steam deck you have to remap everything.

After the reboot, you will have the Razer devices working.

Here you can see a photo of Tartarus and the Tron mouse, both by Razer:

What to do on a new update

So Steam release a new shiny update to SteamOS and you have to repeat everything, but what specifically?

  • Set again the deck user password (I am not sure about this right now, but anyway the script cannot proceed if there is any password configured)
  • Execute again the bash script (if you don’t delete the file, it will already have the executable permissions)


  • 2023/03/11 – Updated script to change pacman settings to avoid package verification
Liked it? Take a second to support Mte90 on Patreon!
Become a patron at Patreon!

13 thoughts on “How to get OpenRazer working easily on Steam Deck

  1. Even after executing “sudo pacman-key –populate archlinux” i have the still the same problem with the jaraco file : “python-jaraco.text: signature from “Chih-Hsuan Yen ” is invalid”. Do you know if there is any solutions ? Thanks

  2. Hey there, I followed these steps to a T and everything went through on Kommand (terminal). However, I do not see the OpenRazer program anywhere on my deck to use. Is it supposed to be a viewable / run-able program? I am wanting to assign macros to the buttons on my Razer mouse. Thanks in advance for your reply.

      1. I got RazorGenie for the RGB settings. Do you know of a tool or program that can manage the macro inputs?

        1. No I have no idea, I searched on internet but seems that there aren’t any editor right now to configure macro.
          Someone already asked but someone suggests to configure the macro on windows because some models save in the hardware the settings.
          Other suggests that is used as tool on linux for this kind of things.
          That one is available on Archlinux so it is possible to extend the script to install it too

  3. Hey! Hitting a error: ==> ERROR: Could not update key: 22E3B67B4A86FDE7

    I think the readonly portion isnt working. Is a new update thing?

Leave a Reply

Your email address will not be published. Required fields are marked *