Cyborg RAT 7 and Ubuntu 13.04

I’ve recently bought a mouse like this and it doesn’t seem to work properly with Ubuntu! The x-server freezes after 1 click. So I thought I’d share this quick fix šŸ™‚

You need to locate the following folder in your system:


Open a terminal (ctrl + alt + T) and enter “cd /user/share/X11/xorg.conf.d”

In this folder there should be a few configuration files, but disregard those. You will need to create your own configuration file for the RAT7 mouse as follows:

1) Create the file and open it with an editor to your choice. In my case VI. The number 910 is the priority of the configuration file. You might want to put that as the highest number to be sure šŸ™‚

sudo vi 910-rat.conf

You can also use nano “sudo nano 910-rat.conf”

2) Paste the following lines in there

Section "InputClass"
Identifier "R.A.T."
MatchProduct "R.A.T.7|R.A.T.9"
MatchDevicePath "/dev/input/event*"
Option "Buttons" "17"
Option "ButtonMapping" "1 2 3 4 5 0 0 8 9 7 6 12 0 0 0 16 17"
Option "AutoReleaseButtons" "13 14 15"
Option "ZAxisMapping" "4 5 6 7"

3) Reboot

sudo reboot

This should fix the problem for you šŸ™‚ Mind that the configuration file is in /usr/ and not in /etc/! This makes the x-server stop from starting.



One thought on “Cyborg RAT 7 and Ubuntu 13.04

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s