Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

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 updated to 11.04 and I now need to reconfigure a lot of things. One of them is the mouse "special "buttons.

Before I clicked on the red button that my mouse brings, and I switched desktops.

I tried to do that again, but on the Compiz configuration we can see this useless information like:





and so on...

I have no clue about what number is associated with my red button of this Microsoft Optical Comfort 3000 mouse.

Where can I configure mouse buttons/clicks?

share|improve this question
up vote 2 down vote accepted

The only program I know of that I use to figure this stuff out is called xev. Run it from the command line (Terminal):

$ xev

Then you will get a pop-up box. enter image description here

In that "Event tester" box, click your buttons, you will see button down and button up events show up in the terminal window. Each event will have a button number associated. Keep clicking them till you determine which one is which.

Pretty handy utility.

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.