-
Notifications
You must be signed in to change notification settings - Fork 411
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Smooth scrolling absurdly fast for Performance MX #158
Comments
alexskc is right, I had to turn the smooth-scrolling off. In gnome shell it tokk about 3-4 movements with the scroll-wheel to change the system volume level from 0% to 100%, this is definitely too sensitive. |
I have to agree with the 2 previous comments :) |
What about using changing the mouse scrolling speed with from the system settings? SetPoint under Windows does not configure the mouse hardware directly for controlling scrolling speed. I've an Anywhere MX here which seems to advertise a Smooth Scrolling option in Solaar (which is not prevent in the Setpoint UI though). |
This isn't really a problem with Solaar, but more a problem with GTK. When the mouse is in smooth scroll mode it sends about ten "scroll down" events for every step of the mouse. GTK needs to be reconfigured to interpret each scroll event as a smaller unit of distance. |
I have been tweaking xserver-xorg-input-evdev and have managed to add an xinput option to change the number of steps in one whole scroll - |
I've made an Ubuntu PPA containing evdev 2.9.0 - with this PPA you can use xinput to change the scroll sensitivity:
This version of evdev will hopefully be present in Ubuntu 14.10 and with this version it would be possible to add a scroll sensitivity slider to Solaar. |
@w-shackleton I tried your PPA and the command you mentioned, and it works perfectly! Thank you very much, now my Performance Mouse MX is awesome again. |
Currently working on getting smooth scrolling working properly as it does in the windows implementation (smooth when wheel in smooth mode, non-smooth otherwise) |
I'm using a PerformanceMouse MX. I added the PPA above and installed |
This is working now. I just had to log out and log back in. |
This also worked in Debian 8:
xinput (shows my mouse as device #13) Scrolling now works at expected usable speeds. |
FWIW |
How to do that on wayland? |
Works perfect to me as well (Kubuntu 15.04). Thank you! |
Any news on this? What do I do wrong? |
Lots of programs don't support updating smooth scrolling on the fly - try closing and re-opening Dolphin. The X server doesn't remember parameters like that - you'll need to get that command to run every time you log in. |
Ah, thanks for answering. |
That works great with Qt5 applications too. Still wish the solaar commands would make it into either xinput or the kernel though |
So the real place to solve this would be in the kernel / in X11 (I'm not quite sure which one). This is something I'd like to do at some point, time permitting. Basically, this mouse has a mode (incorrectly labelled "side scrolling" in Solaar) that switches it into "I'm being controlled by a Logitech driver, not just a mouse driver" mode (the off setting in Solaar). In this mode the mouse gives more raw outputs rather than those a normal mouse would. The main difference is that the scroll wheel lock switch gets reported as a mouse button. This allows the driver to determine if it is in smooth or clicky mode. The other difference is that in smooth scrolling mode (ie. the smooth scrolling switch in Solaar) the left/right side scrolling outputs output really, really fast. Such a Linux driver could enable the smooth scrolling flag on the mouse if and only if the hardware scroll lock is disabled. In this mode it could then adjust the xinput2 scroll rate (currently set using This is something I'd love to have a go at writing but I'm currently far too busy with university. Perhaps I'll have a stab over the summer (when I might buy an MX master too). |
Correct. And I think this really needs to be relabelled. (It can also break left-clicking when the mode is enabled and the wheel clutch disengaged. No idea what's happening there)
This would be a great feature to have! Sometimes it's the little things that subtly improve the experience and feel of software :) For a good reference, you could have a look at the (currently not yet merged) patch that enables smooth scrolling for Evdev's wheel emulation: https://lists.x.org/archives/xorg-devel/2014-January/039892.html Do Logitech mice use evdev? I don't really know how to check. |
Smooth scrolling on Linux seems to have become my life mission.. I've recently got code accepted into Chromium to support it too. |
Check out the add-on Smoothwheel. It works in Thunderbird and Firefox. Makes your scroll wheel nice and smooth. Cheers, Al |
@strelec Not sure if you're still looking for a wayland solution but here's mine which also works with the libinput driver for X11 on the M705:
|
Is this solved? I still get steppy scrolling everywhere with "Wheel Resolution" enabled, and still an absurd sensitivity, even a middle click in a link is pretty much impossible. I'm using Fedora 28, Xorg. |
I don't think there's any mechanism in udev/libinput to automatically detect the wheel resolution state and adjust |
It seems libinput does not yet have the API to change https://bugs.freedesktop.org/show_bug.cgi?id=92772 I doubt they will be implemented anytime soon. Maybe a new freedesktop bug should be opened, as this one is closed already. |
@hyperair I've tried your solution with no success
and also tried to match with
and
|
@RomuloPBenedetti The hwdb lookup happens in two places:
Check what name you should be using by looking for the name field in the output of
In my case, it's also in
After that, you need to update the hwdb:
Then disconnect and reconnect the device and verify that the attribute has been successfully added:
|
On ubuntu 18.04 I already have xserver-xorg-input-evdev but can't get access to the evdev value. solarr is great but i can't really use my scroll wheel grr.. 0 upgraded, 0 newly installed, 0 to remove and 7 not upgraded. |
You're using libinput, not evdev (note all the libinput properties). You'll need to do some udev tweaks like I described in #158 (comment) and #158 (comment) |
For those like me wondering why this doesn't work out of the box when touchpads already have smooth scrolling, here is what seems to be the proper solution, still pending in libinput: https://gitlab.freedesktop.org/libinput/libinput/merge_requests/139 |
It looks to me as if this enhancement request is out of scope for Solaar. |
@hyperair Hi! I can't get this to work on Fedora 31.
But the mouse scrolling speed is still very fast. Do you have any ideas? |
@markonius Try upgrading your kernel and libinput -- the kernel now reports the scroll tick multiplier (you can see it in Edit: I was wrong about Edit2: I think smooth scrolling is broken for now and we need to wait for https://gitlab.freedesktop.org/libinput/libinput/-/merge_requests/139 |
@hyperair Thanks for your efforts! |
Closing as out of scope |
I just spent hours trying to fix this and turned the mouse off and back on and it worked. |
See Known Issues in https://github.com/pwr-Solaar/Solaar |
Right now, the option to use Logitech's Stepless/Smooth scrolling is available in Solaar, but it's not particularly useful because everything scrolls at an unusably fast speed.
An ideal solution would probably be to let the user set scroll sensitivity.
The text was updated successfully, but these errors were encountered: