Skip to content

Instantly share code, notes, and snippets.

@waltervargas
Last active July 31, 2020 10:15
Show Gist options
  • Star 7 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save waltervargas/93178b2ac341a1a11d254fe97a2e798c to your computer and use it in GitHub Desktop.
Save waltervargas/93178b2ac341a1a11d254fe97a2e798c to your computer and use it in GitHub Desktop.
Dell Precision 5510 with Ubuntu 16.04.2 and libinput to fix the mouse at times is a bit jumpy
  • Install the packages

    sudo apt-get install libinput-tools xserver-xorg-input-libinput
    
  • Identify the touchpad device with

    sudo /usr/bin/libinput-list-devices
    ...
    Device:           DLL06E5:01 06CB:7A13 Touchpad
    Kernel:           /dev/input/event16
    Group:            8
    Seat:             seat0, default
    Size:             102.33x77.33mm
    Capabilities:     pointer 
    Tap-to-click:     disabled
    Tap-and-drag:     enabled
    Tap drag lock:    disabled
    Left-handed:      disabled
    Nat.scrolling:    disabled
    Middle emulation: n/a
    Calibration:      n/a
    Scroll methods:   *two-finger edge 
    Click methods:    *button-areas clickfinger 
    Disable-w-typing: enabled
    Accel profiles:   none
    ...
    
  • Add the configuration settings to file /usr/share/X11/xorg.conf.d/90-libinput.conf

    Section "InputClass"
            Identifier "DLL06E5:01 06CB:7A13 Touchpad"
            MatchIsTouchpad "on"
            MatchDevicePath "/dev/input/event16"
            Option "Tapping" "True"
            Option "TappingDrag" "True"
            Option "DisableWhileTyping" "True"
            Driver "libinput"
    EndSection
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment