Создаем файл /etc/udev/rules.d/10-local.rules
в нем пишем
ACTION=="add", SUBSYSTEM=="input", ID_CLASS="mouse", RUN+="/usr/bin/synclient touchpadoff=1" ACTION=="remove", SUBSYSTEM=="input", ID_CLASS="mouse", RUN+="/usr/bin/synclient touchpadoff=0"
Voila!
0 коммент.:
Отправить комментарий