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've got a mouse with a thumb button that xev shows as button 9. I'd like to map it to be the same as a middle click (which, according to xev, is button 6). How do I do it? I'm using Ubuntu Jaunty.


share|improve this question
up vote 2 down vote accepted

I think you'll be able to get this working with an xmodmap tweak. Have a look at the Mouse section in the Ubuntu Community documentation, especially the entries for the Multi-buttoned Mouse and Logitech Marble Mouse USB.

You'll also find this article on changing mouse buttons through xmodmap useful.

share|improve this answer
From this I got to this link, which right at the top shows what needs to be done: – abyx Aug 18 '09 at 11:02

There are a ton of tutorials for this out on there on the internet.

This one is Ubuntu specific :

share|improve this answer

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.