[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#823777: libinput10: Scroll wheel emulation is on by default, with no apparent way to turn it off



Package: libinput10
Version: 1.2.4-1
Severity: normal
Tags: upstream

My system is a Thinkpad with a trackpoint device. I updated my X server using
apt, and when I tried using Blender I discovered I could no longer use my
middle mouse button as such. Scroll wheel events were being generated instead.

I was unable to find anything in /usr/share/X11/xorg.conf.d that was activating
scroll wheel emulation, and my efforts to disable scroll wheel emulation using
xorg.conf.d (by adding 'Option "EmulateWheel" "off"' to various files where
pointer device classes were being set up) failed to be effective.

>From an online search for the problem it seems that this is a design choice
built into libinput. Apparently it can be disabled by running xinput but not
permanently via configuration files. From the libinput docs on "Scrolling":

"On-button scrolling is enabled by default for pointing sticks. This prevents
middle-button dragging; all motion events while the middle button is down are
converted to scroll events."

It can be disabled by this call to xinput:
xinput --set-prop 'TPPS/2 IBM TrackPoint' 'libinput Button Scrolling Button' 0

Placing that call in .xsessionrc solves the immediate problem and allows me to
use Blender effectively on my laptop again. But I'd like this setting to be
system-wide. I recognize that for many users, having middle-button scroll wheel
emulation is probably way more useful than a middle mouse button, but for me
the opposite is true. Whatever default is chosen, this should be configurable
at the system level and visible in xorg.conf.d.



-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.5.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages libinput10 depends on:
ii  libc6      2.22-7
ii  libevdev2  1.4.6+dfsg-1
ii  libmtdev1  1.1.5-1
ii  libudev1   229-5
ii  libwacom2  0.18-1

libinput10 recommends no packages.

libinput10 suggests no packages.

-- no debconf information


Reply to: