You are not logged in.

#1 2012-02-13 01:36:05

thetrivialstuff
Member
Registered: 2006-05-10
Posts: 191

Set mouse wheel scrolling speed globally?

It seems that a long time ago, there used to be an option "VertScrollDelta" configurable in the mouse driver for X. The new drivers don't have that (evdev and whatever else there is).

If you have a synaptics touchpad on a laptop, there is *lots* of configurability for scrolling characteristics, but this is not a synaptics device, so I can't use that driver.

What evdev does have, are lots of configurable options for *emulating* a scroll wheel on mice that don't have one -- including the ability to set its sensitivity.

But all I've been able to turn up concerning actual scroll wheel speed/rate settings are:

- Some desktop environments allow you to set this (Gnome, KDE) -- but I'm not using a DE

- Ubuntu has a way to set this globally, or used to, or didn't used to but does now -- not using Ubuntu, obviously

- Some users have gotten desperate enough to write code that captures wheel events, then fires extra ones (http://ubuntuforums.org/showthread.php? … &page=2#20)

- There *is*, somewhere, a global setting in X, because Firefox knows how to read it: it has a setting called "mousewheel.horizscroll.withnokey.sysnumlines" that you disable when you want to set a custom number of scroll lines in Firefox.

- There is a possible overkill solution called imwheel, which runs as a separate daemon,  -- but I don't like introducing this level of complexity just for a small settings change.

- The older 'mouse' driver still exists, but it doesn't have VertScrollDelta either. Maybe it never did, and this was only ever on synaptics devices... but I do remember having somehow set a "lines-at-a-time" setting from 3 to 7 in my X configuration file (before xorg I think).

...So, is there some way to set the global setting that Firefox calls "sysnumlines"? Or is that small "xwheeldoubler" C program really the best/only solution right now?

~Felix.

Offline

#2 2012-02-13 06:36:41

thetrivialstuff
Member
Registered: 2006-05-10
Posts: 191

Re: Set mouse wheel scrolling speed globally?

OK, upon further digging, I've discovered that this really is impossible unless you speak C/C++. Fortunately, I do.

Here's where one of the Xorg developers says it's categorically impossible due to design decisions:

http://lists.x.org/archives/xorg/2011-D … 53927.html

And here's where somebody disagrees, in the form of a patch to implement scroll wheel acceleration:

http://lists.x.org/archives/xorg-devel/ … 12517.html

That's from a couple years ago and from the looks of things it was never adopted... but it at least tells me where in the source I need to start looking for that pesky value of '3' (Who? Who thought that three lines would be enough?). Edit: whoops. From the code I've read so far, I think that first guy might be right; maybe Xorg doesn't actually know how to scroll at all, and is just passing scroll button presses down to the applications... which would mean that each application has to deal with its own implementation, and there is no one place to change this. Bleh.

(Ugh. I have a sick feeling that one day this thread is going to come back and haunt the Linux community when someone uses it in a Windows vs. Linux debate. "In Windows, you just go into Mouse Properties. Look what *this* guy had to do!")

Last edited by thetrivialstuff (2012-02-13 06:53:00)

Offline

#3 2014-02-24 15:30:27

theking2
Banned
From: Romanshorn Switzerland
Registered: 2009-03-04
Posts: 372

Re: Set mouse wheel scrolling speed globally?

thetrivialstuff wrote:

(Ugh. I have a sick feeling that one day this thread is going to come back and haunt the Linux community when someone uses it in a Windows vs. Linux debate. "In Windows, you just go into Mouse Properties. Look what *this* guy had to do!")

I must admit, it is rather tempting....

http://forums.fedoraforum.org/showthread.php?t=297329


archlinux on a Gigabyte C1037UN-EU, 16GiB
a Promise  PDC40718 based ZFS set
root on a Samsung SSD PB22-J
running LogitechMediaServer(-git), Samba, MiniDLNA, TOR

Offline

#4 2014-02-24 16:02:37

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,196

Re: Set mouse wheel scrolling speed globally?

theking2,
Careful of old threads.  I hope the OP is not still looking for an answer a year later smile


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#5 2014-04-06 19:44:16

thetrivialstuff
Member
Registered: 2006-05-10
Posts: 191

Re: Set mouse wheel scrolling speed globally?

ewaller wrote:

theking2,
Careful of old threads.  I hope the OP is not still looking for an answer a year later smile

Hah -- actually, I am. Or rather, I gave up completely and mostly use page up / page down when I'm on a system with a conventional mouse now.

This still annoys me, but I confess I haven't looked into it in months.

Offline

Board footer

Powered by FluxBB