Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • X xf86-input-libinput
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 10
    • Issues 10
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 3
    • Merge requests 3
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • xorg
  • driver
  • xf86-input-libinput
  • Issues
  • #43

Closed
Open
Created Dec 04, 2021 by Connor Willison@cwilliso813

MiddleEmulation property cannot be set by Xorg conf in xf86-input-libinput 1.2.0-2

I use a trackball mouse (Kensington USB Orbit), which does not have a scroll wheel. I rely on Middle Emulation to scroll by holding both mouse buttons. Earlier this year (est. May 2021) I noticed Middle Emulation had stopped working on my system. I looked into it recently and found that although I can set the "libinput Middle Emulation Enabled" property to true using:

xinput set-prop "Kensington USB Orbit" "libinput Middle Emulation Enabled" "1"

the property is not being set on startup. I have a 10-libinput.conf which has worked for me in the past. Note the line:

Option       "MiddleEmulation" "true"

I looked at my .local/share/xorg/Xorg.1.log Xorg.1.log and found that the property is being read and recognized on startup of the system:

[    16.196] (**) Option "MiddleEmulation" "true"

So, I believe there is a problem with how MiddleEmulation is being set in libinput, after it is read out of an Xorg conf. The feature is functional when I manually enable it using xinput, so the issue is isolated to the read from the configuration file on startup.

Included a dump of xinput list-props for my device if that's helpful: list-props.txt

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking