Tuesday, March 25, 2014

How to reduce Gaming Mouse Sensitivity in Linux - Ubuntu, Linux Mint, Elementary OS, Arch Linux or others


I've been using a Razer DeathAdder for a long time now. I just recently installed Elementary OS on my new Laptop and I got my DeathAdder working fine. However, the sensitivity is so much, that you have to acquaint and adapt to use it to perfection.

After some searching on Google, I found that there are a lot of very simple solutions to fix this problem. The following simple commands can be used to reduce parameters of ANY MOUSE!

If you are running Ubuntu 10.04 - 14.04 OR Fedora 12-20

Step 1: Open a Terminal
Step 2: Run this command to find how Linux recognizes our mouse

xinput --list --short

It will output something like this,
Now we know what name Linux uses to refer to our mouse. In my case it is a "Razer Razer DeathAdder."

Step 3: Set the constant deceleration for the Mouse. Run the command to do so,

xinput --set-prop "Razer Razer DeathAdder" "Device Accel Constant Deceleration" 5

This command reduced my mouse sensitivity considerably. You can play around with the value to get the setting you're comfortable with.

Step 4: To make this setting remain, we need to add this to Gnome's list of startup applications.
Use the following script, save it with <anyfilename>.sh

 #!/bin/sh
xinput --set-prop "Razer Razer DeathAdder" "Device Accel Constant Deceleration" 5

Run chmod + x on the file above to give it permissions to execute.
Now, go to your System Settings -> Startup Applications and add this to your startup applications.

If you are on Arch Linux or other derivatives of Arch

Arch Linux has a wonderful Wiki page that tells you how to do it using razercfg if you own a Razer mouse.

https://wiki.archlinux.org/index.php/razer

No comments:

Post a Comment

I'd love to listen to what you have to say,