Home > Linux > Linux, MX Revolution and the Middle mouse button

Linux, MX Revolution and the Middle mouse button

For those who have a MX Revolution mouse and want to configure it correctly in Ubuntu, I recommend them to use a tool called revoco. It is not new and it seems a bit abandoned. Yet it’s the only tool that did exactly what I wanted.

By default, the wheel button of this mouse is set to change between the free spin mode and the click-to-click. However, I prefer it to be in auto spin mode and use the wheel button as the middle mouse button, so that I can paste selected text in Linux and close tabs.

First of all, you must set your mouse (and keyboard if you own a MX 5500 combo) as raw HID. Edit the file /lib/udev/rules.d/62-bluez-hid2hci.rules (the file name may change depending on the system, this is for Ubuntu 11.10) and replace the following text:

KERNEL==”hiddev*”, ATTRS{idVendor}==”046d”, ATTRS{idProduct}==”c70[345abce]|c71[34bc]”, \
RUN+=”hid2hci –method=logitech-hid –devpath=%p”

by

KERNEL==”hidraw*”, ATTRS{idVendor}==”046d”, ATTRS{idProduct}==”c70[345abce]|c71[34bc]”, \
RUN+=”hid2hci –method=logitech-hid –devpath=%p”

Download revoco’s last version from http://maemo.cloud-7.de/mx-revolution/. Untar it, compile it running make and move the compiled binary to /user/local/bin directory.

cd revoco-0.5
make
mv revoco /usr/local/bin

Finally, run the command to set your mouse in auto spin mode and you’ll have both, the desired scroll wheel mode and the correct middle button configuration.

revoco auto=[speed]

Set the speed you prefer to change between free spin and click-to-click mode. I think 10 is the best value.

Advertisements
Categories: Linux Tags: ,
  1. jOERG
    2012/02/06 at 1:04

    a slightly bugfixed version is on http://maemo.cloud-7.de/mx-revolution/ (for X86 linux, despite the site name 😀 )
    Works fine with both mx-revolution and mx5500

    /jOERG

    • blizarazu
      2013/10/23 at 20:22

      Thank you for the link update!

  2. Ibuntu
    2013/10/23 at 18:18

    Thank you very much. I’ve been looking for a solution to this for the better part of a year.

    Running Ubuntu 13.10 (and I’m pretty sure every version since 12.04) the file to edit to set your mouse as raw HID is /lib/udev/rules.d/97-bluetooth-hid2hci.rules
    (or is this particular to my hardware, not my software?)

    And the link in the article gives a 404 but thanks to jOERG for posting a link to a working download. Snatched all the files in the mxrevolutioncontrols directory using wget and then ran:

    ‘make’
    ‘sudo mv /usr/bin’
    ‘cd /usr/bin’
    ‘chmod +x recovo’
    ‘sudo revoco auto=20’

    And the number is the number of clicks in one motion before freespin unlocks. It re-locks again after it stops. Most importantly this gives back the middle mouse or mouse3 button. I’ve been without mouse3 since I came to Linux. Thank you so, so much.

    20 clicks is just my preference because it unlocks free spin after 2 quick hard swipes.a

  3. 2014/04/27 at 15:32

    Yes – thanks very much – just moved a MX5500 keyboard and mouse onto a new linux system and this makes all the difference in the world. Same instructrions above work great on Linux Mint 16.

  4. 2014/06/22 at 18:41

    just unpacked and configured auto=9 my 3rd revo mouse. The other two are waiting in shelf now to get yet another LMB switch replacement. Incredible how those switches break after a year or two of usage. Luckily fitting replacement switches are easy to find, there are several alternatives, don’t need the original OMRON brand

    /jOERG

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: