17.10: Mouse Wheel Emulation Fails after upgrade
I have just upgrade a desktop machine from to Ubuntu 17.10. Unfortunately, this has broken the mouse wheel emulation of my Logitech MarbleMouse. I am using the follow to configure it./
xinput --set-prop "Logitech USB Trackball" "libinput Button Scrolling Button" 8
If this seems like deja vu, it's because the upgrade from 17.04 also broke the marble mouse but in a different way.
https://ubuntuforums.org/showthread.php?t=2360977
Any help welcome.
Re: 17.10: Mouse Wheel Emulation Fails after upgrade
Re: 17.10: Mouse Wheel Emulation Fails after upgrade
Solution unfound. xinput --list no longer shows the Logitech USB Trackball.
Re: 17.10: Mouse Wheel Emulation Fails after upgrade
It was working fine for me under the wayland/gnome3 session ... if by fine you mean "only using the left small button." Unfortunately I'm a leftie, so I need it to use the right small button when I have the "left handed mouse" set, and it doesn't.
My "solution" was to fallback to X/gnome3, in which case your old config should work out of the box. Also, the trackball shows up as "Logitech USB Trackball" once you do, so all the usual commands, such as your link, work.
What you do when they drop X in 18.04 (or whenever that happens) though... I don't know.
Re: 17.10: Mouse Wheel Emulation Fails after upgrade
Looks like between:
https://github.com/GNOME/mutter/blob...gs.c#L713-L750
and
https://github.com/GNOME/gsettings-d...ma.xml.in#L173
this shouldn't be difficult. That said I'm currently in X, not Wayland, so I can't test it...
Re: 17.10: Mouse Wheel Emulation Fails after upgrade
So I don't know why it started working, I'd previously tried setting this but...
% gsettings list-keys org.gnome.desktop.peripherals.trackball
scroll-wheel-emulation-button
accel-profile
% gsettings get org.gnome.desktop.peripherals.trackball scroll-wheel-emulation-button
9
... and the right side mini button scrolls. Unfortunately clicking them does forward and back and I'm not sure I like that but hey its a start!
It *might* be it only takes effect at login. That'd explain it, but I don't know that I like that explanation.
Edit: Nope, this box launched xorg, not wayland even after picking a non "on Xorg" session. Not sure what's up.
Re: 17.10: Mouse Wheel Emulation Fails after upgrade
What do you get from "xinput --list"
Re: 17.10: Mouse Wheel Emulation Fails after upgrade
At the moment, useful output because I am running under X.
% xinput
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ Microsoft Natural® Ergonomic Keyboard 4000 id=10 [slave pointer (2)]
⎜ ↳ Logitech USB Trackball 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)]
↳ Video Bus id=7 [slave keyboard (3)]
↳ Power Button id=8 [slave keyboard (3)]
↳ Microsoft Natural® Ergonomic Keyboard 4000 id=9 [slave keyboard (3)]
↳ Microsoft Natural® Ergonomic Keyboard 4000 id=12 [slave keyboard (3)]
Not sure why switching off the gnome (xorg) isn't working for me, but it isn't. Probably won't have time to play with it for a while unfortunately.
Re: 17.10: Mouse Wheel Emulation Fails after upgrade
Yep, wayland does not seem to give useful information.
Now, here is the surprising thing. Suddenly it's started working. I *think* this is because I tried
gsettings set org.gnome.desktop.peripherals.trackball scroll-wheel-emulation-button 8
which appeared to have no effect what so ever. Then I rebooted. Now it's working. Cause-and-effect here are not clear, though, so take this with a pinch of salt.
Re: 17.10: Mouse Wheel Emulation Fails after upgrade
After you rebooted, did you check you're actually still in a wayland session?