Page 3 of 3 FirstFirst 123
Results 21 to 22 of 22

Thread: Razer Deathadder Sensitivity

  1. #21
    Join Date
    Sep 2010
    Beans
    10
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: Razer Deathadder Sensitivity

    Ok I've taken a while, but I've found the command to set DPI at start up.
    Here is a guide on how to do it.

    In the terminal type this:
    Code:
    razercfg -s
    The "-s" searches for razer mice connected and returns their location. I'll be using my results as examples.

    Copy the WHOLE whole location, to specify which mouse the commands are applied to, you put this after "-d"

    Next use this command (obviously replace with your mouse's location)

    Code:
    razercfg -d Mouse:DeathAdder:USB-004:1532-0016-0 -R
    The "-R" shows you the available DPI settings for your mouse something like this:
    Code:
    Profile 1:   1 (450 DPI),  2 (900 DPI),  3 (1800 DPI),  >>4 (3500 DPI)<<,
    Choose the DPI setting you want (Here I want 900 DPI)

    Code:
    razercfg -d Mouse:DeathAdder:USB-004:1532-0016-0 -r 1:2
    The "-r" sets the DPI, the two numbers at the end are "The Profile : The DPI Code" (so if I wanted 1800 DPI, I would have put "1:3")

    You can use the check DPI code to make sure it worked.


    To make this happen at starup: Go to System->Preferences->Startup Applications

    Click Add. Then put the code to change the DPI as the command.

    Your DPI will now be set at Startup!

    Notes:
    -Changing the USB Port of your Mouse may change it's Location value, so you would need to get the new one.
    -This should also work with Scan Frequency (just use L,l instead of R,r)
    -There are more options just type this to see them:
    Code:
    razercfg -h

  2. #22
    Join Date
    May 2010
    Location
    Norman, OK
    Beans
    8
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Razer Deathadder Sensitivity

    This git repository doesn't appear to exist anymore and I haven't been able to find it mirrored anywhere, so I wrote a little script that lowers the mouse sensitivity to something reasonable.

    Open up your favorite text editor (vim, gedit, whatever). I named the file fixMouse.sh but you can call it whatever you want as long as it has the .sh extension.

    Paste this in as the body:
    Code:
    #!/bin/sh
    
    mouse=` xinput | grep DeathAdder | awk '{print $6}' | awk 'BEGIN {FS="=";} {print $2}'`
    xinput --set-prop $mouse "Device Accel Constant Deceleration" 5
    xinput --set-prop $mouse "Device Accel Velocity Scaling" 1
    This finds the device number for the DeathAdder automatically and then sets the values for you. Make the file executable and run it and you'll be good to go. I have mine set up to run on boot (it's listed under Startup Applications), but I also have it on my desktop in case I forget to plug in my mouse before I boot.

Page 3 of 3 FirstFirst 123

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •