Skip to content

Create udev rule for mouse to disable touchpad onplug #97

Description

@dminca

Trigger udev rule to disable touchpad when plugging mouse

ACTION=="add", ATTRS{idVendor}=="093A", ATTRS{idProduct}=="2510", RUN+="/usr/bin/xinput disable 'ETPS/2 Elantech Touchpad'"
ACTION=="remove", ATTRS{idVendor}=="093A", ATTRS{idProduct}=="2510", RUN+="/usr/bin/xinput enable 'ETPS/2 Elantech Touchpad'"

Resources:

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions