个人工具

“UbuntuHelp:RazerCopperHeadMouse”的版本间的差异

来自Ubuntu中文

跳转至: 导航, 搜索
(新页面: {{From|https://help.ubuntu.com/community/RazerCopperHeadMouse}} {{Languages|UbuntuHelp:RazerCopperHeadMouse}} === How to get your Razer Copperhead's extra buttons working on Edgy === I ha...)
 
 
(未显示2个用户的5个中间版本)
第1行: 第1行:
 
{{From|https://help.ubuntu.com/community/RazerCopperHeadMouse}}
 
{{From|https://help.ubuntu.com/community/RazerCopperHeadMouse}}
 
{{Languages|UbuntuHelp:RazerCopperHeadMouse}}
 
{{Languages|UbuntuHelp:RazerCopperHeadMouse}}
=== How to get your Razer Copperhead's extra buttons working on Edgy ===
+
{|border="1" cellspacing="0"
I have not yet found linux drivers for the Razer Copperhead mouse, so any custom button macros and profiles must be set up in Windows using the Copperhead's driver utility. Installing new firmware also requires using the driver utility in Windows.
+
| '''This content is quite old and may not be applicable to current versions of Ubuntu.'''  (please remove this note if the page is updated)
 
+
|}
What's very nice about this mouse is that all settings are stored in the mouse's onboard memory!  This means you can tweak it in windows, save your profiles to the mouse, and then boot up linux and it just works!
+
=== How to get your Razer Copperhead's extra buttons working ===
 
+
The recently released program RazerTool can be used to configure the Razer Copperhead from Linux!
Open up a terminal and execute the following:
+
RazerTool can be downloaded from http://sourceforge.net/projects/razertool/.
 +
What's very nice about this mouse is that all settings are stored in the mouse's onboard memory!  This means that your settings are preserved when you switch between operating systems!
 +
First, though, you have to configure your mouse. Press Alt-F2, type in the following, then click Run:
 
<pre><nowiki>
 
<pre><nowiki>
cd /etc/X11
+
gksudo gedit /etc/X11/xorg.conf
gksudo gedit xorg.conf
+
 
</nowiki></pre>
 
</nowiki></pre>
 
 
=== Edit your xorg.conf ===
 
=== Edit your xorg.conf ===
 
 
To get your extra buttons working correctly, and set up the higher polling rate and dpi settings, find the "Core Pointer's InputDevice" section, and change it to look like this:
 
To get your extra buttons working correctly, and set up the higher polling rate and dpi settings, find the "Core Pointer's InputDevice" section, and change it to look like this:
 
<pre><nowiki>
 
<pre><nowiki>
 
Section "InputDevice"
 
Section "InputDevice"
Identifier  "Configured Mouse"
+
    Identifier  "Configured Mouse"
Driver      "mouse"
+
    Driver      "mouse"
Option      "Name"          "Razer Copperhead"
+
    Option      "Name"          "Razer Copperhead"
Option      "Vendor"        "Razer"
+
    Option      "Vendor"        "Razer"
Option      "CorePointer"
+
    Option      "CorePointer"
Option      "Protocol"      "ExplorerPS/2"
+
    Option      "Protocol"      "ExplorerPS/2"
Option      "ZAxisMapping"  "4 5"
+
    Option      "ZAxisMapping"  "4 5"
Option      "Device"        "/dev/input/mice"
+
    Option      "Device"        "/dev/input/mice"
Option      "Buttons"      "7"
+
    Option      "Buttons"      "7"
Option      "ZAxisMapping"  "6 7"
+
    Option      "ZAxisMapping"  "6 7"
Option      "ButtonMapping" "1 2 3 6 7"
+
    Option      "ButtonMapping" "1 2 3 6 7"
Option      "Resolution"    "2000" #other valid values: 400, 800, 1800
+
    Option      "Resolution"    "2000" #other valid values: 400, 800, 1800
Option      "SampleRate"    "1000Hz" #other valid values: 125, 500
+
    Option      "SampleRate"    "1000" #other valid values: 125, 500
 +
    Option      "Emulate3Buttons" "false" #set to true if you want leftclick+rightclick to act like middleclick
 
EndSection
 
EndSection
 
</nowiki></pre>
 
</nowiki></pre>
 
 
There may be some stuff that is commented out after the inital 'Option' settings, so if you wish you may leave this as is, and just add the new changed lines anywhere in the body of the "InputDevice" section.
 
There may be some stuff that is commented out after the inital 'Option' settings, so if you wish you may leave this as is, and just add the new changed lines anywhere in the body of the "InputDevice" section.
 
Because this mouse supports a resolution of 2000dpi and a polling rate of 1000Hz, I have set the "Resolution" and "SampleRate" options to their maximum values.  I'm assuming that if you wish to use any other supported polling rate for this mouse, you can modify them accordingly.
 
Because this mouse supports a resolution of 2000dpi and a polling rate of 1000Hz, I have set the "Resolution" and "SampleRate" options to their maximum values.  I'm assuming that if you wish to use any other supported polling rate for this mouse, you can modify them accordingly.
 
+
Now your mouse buttons should work as expected, mouse4 and mouse5 can be used as forward/back in Firefox :)
Now your mouse buttons should work as expected, mouse4 and mouse5 can be used as forward/back in firefox :)
+
This is tested to work on Edgy, Feisty and Gutsy.
 
----
 
----
[[category:CategoryDocumentation]] [[category:CategoryHardware]]
+
[[category:CategoryHardware]]
  
 
[[category:UbuntuHelp]]
 
[[category:UbuntuHelp]]

2009年5月12日 (二) 18:34的最新版本

This content is quite old and may not be applicable to current versions of Ubuntu. (please remove this note if the page is updated)

How to get your Razer Copperhead's extra buttons working

The recently released program RazerTool can be used to configure the Razer Copperhead from Linux! RazerTool can be downloaded from http://sourceforge.net/projects/razertool/. What's very nice about this mouse is that all settings are stored in the mouse's onboard memory! This means that your settings are preserved when you switch between operating systems! First, though, you have to configure your mouse. Press Alt-F2, type in the following, then click Run:

gksudo gedit /etc/X11/xorg.conf

Edit your xorg.conf

To get your extra buttons working correctly, and set up the higher polling rate and dpi settings, find the "Core Pointer's InputDevice" section, and change it to look like this:

Section "InputDevice"
    Identifier  "Configured Mouse"
    Driver      "mouse"
    Option      "Name"          "Razer Copperhead"
    Option      "Vendor"        "Razer"
    Option      "CorePointer"
    Option      "Protocol"      "ExplorerPS/2"
    Option      "ZAxisMapping"  "4 5"
    Option      "Device"        "/dev/input/mice"
    Option      "Buttons"       "7"
    Option      "ZAxisMapping"  "6 7"
    Option      "ButtonMapping" "1 2 3 6 7"
    Option      "Resolution"    "2000" #other valid values: 400, 800, 1800
    Option      "SampleRate"    "1000" #other valid values: 125, 500
    Option      "Emulate3Buttons" "false" #set to true if you want leftclick+rightclick to act like middleclick 
EndSection

There may be some stuff that is commented out after the inital 'Option' settings, so if you wish you may leave this as is, and just add the new changed lines anywhere in the body of the "InputDevice" section. Because this mouse supports a resolution of 2000dpi and a polling rate of 1000Hz, I have set the "Resolution" and "SampleRate" options to their maximum values. I'm assuming that if you wish to use any other supported polling rate for this mouse, you can modify them accordingly. Now your mouse buttons should work as expected, mouse4 and mouse5 can be used as forward/back in Firefox :) This is tested to work on Edgy, Feisty and Gutsy.