Results 1 to 4 of 4

Thread: 17.04: Mouse Wheel Scroll Emulation failed after upgrade

  1. #1
    Join Date
    Oct 2007
    Beans
    17

    17.04: Mouse Wheel Scroll Emulation failed after upgrade

    I am a long term use of a Logitech Marble Mouse. For the last few releases I have been using this code to get scroll wheel emulation:

    xinput set-button-map "Logitech USB Trackball" 1 2 3 4 5 6 7 8 9
    xinput set-int-prop "Logitech USB Trackball" "Evdev Wheel Emulation Button" 8 8
    xinput set-int-prop "Logitech USB Trackball" "Evdev Wheel Emulation" 8 1
    xinput set-int-prop "Logitech USB Trackball" "Evdev Wheel Emulation Axes" 8 6 7 4 5
    xinput set-int-prop "Logitech USB Trackball" "Evdev Wheel Emulation X Axis" 8 6
    xinput set-int-prop "Logitech USB Trackball" "Evdev Drag Lock Buttons" 8 9


    After upgrading to 17.04 this seems to have become totally non-functional. Firefox interprets the clicks as back, everything else just ignores them. Scroll fails regardless.

    Any help would be gratefully recieved.

  2. #2
    Join Date
    Oct 2007
    Beans
    17

    Re: 17.04: Mouse Wheel Scroll Emulation failed after upgrade

    Okay, so this seems to be a problem with evdev.

    https://bugs.launchpad.net/ubuntu/+s...g/+bug/1683435

    Notes the same problem.

    While this bug

    https://bugs.launchpad.net/ubuntu/+s...193/comments/7

    suggests that a related bug is caused by evdev moving to universe and libinput is being used instead.

  3. #3
    Join Date
    Oct 2007
    Beans
    17

    Re: 17.04: Mouse Wheel Scroll Emulation failed after upgrade


  4. #4
    Join Date
    Mar 2009
    Beans
    19

    Re: 17.04: Mouse Wheel Scroll Emulation failed after upgrade

    Thanks for the reply, that was very useful.
    The website you linked is down, but managed to find it in : http://web.archive.org

    So to summarize :
    Find your mouse using :
    xinput --list
    And get the list of properties :
    xinput --list-props ##
    where ## is the number from the previous command. You need to find the line which says :
    libinput Button Scrolling Button (###). where ### is a new number

    You should then be able to activate scrolling using:
    xinput set-prop ## ### 8
    You should now have scrolling.

    The auther further recommends :
    xinput --set-prop --type=int --format=8 "Logitech USB Trackball" "libinput Scroll Button" 8
    Where he used the name of the mouse as "logitech USB trackball", but i was never able to get this to work, even when adjusting for my mouse.

    I ended up using:
    xinput set-prop "PS2++ Logitech TrackMan" `xinput --list-props "PS2++ Logitech TrackMan"|grep "Button Scrolling Button"|head -n 1|awk -F '[)(]' '{print $2}'` 8
    Hope this helps others.

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
  •