Razer device configuration tool installation

If you are using a Razer mouse and its dpi is too high in your linux distribution here how to install the Razer device configuration tool. This tool let you configure your mouse dpi option and more (if supported)

This guide Is not complete but at least you will be able to lower the dpi of your mouse if needed. the settings are not applied after a reboot but I'll continue my research and update this guide if I find the solution

Download the required packages:

sudo apt-get install python3 libusb-1.0-0-dev python3-pyside cmake build-essential

Then download:

Razer device configuration tool

cd /usr/src
wget http://bues.ch/razercfg/razercfg-0.31.tar.bz2
tar xvf razercfg-0.31
cd razercfg-0.31

Start to compile

sudo cmake .
sudo make
sudo make install

You will need to create the init scrip so you can start the razerd service (Very important as it will not work if you don't start the service first)

cp ./razerd.initscript /etc/init.d/razerd
ln -s /etc/init.d/razerd /etc/rc2.d/S99razerd
ln -s /etc/init.d/razerd /etc/rc5.d/S99razerd
ln -s /etc/init.d/razerd /etc/rc0.d/K01razerd
ln -s /etc/init.d/razerd /etc/rc6.d/K01razerd

Then start the service for the first time

service razerd start

Now you can start the GUI too by this command:

qrazercfg

You should see this window after:

Enjoy!

1 Like

Is that from an official Razer site?

Not to be rude, but obviously not, if you goto the home page of that site, its well a project site for open source.
Also thanks OP have a friend who could use this.

Also if I have the time I will skim over the source to see if I can find any malicious code.

I needed to run "sudo ldconfig" after creating the links with ln and reboot if you're having problems. Thanks for reminding me of this project and the tutorial. Works great.

What about Razer Keyboards?

how do I make the service on Arch? I get the file/directory not found message when trying to cp.

Are you installing it via the package manager using AUR which should set it up and install it properly for you?

you can do that? I have been manually installing from source

Most distros should have it at least in a thrid party repo.

get it from AUR
extract it
run makepkg -s from the extracted directory
run pacman -U /path/to/pkg.tar.xz that was created
enjoy properly installed package.

https://wiki.archlinux.org/index.php/Arch_User_Repository
https://aur.archlinux.org/packages/?O=0&K=razercfg
https://wiki.archlinux.org/index.php/Razer

Yes, I use yaourt to install packages from the aur. After yaourt is installed you can install the razer utility like this: yaourt -S razercfg you can also do system updates with yaourt instead of pacman if you want and it will also update any aur packages. yaourt -Syua

https://aur.archlinux.org/packages/yaourt/

https://aur.archlinux.org/packages/razercfg

Maybe this can work for you?

Awesome I will give this a try

The python script posted there is over 2 years old and the device ID's have changed. I'm no 1337 h4x0r and while I can see partially what the problem is, I'm not brave enough to change it or smart enough to know if that's a good idea or not :)

Thanks, I have been warned :-)