tumanovalex Posted June 2, 2012 Report Share Posted June 2, 2012 Подскажите, пожалуйста как сделать так, чтобы при подлючении USB мыши автоматически отключался тачпад Quote Link to comment Share on other sites More sharing options...
NetMould Posted June 7, 2012 Report Share Posted June 7, 2012 Для достижения этого, просто добавьте следующее правило udev: 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" Поместите это в /etc/udev/rules.d/01-touchpad.rules, убедитесь что опция SHMConfig включена. Quote Link to comment Share on other sites More sharing options...
tumanovalex Posted June 16, 2012 Author Report Share Posted June 16, 2012 Файла 01-touchpad.rules не обнаружил, вообще директория оказалась пустая. Создал этот файл, внес туда указанные строки. А где нужно включить опцию SHMConfig? Quote Link to comment Share on other sites More sharing options...
NetMould Posted June 30, 2012 Report Share Posted June 30, 2012 tumanovalex писал(а) Сбт, 16 Июнь 2012 15:05 Файла 01-touchpad.rules не обнаружил, вообще директория оказалась пустая. Создал этот файл, внес туда указанные строки. А где нужно включить опцию SHMConfig? Всё правильно, файла 01-touchpad.rules изначально нет. Его нужно создать. Затем включить опцию SHMConfig в конфиге /etc/X11/xorg.conf.d/10-synaptics.conf Section "InputClass" Identifier "touchpad catchall" Driver "synaptics" MatchIsTouchpad "on" MatchDevicePath "/dev/input/event*" Option "TapButton1" "1" Option "TapButton2" "2" Option "TapButton3" "3" Option "SHMConfig" "true" # <<== SHMConfig enabledEndSection Если что, в wiki ArchLinux есть и другие примеры дополнительных настроек для тачпада - включение скроллинга, обработка нажатий в углах для эмуляции кнопок и т.п. Quote Link to comment Share on other sites More sharing options...
tumanovalex Posted July 1, 2012 Author Report Share Posted July 1, 2012 Спасибо большое за подробный ответ Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.