Конфигурирование двух сенсорных панелей с помощью `synclient`

440
kirelagin

У меня подключены две сенсорные панели: одна, встроенная в мой ноутбук, и трекпад Apple Magic. Я хочу настроить некоторые параметры Magic Trackpad ( MinSpeed, MaxSpeedи т. Д.), И проблема в том, что synclientнастройки встроенного тачпада не влияют на Magic Trackpad.

Иногда он неожиданно начинает влиять на Magic Trackpad, а не на встроенный ноутбук (думаю, это произошло, когда я подключил Magic Trackpad после запуска X, но я не уверен).

В любом случае, есть ли способ достоверно определить, synclientкакую сенсорную панель настроить?

2

1 ответ на вопрос

2
grawity

Recent versions of xf86-input-synaptics are configured through XInput2 properties, and synclient just emulates the old interface on top of that. (I think it just picks the first compatible device it can find.) Therefore you can use xinput instead:

$ xinput list-props "ETPS/2 Elantech Touchpad" 
$ xinput set-prop "ETPS/2 Elantech Touchpad" "Synaptics Tap Time" 180 

In case of identical device names, specify the numeric device ID instead.

Note that Xorg will soon migrate from the evdev+synaptics drivers to xf86-input-libinput, which is configurable only through XInput2 (and has slightly fewer settings, by the way).

$ xinput set-prop 11 "libinput Accel Speed" 1.0 

Похожие вопросы