Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have the XFCE desktop manager installed on my Arch Linux system. With E17 (Enlightenment desktop manager) I had no problems with my mouse: all buttons worked correctly out of the box. But in XFCE my middle mouse button does not fire an event at all (no output with xev).

Evdev seems to identify my mouse correctly (Razer Deathadder) because it echoes its name in the xorg logs. I have no idea what could cause this and how to debug the problem.

I start both E17 and XFCE with startx. Here is my ~/.xinitrc:

exec startxfce4 --with-ck-launch
#exec enlightenment-start
share|improve this question
How do you start xorg and XFCE? Does the problem occur if you first use xinit, then startxfce4? If so, at what point does it happen? What if you start XFCE from inside E? Are the same events mapped to the same buttons otherwise in E and XFCE? – Eroen Sep 13 '12 at 17:08
I added some information to the question. Is it even possible to start XFCE from inside E? I'll try xinit later. – Alp Sep 13 '12 at 17:20

See the ArchWiki page for Razer input devices.

The razercfg site link there is out of date, so download it from the developer site. Your device appears to be fully supported.

The razercfg and razercfg-git AUR links that the wiki mentions are also currently out of date, so don't waste your time with those until the packagers update them.

share|improve this answer
Nice idea, but sadly i can't get it to run. Neither the official version, nor the AUR packages work after installing them: > razercfg File "/usr/local/bin/razercfg", line 143 except (ValueError), e: ^ SyntaxError: invalid syntax – Alp Sep 20 '12 at 16:44
That sounds like you have a python version mismatch. Do you have python2 installed? What did you do to get the AUR packages to install? Maybe some needed dependency isn't being enforced in the PKGBUILD. – zero2cx Sep 24 '12 at 5:00
yes i have python2 installed – Alp Sep 24 '12 at 7:58

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.