Evoluent Mouse with Ubuntu 11.04 and 11.10

Even though I’m trying to use as less as possible my mouse and use keyboard shortcuts, my wrist asked for a more ergonomic mouse. The Evoluent VerticalMouse is one of the best you could find in the market. However, if they have drivers for Windows and Mac OS they don’t say anything about Linux. Guess what: just plug it and it works perfectly (tested on Ubuntu 11.04 and 11.10)! The copy/paste with the middle button even works! (it’s not a wheel click that paste, but a click on the middle button).

You have to get use to a vertical mouse. After years working with the usual mouse, it is not easy to switch your hand the other way. But it’s really worth it, your wrist will thank you.

If you have wrist problem, you might as well have difficulties to click some buttons and you will like to change the mapping of these buttons. On a terminal, get the device name and ID with:

xinput list

and you will get something like this:

HOLTEK Evoluent VM3 Wireless id=11 [slave pointer (2)]

You will see how many buttons are available on your mouse with:

xinput query-state "HOLTEK Evoluent VM3 Wireless"

This will list 13 buttons. However you only have 5 on your mouse. The list of buttons and what they are mapped to can be seen with (replacing 11 with you mouse ID you got above):

xinput list-props 11

Or you can also view the current button mapping with

xinput get-button-map 11

You have to get the USB ID with:

lsusb
BUS 002 Device 003: ID 1a7c:0168 Evoluent VerticalMouse 3 Wireless

Then, with your favourite text editor, you edit/create the conf file:

sudo emacs /usr/share/X11/xorg.conf.d/90-evoluent.conf

Then substitute with your USB ID and button mapping you like by ordering the buttons ID:

Section "InputClass"
Identifier "Evoluent"
MatchUSBID "1a7c:0168"
Option "ButtonMapping" "1 4 3 2 5 6 7 8 9 10 11 12 13"
EndSection