个人工具

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

来自Ubuntu中文

跳转至: 导航, 搜索
第2行: 第2行:
 
{{Languages|UbuntuHelp:RazerCopperHeadMouse}}
 
{{Languages|UbuntuHelp:RazerCopperHeadMouse}}
 
=== How to get your Razer Copperhead's extra buttons working  ===
 
=== How to get your Razer Copperhead's extra buttons working  ===
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.
+
The recently released program RazerTool can be used to configure the Razer Copperhead from Linux!
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!
+
RazerTool can be downloaded from http://sourceforge.net/projects/razertool/.
Open up a terminal and execute the following:
+
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 ===
第25行: 第25行:
 
     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  
 
     Option      "Emulate3Buttons" "false" #set to true if you want leftclick+rightclick to act like middleclick  
 
EndSection
 
EndSection

2008年4月23日 (三) 11:55的版本

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.