Find the answer to your Linux question:
Results 1 to 9 of 9
Hi there. Here at work i use a scroll mouse, but the scrolling fuction is not working. Where do i fix this?...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux User sheds's Avatar
    Join Date
    Nov 2004
    Location
    ??????????
    Posts
    342

    Mouse not scrolling


    Hi there. Here at work i use a scroll mouse, but the scrolling fuction is not working. Where do i fix this?

  2. #2
    Linux Guru dylunio's Avatar
    Join Date
    Aug 2004
    Location
    Cymru
    Posts
    4,157
    What kind of mouse is it? PS/2, USB, Serial?

    dylunio
    Registered Linux User #371543!
    Get force-get May The Source Be With You
    /dev/null
    /dev/null2

  3. #3
    Just Joined!
    Join Date
    Sep 2004
    Posts
    1
    Add a line:
    Option "ZAxisMapping" "4 5"
    in your /etc/X11/xorg.conf file (or XF86Config if you use XF86)

    This should help.

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Engineer
    Join Date
    Oct 2004
    Location
    Vancouver
    Posts
    1,366
    Or add ZAxixMapping "6 7" depending on how many buttons you have on the mouse, the wheel counts as three buttons itself.

  6. #5
    Linux User sheds's Avatar
    Join Date
    Nov 2004
    Location
    ??????????
    Posts
    342
    I that case, it's the right button, the left button and the scroll button. So it would be 3. Why "4 5" " 6 7"? What's this?

  7. #6
    Linux User
    Join Date
    Jul 2004
    Posts
    256
    In your case (3 button mouse) ZAxis mapping should be set to "4 5", here is why:

    Here's how it translates, a 3 button mouse
    Code:
    1 left click
    2 right click 
    3 middle click
    4 scroll up
    5 scroll down
    and a 5 button mouse(2 extra buttons on the side)
    Code:
    1 left click
    2 right click 
    3 middle click
    4 scroll up
    5 scroll down
    6 side button 1
    7 side button 2
    Using ZAxisMapping you tell it what "buttons" are used to scroll. So a 3 button mouse would use "4 5" since that is the 4th and 5th input. The "6 7" is if you have a 5 button mouse.

    This is because the mouse wheel is 3 buttons, click, scroll up, and scrol down, kind of confusing :P
    --monkey

  8. #7
    Linux User sheds's Avatar
    Join Date
    Nov 2004
    Location
    ??????????
    Posts
    342
    Ok cool. I'll fix it right away.

  9. #8
    Linux Guru loft306's Avatar
    Join Date
    Oct 2003
    Location
    The DairyLand
    Posts
    1,666
    also
    Code:
     Option      "Buttons" "5"
    if it is a two button mouse with a wheel or
    Code:
    Option    "Buttons"  "7"
    if a 7 button mouse
    ~Mike ~~~ Forum Rules
    Testing? What's that? If it compiles, it is good, if it boots up, it is perfect. ~ Linus Torvalds
    http://loft306.org

  10. #9
    Linux User
    Join Date
    Jul 2004
    Posts
    256
    It's a good idea to tell it how many buttons it has, since it may not autodetect the number correctly :P

    The other major problem you can have with mice is if you choose the wrong protocol, that causes very strange movement :P
    --monkey

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •