Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Discussion & Documentation Documentation, Tips & Tricks
  • Search

Razer Imperator

Unofficial documentation for various parts of Gentoo Linux. Note: This is not a support forum.
Post Reply
Advanced search
7 posts • Page 1 of 1
Author
Message
HTS
Guru
Guru
User avatar
Posts: 410
Joined: Mon Feb 20, 2006 4:28 pm
Location: Bristol, UK

Razer Imperator

  • Quote

Post by HTS » Tue Mar 01, 2011 2:31 am

Hey guys,

Just got a Razer Imperator gaming mouse and thought I would share some settings which worked well for me.
I booted windows and installed the Razer configuration utility to set the DPI to 5600 DPI and polling rate to 1000Hz for games (I don't use the top buttons to switch DPI profiles as I use those for gaming macros).

Booting Linux with those settings obviously makes the mouse pointer SUPER fast.

The best way to fix this is to use xinput to find the right values.
use:
xinput list
to find the device

Note: if you get 2 Razer mice in the list, try setting the pointer speed on each in turn to find out which one is the correct device.

and:
xinput list-props [device]
to discover the supported properties.

I hate pointer acceleration so I basically only played with ConstantDeceleration.
Once you found the right values store them in /etc/X11/xorg.conf.d/10-mouse.conf.

Here is my mouse section for reference.

Code: Select all

Section "InputClass"
   Identifier "mouse" 
   MatchIsPointer "on"
   MatchDevicePath "/dev/input/event*"
   Driver "evdev" 
   Option "AutoServerLayout" "on" 
   Option "AccelerationProfile" "-1" 
   Option "ConstantDeceleration" "5.0" 
   Option "VelocityScale" "1.0" 
EndSection
The "Match" part could be improved to only match the Razer mouse if using multiple mice.

Enjoy your super smooth mouse in Gentoo!

Edit: updated for newer Xorg
Last edited by HTS on Fri Jun 10, 2016 12:17 pm, edited 4 times in total.
Plasma desktop on Core i7 8086K OC @ 5GHz, 64GB DDR4, 2 x M.2 Samsung 970 PRO 1TB SSDs
Top
popsUlfr
Tux's lil' helper
Tux's lil' helper
Posts: 80
Joined: Sun Feb 27, 2011 5:59 pm

  • Quote

Post by popsUlfr » Tue Mar 01, 2011 8:52 am

Hi HTS, this works nicely for my Imperator too.

You wouldn't have a Razer Keyboard lying around, would you? :P
I have a Razer Reclusa and am having some sort of conflicting situation with the very Imperator mouse. It's driving me mad...

But anyway nice config. :)
Top
tomk
Bodhisattva
Bodhisattva
User avatar
Posts: 7221
Joined: Tue Sep 23, 2003 1:41 pm
Location: Sat in front of my computer

  • Quote

Post by tomk » Tue Mar 01, 2011 9:52 am

Moved from Desktop Environments to Documentation, Tips & Tricks as it fits better here.
Search | Read | Answer | Report | Strip
Top
HTS
Guru
Guru
User avatar
Posts: 410
Joined: Mon Feb 20, 2006 4:28 pm
Location: Bristol, UK

  • Quote

Post by HTS » Tue Mar 01, 2011 6:56 pm

Thanks tomk.
Sorry popsUlfr I do not have the keyboard yet but might well get it at some point as I'm running out of macro buttons ;)
Plasma desktop on Core i7 8086K OC @ 5GHz, 64GB DDR4, 2 x M.2 Samsung 970 PRO 1TB SSDs
Top
mephist0
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 94
Joined: Mon Sep 19, 2005 12:13 pm
Location: Germany, Frankfurt/Main
Contact:
Contact mephist0
Website

input --list -> xinput --list

  • Quote

Post by mephist0 » Tue Apr 24, 2012 5:15 pm

Thanks alot mate!

I think it doesn't work with the Gnome 3 preferences is because the Razer mouse is listed twice by xinput --list.

Code: Select all


xinput --list
Virtual core pointer                    	id=2	[master pointer  (3)]
   ↳ Virtual core XTEST pointer              	id=4	[slave  pointer  (2)]
   ↳ HID 046a:0023                           	id=10	[slave  pointer  (2)]
   ↳ Razer Razer Imperator                   	id=11	[slave  pointer  (2)]
   ↳ Razer Razer Imperator                   	id=12	[slave  pointer  (2)]
Virtual core keyboard                   	id=3	[master keyboard (2)]
    ↳ Virtual core XTEST keyboard             	id=5	[slave  keyboard (3)]
    ↳ Power Button                            	id=6	[slave  keyboard (3)]
    ↳ Video Bus                               	id=7	[slave  keyboard (3)]
    ↳ Power Button                            	id=8	[slave  keyboard (3)]
    ↳ HID 046a:0023                           	id=9	[slave  keyboard (3)]
There is only one God, and his name is Death. And there is only one thing we say to Death: 'Not today!'

Photography portfolio
Top
jupiter126
n00b
n00b
Posts: 5
Joined: Fri Aug 31, 2012 10:38 am

almost perfect

  • Quote

Post by jupiter126 » Fri Aug 31, 2012 10:48 am

Thanks for this nice config HTS.

It came in handy when I had to add
Option "AutoAddDevices" "OFF"
to my xorg for my keyboard to work flawlessly.

Somehow the combination of both configs is not working perfectly as I lost the back/forward functionality of the mouse's buttons in browsers.
Do these still work for you or did you find another trick to make them work?
Top
HTS
Guru
Guru
User avatar
Posts: 410
Joined: Mon Feb 20, 2006 4:28 pm
Location: Bristol, UK

  • Quote

Post by HTS » Fri Sep 21, 2012 10:20 am

Hey jupiter,

I remapped the back/forward buttons to gaming macros so can't easily test this right now. If I can backup the mouse config I'll try it.
Plasma desktop on Core i7 8086K OC @ 5GHz, 64GB DDR4, 2 x M.2 Samsung 970 PRO 1TB SSDs
Top
Post Reply

7 posts • Page 1 of 1

Return to “Documentation, Tips & Tricks”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic