Skip to content

Create udev rule for mouse to disable touchpad onplug #97

@dminca

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:

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