Difference between revisions of "Razer"

From ArchWiki
Jump to: navigation, search
m (Installation)
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{i18n|Razer}}
+
[[Category:Mice]]
[[Category:Mice (English)]]
+
[[bg:Razer]]
 
+
 
There is currently no official driver for the Razer gaming mice in Linux. However, Michael Buesch has created a tool called '''[http://www.bu3sch.de/cms/index.php/razer-nextgen-config-tool razercfg]''' to configure Razer mice under Linux.
 
There is currently no official driver for the Razer gaming mice in Linux. However, Michael Buesch has created a tool called '''[http://www.bu3sch.de/cms/index.php/razer-nextgen-config-tool razercfg]''' to configure Razer mice under Linux.
  
= Compatibility =
+
== Compatibility ==
  
 
'''razercfg''' lists the following mice models as stable:
 
'''razercfg''' lists the following mice models as stable:
Line 17: Line 16:
 
* Razer Boomslang CE
 
* Razer Boomslang CE
  
= Installation =
+
== Installation ==
  
 
Download and install {{AUR|razercfg}} or {{AUR|razercfg-git}} for bleeding edge git releases from the [[AUR]].  
 
Download and install {{AUR|razercfg}} or {{AUR|razercfg-git}} for bleeding edge git releases from the [[AUR]].  
  
After installing with [https://wiki.archlinux.org/index.php/Pacman pacman] you need to add the {{ic|razerd}} daemon to the DAEMONS array in {{ic|/etc/rc.conf}}
+
After installing with [https://wiki.archlinux.org/index.php/Pacman pacman] add the {{ic|razerd}} daemon to the DAEMONS array in {{ic|/etc/rc.conf}} for it to start up at launch.
  
 
You also need to edit your {{ic|/etc/xorg.conf}} file to disable the current mouse settings. I just commented them out then set some defaults as suggested by the author:
 
You also need to edit your {{ic|/etc/xorg.conf}} file to disable the current mouse settings. I just commented them out then set some defaults as suggested by the author:
Line 32: Line 31:
 
It is important to only have {{ic|Mouse}} and not {{ic|Mouse#}} listed in {{ic|xorg.conf}}.
 
It is important to only have {{ic|Mouse}} and not {{ic|Mouse#}} listed in {{ic|xorg.conf}}.
  
== For Python 3 users ==
+
=== 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 {{bc|$ python -V}} If it returns python 2.X then you can skip this section.
 
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 {{bc|$ python -V}} If it returns python 2.X then you can skip this section.
Line 38: Line 37:
 
If it returns python 3.X then change the first line of '''both''' files {{ic|/usr/bin/razercfg}} and {{ic|/usr/bin/qrazercfg}} to the following: {{bc|#!/usr/bin/env python2}}
 
If it returns python 3.X then change the first line of '''both''' files {{ic|/usr/bin/razercfg}} and {{ic|/usr/bin/qrazercfg}} to the following: {{bc|#!/usr/bin/env python2}}
  
== Final touches ==
+
=== Final touches ===
  
 
Retart the computer then enter:
 
Retart the computer then enter:
Line 47: Line 46:
 
If you did everything correctly, you shouldn't get errors.
 
If you did everything correctly, you shouldn't get errors.
  
= Using the Razer Configuration Tool =
+
== Using the Razer Configuration Tool ==
 
There are two commands you can use, one for the command line tool {{ic|razercfg}} or the Qt-based GUI tool {{ic|qrazercfg}}.
 
There are two commands you can use, one for the command line tool {{ic|razercfg}} or the Qt-based GUI tool {{ic|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.
 
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.
  
= Bugs =
+
== Bugs ==
 
Everytime I restart, my Razer Lachesis is brought back to 500 DPI. Not that cruicial as I just open the Razer Configuration Tool and set it to 4000 DPI and all is good. I've e-mailed him on this issue and am waiting on a reply.
 
Everytime I restart, my Razer Lachesis is brought back to 500 DPI. Not that cruicial as I just open the Razer Configuration Tool and set it to 4000 DPI and all is good. I've e-mailed him on this issue and am waiting on a reply.

Revision as of 14:13, 13 June 2012

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.

Compatibility

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

Installation

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

After installing with pacman add the razerd daemon to the DAEMONS array in /etc/rc.conf for it to start up at launch.

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

/etc/xorg.conf
 Section "InputDevice"
    Identifier  "Mouse"
    Driver  "mouse"
    Option  "Device" "/dev/input/mice"
 EndSection

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:

# /etc/rc.d/razerd start

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.

Bugs

Everytime I restart, my Razer Lachesis is brought back to 500 DPI. Not that cruicial as I just open the Razer Configuration Tool and set it to 4000 DPI and all is good. I've e-mailed him on this issue and am waiting on a reply.