Advertisement
timatgca

Untitled

Oct 13th, 2019
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.57 KB | None | 0 0
  1. It is possible to do this with a configuration file on /usr/share/X11/xorg.conf.d/41-libinput-local.conf
  2.  
  3. these contents work for a specific device:
  4.  
  5. Section "InputClass"
  6.         Identifier "Logitech USB Receiver Mouse"
  7.         MatchIsPointer "on"
  8.         MatchDevicePath "/dev/input/event*"
  9.         Driver "libinput"
  10.         Option "ScrollButton" "2"
  11.         Option "ScrollMethod" "button"
  12.         Option "NaturalScrolling" "button"
  13. EndSection
  14.  
  15. It works when the device is hot plugged after the session begins, and it survives during suspend/resume, as reported by Tim.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement