Commit 100eb9d9bfa58d55db76a10eaa32da16d1e659d5
1 parent
4a0de590
Fixed README
Showing
1 changed file
with
2 additions
and
2 deletions
README.md
1 | 1 | To automatically run the program on device plug in or plug out events, add this to `udev` rules: |
2 | 2 | |
3 | 3 | ``` |
4 | -ACTION=="add", ATTRS{bInterfaceClass}=="03", ENV{DISPLAY}=":0.0" RUN+="/bin/su - imanol -c /usr/local/bin/touchpad_disabler" | |
5 | -ACTION=="remove", ENV{DISPLAY}=":0.0" RUN+="/bin/su - imanol -c /usr/local/bin/touchpad_disabler" | |
4 | +ACTION=="add", ATTRS{bInterfaceClass}=="03", ENV{DISPLAY}=":0.0" RUN+="/bin/su - <YOUR USER HERE> -c /usr/local/bin/touchpad_disabler" | |
5 | +ACTION=="remove", ENV{DISPLAY}=":0.0" RUN+="/bin/su - <YOUR USER HERE> -c /usr/local/bin/touchpad_disabler" | |
6 | 6 | ``` |
7 | 7 | \ No newline at end of file | ... | ... |