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

(the context of this question is within virtualbox, but AFAIK it shouldn't really be different)

I have a Microsoft 5-button mouse plugged in, to which scrolling scrolls horizontally. Any ideas?

xinput list:

⎡ Virtual core pointer                      id=2    [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer                id=4    [slave  pointer  (2)]
⎜   ↳ VirtualBox USB Tablet                     id=8    [slave  pointer  (2)]
⎜   ↳ ImExPS/2 Generic Explorer Mouse           id=10   [slave  pointer  (2)]
⎜   ↳ (unnamed)                                 id=11   [slave  pointer  (2)]
⎣ Virtual core keyboard                     id=3    [master keyboard (2)]
    ↳ Virtual core XTEST keyboard               id=5    [slave  keyboard (3)]
    ↳ Power Button                              id=6    [slave  keyboard (3)]
    ↳ Sleep Button                              id=7    [slave  keyboard (3)]
    ↳ AT Translated Set 2 keyboard              id=9    [slave  keyboard (3)]

EDIT: This question is a pretty close duplicate of My mouse wheel has stopped scrolling up and down.. Could someone possibly mark it as a duplicate?

share|improve this question
If you use xev and scroll the mouse wheel over its window, are button 4 and button 5 events generated, or are they button 6 and button 7? – ændrük May 13 '11 at 16:34
it's 6 and 7. I fixed it with… – Brian Hicks May 13 '11 at 16:42
Awesome. Please be sure add that as an answer in the field at the bottom of this page and then mark it as accepted by clicking the check mark. Thanks! – ændrük May 13 '11 at 16:46
The answer here is exactly what fixed it for me:…. – user67610 Jun 1 '12 at 3:31
up vote 0 down vote accepted

Fixed it with this: My mouse wheel has stopped scrolling up and down.

I don't know what caused the problem, but those tools helped diagnose and fix it.

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.