Step-by-step – Xinput Linux Mint 20 Tutorial

December 16, 2020 | By the+gnu+linux+evangelist | Filed in: Tutorial.

Getting Started

  1. 3. Finding out Device Name

    So to Display Devices List
    Run:

    xinput list

    Select & Copy Device’s Name with Ctrl+x.

    Xinput Linux Mint 20 Tutorial - Devices List

    Or simply take note of the Device’s ID.
    But if No Device Name but “xwayland” on GNOME Wayland then follow the below instructions:

     - Wayland xinput output

    How to Set up Trackball Scroll Wheel Emulation on GNOME Wayland

    Trackball Scroll Wheel Wayland Guide
  2. 4. Setting up Xinput Device Emulation

    Now to Enable Xinput Device Emulation on Mint
    First, to list the available Properties run:

    xinput list-props "[DEVICENAME]"

    Or alternatively:

    xinput list-props [DEVICEID]

    So in this case for instance:

    xinput list-props "Kensington      Kensington Expert Mouse"

    Or else:

    xinput list-props 13
    Xinput Linux Mint 20 Tutorial - Devices List

    Now in this practical Example I show you How to Set up a Trackball Scroll Emulation.
    Next to set up a Trackball Wheel Scroll, first enable it:

    xinput --set-prop "Kensington      Kensington Expert Mouse" "Evdev Wheel Emulation" 1

    And then set the Target But:

    xinput --set-prop "Kensington      Kensington Expert Mouse" "Evdev Wheel Emulation Button" 8

    How to Find the Trackball Button ID

    Find Device Button on Mint
  3. 5. Making Permanent Config

    Last, to make a Permanent Xinput Configuration File
    For a Single User using the nano editor put your Commands into:

    nano ~/.xsessionrc

    Ctrl+x to Save & Exit from nano Editor.
    The the setup should be consistent also after rebooting.

Contents


Tags: , , , , , , , , , , , , , , , , , , , , , ,

QuickChic Theme • Powered by WordPress