Find the answer to your Linux question:
Results 1 to 2 of 2
hi everyone. I have a normal usb mouse of microsoft and the mouse scrolling speed (Vertical) is slow as hell, really annoying when scrolling is needed in pdfs/websites. is there ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jan 2012
    Posts
    1

    Mousewheel speed


    hi everyone.
    I have a normal usb mouse of microsoft and the mouse scrolling speed (Vertical) is slow as hell, really annoying when scrolling is needed in pdfs/websites.
    is there a solution to this? in the mouse cpanel there's nothing related to scroll speed.
    thanks alot

  2. #2
    Just Joined! shamino's Avatar
    Join Date
    Mar 2012
    Location
    Vienna, VA, USA
    Posts
    21
    I don't know about an explicit wheel-speed control that works system-wide, but I do know that on X11 systems, the wheel-up and wheel-down evens are treated simply as two more mouse buttons (buttons 4 and 5, usually.)

    In Emacs, I use some custom keystroke mapping in my .emacs file to let me configure the number of lines scrolled by the wheel:
    Code:
    (setq my-wheel-scroll-lines 5)
    (defun my-wheel-down()
      "Wheel-down processing.  Scroll up by my-wheel-scroll-lines"
      (interactive)
      (scroll-up my-wheel-scroll-lines))
    (defun my-wheel-up()
      "Wheel-up processing.  Scroll down by my-wheel-scroll-lines lines"
      (interactive)
      (scroll-down my-wheel-scroll-lines))
    
    (global-set-key [mouse-4] 'my-wheel-up)
    (global-set-key [mouse-5] 'my-wheel-down)
    Perhaps this can help you somewhat, or at least give you a pointer for where to search next.

Posting Permissions

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