Razer peripherals

From ArchWiki
Revision as of 00:15, 15 May 2013 by Zombifier (talk | contribs) (Remove the Bug section (really out-dated))
Jump to navigation Jump to search

There is currently no official driver for the Razer gaming mice in Linux. However, Michael Buesch has created a tool called razercfg to configure Razer mice under Linux.


razercfg lists the following mice models as stable:

  • Razer DeathAdder Classic
  • Razer DeathAdder 3500 DPI
  • Razer DeathAdder Black Edition
  • Razer Krait
  • Razer Naga

and the following as stable but missing minor features:

  • Razer Lachesis
  • Razer Copperhead
  • Razer Boomslang CE


Download and install razercfgAUR or razercfg-gitAUR for bleeding edge git releases from the AUR.

After installing with pacman add the razerd daemon

# systemctl enable razerd.service

to start up at launch with.

You also need to edit your /etc/X11/xorg.conf file to disable the current mouse settings. I just commented them out then set some defaults as suggested by the author:

 Section "InputDevice"
    Identifier  "Mouse"
    Driver  "mouse"
    Option  "Device" "/dev/input/mice"

It is important to only have Mouse and not Mouse# listed in xorg.conf.

For Python 3 users

If you have python 3 set as your default version then you will have to make a simple change to the source code of the two utilities. You can check by typing the following command

$ python -V

If it returns python 2.X then you can skip this section. If it returns python 3.X then change the first line of both files /usr/bin/razercfg and /usr/bin/qrazercfg to the following:

#!/usr/bin/env python2

Final touches

Retart the computer then enter:

# udevadm control --reload-rules

To start the daemon, type:

# systemctl start razerd.service

If you did everything correctly, you shouldn't get errors.

Using the Razer Configuration Tool

There are two commands you can use, one for the command line tool razercfg or the Qt-based GUI tool qrazercfg.

From the tool you can use the 5 profiles, change the DPI, change mouse frequency, enable and disable the scroll and logo lights and configure the buttons.