Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: 17.10: Mouse Wheel Emulation Fails after upgrade

  1. #1
    Join Date
    Oct 2007
    Beans
    16

    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.

  2. #2
    Join Date
    Oct 2007
    Beans
    16

    Re: 17.10: Mouse Wheel Emulation Fails after upgrade

    Okay, solution found

    http://www.russet.org.uk/blog/3181

  3. #3
    Join Date
    Oct 2007
    Beans
    16

    Re: 17.10: Mouse Wheel Emulation Fails after upgrade

    Solution unfound. xinput --list no longer shows the Logitech USB Trackball.

  4. #4
    Join Date
    Feb 2009
    Beans
    5

    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.

  5. #5
    Join Date
    Feb 2009
    Beans
    5

    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...

  6. #6
    Join Date
    Feb 2009
    Beans
    5

    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.
    Last edited by Rhysem; November 1st, 2017 at 04:05 AM.

  7. #7
    Join Date
    Oct 2007
    Beans
    16

    Re: 17.10: Mouse Wheel Emulation Fails after upgrade

    What do you get from "xinput --list"

  8. #8
    Join Date
    Feb 2009
    Beans
    5

    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.

  9. #9
    Join Date
    Oct 2007
    Beans
    16

    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.

  10. #10
    Join Date
    Feb 2009
    Beans
    5

    Re: 17.10: Mouse Wheel Emulation Fails after upgrade

    After you rebooted, did you check you're actually still in a wayland session?

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

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