See, for some reason the designers of the mouse believed that changing the mouse-wheel scroll behavior is so important it far overshadows the usefulness of middle-click and so owners of the mouse are left to discover they cant have normal middle click functionality out of the box.
Fortunately for us, there exists a small utility called revoko (found here and hopefully coming soon to a distro repository near you) which allows for control over this
Having googled my woes, I came across a fellow Logitech
What I present here is, in my opinion, a better option, using udev.
Why do I think using udev is better ?
- Instead of editing 2 locations I'm only adding a single rule file.
- This method should work even if the mouse is connected at some point after booting up / resuming, as it responds to the connection event.
- configuring hardware is udev's stated purpose (but this is aesthetic nit-picking)
So, on with the howto:
- get revoco, from your distribution's repository if at all possible. If your distro doesnt provide it (like ubuntu 9.10, at the time of this writing) download the latest revoco source code from here, unpack it somewhere, and compile revoco by issuing "make" when in the extracted directory, this should create a small executable file called "revoco" in the same directory. copy this file over to /usr/local/bin (sudo), or any other place you find appropriate (don't forget to update PATH if you're using someplace else).
- time to add a udev rule for your MX Revolution. To do this locate your udev rules directory. Under ubuntu 9.10 default rules are stored at /lib/udev/rules.d/ and custom local rules under /etc/udev/rules.d/. I chose to add my rule in the custom directory.
- create a new file (call it logitech-mx-revolution.rules to make sure you know whats there later and that it runs last). The file should probably be owned by root, so you should use sudo.
- the contents of the file should be something like
#################################################################
# customize Logitech MX Revolution mouse scroll-wheel
#
ATTR{idVendor}=="046d", ATTR{idProduct}=="c525", ACTION=="add", RUN+="/usr/local/bin/revoco click"
this is assuming you'd like your mouse to be set to click-to-click. if you want a different configuration, consult the revoco help.