xfce4-mouse-settings does not work if several devices have the same name
When there are multiple input devices with the same name, it is impossible to change setting for device other than the first.
On my "HP EliteBook 845 G8 Notebook PC" SKU Number: 401N7EA#B1R "xinput list" shows:
# xinput list
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ Logitech Wireless Keyboard PID:4023 id=12 [slave pointer (2)]
⎜ ↳ Logitech Wireless Mouse PID:4038 id=13 [slave pointer (2)]
⎜ ↳ SYNA30D2:00 06CB:CE08 id=15 [slave pointer (2)]
⎜ ↳ SYNA30D2:00 06CB:CE08 id=16 [slave pointer (2)]
⎜ ↳ SYNA30D2:00 06CB:CE08 id=14 [slave pointer (2)]
⎣ Virtual core keyboard id=3 [master keyboard (2)]
↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)]
↳ Power Button id=6 [slave keyboard (3)]
↳ Video Bus id=7 [slave keyboard (3)]
↳ Power Button id=8 [slave keyboard (3)]
↳ Sleep Button id=9 [slave keyboard (3)]
↳ HP HD Camera: HP HD Camera id=10 [slave keyboard (3)]
↳ HP HD Camera: HP IR Camera id=11 [slave keyboard (3)]
↳ AT Translated Set 2 keyboard id=17 [slave keyboard (3)]
↳ Wireless hotkeys id=18 [slave keyboard (3)]
↳ HP WMI hotkeys id=19 [slave keyboard (3)]
↳ Logitech Wireless Keyboard PID:4023 id=20 [slave keyboard (3)]
There are 3 pointer devices with duplicate name "SYNA30D2:00 06CB:CE08". Their properties:
# xinput list-props 14
Device 'SYNA30D2:00 06CB:CE08':
Device Enabled (164): 0
Coordinate Transformation Matrix (166): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
libinput Natural Scrolling Enabled (301): 0
libinput Natural Scrolling Enabled Default (302): 0
libinput Scroll Methods Available (306): 0, 0, 1
libinput Scroll Method Enabled (307): 0, 0, 1
libinput Scroll Method Enabled Default (308): 0, 0, 1
libinput Button Scrolling Button (309): 3
libinput Button Scrolling Button Default (310): 3
libinput Button Scrolling Button Lock Enabled (311): 0
libinput Button Scrolling Button Lock Enabled Default (312): 0
libinput Accel Speed (315): 0.000000
libinput Accel Speed Default (316): 0.000000
libinput Accel Profiles Available (317): 1, 1
libinput Accel Profile Enabled (318): 1, 0
libinput Accel Profile Enabled Default (319): 1, 0
libinput Left Handed Enabled (320): 0
libinput Left Handed Enabled Default (321): 0
libinput Send Events Modes Available (286): 1, 0
libinput Send Events Mode Enabled (287): 0, 0
libinput Send Events Mode Enabled Default (288): 0, 0
Device Node (289): "/dev/input/event5"
Device Product ID (290): 1739, 52744
libinput Drag Lock Buttons (303): <no items>
libinput Horizontal Scroll Enabled (304): 1
libinput Scrolling Pixel Distance (322): 15
libinput Scrolling Pixel Distance Default (323): 15
libinput High Resolution Wheel Scroll Enabled (305): 1
# xinput list-props 15
Device 'SYNA30D2:00 06CB:CE08':
Device Enabled (164): 1
Coordinate Transformation Matrix (166): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
libinput Natural Scrolling Enabled (301): 0
libinput Natural Scrolling Enabled Default (302): 0
libinput Scroll Methods Available (306): 0, 0, 1
libinput Scroll Method Enabled (307): 0, 0, 1
libinput Scroll Method Enabled Default (308): 0, 0, 1
libinput Button Scrolling Button (309): 2
libinput Button Scrolling Button Default (310): 2
libinput Button Scrolling Button Lock Enabled (311): 0
libinput Button Scrolling Button Lock Enabled Default (312): 0
libinput Middle Emulation Enabled (313): 1
libinput Middle Emulation Enabled Default (314): 0
libinput Accel Speed (315): 0.000000
libinput Accel Speed Default (316): 0.000000
libinput Accel Profiles Available (317): 1, 1
libinput Accel Profile Enabled (318): 1, 0
libinput Accel Profile Enabled Default (319): 1, 0
libinput Left Handed Enabled (320): 0
libinput Left Handed Enabled Default (321): 0
libinput Send Events Modes Available (286): 1, 0
libinput Send Events Mode Enabled (287): 0, 0
libinput Send Events Mode Enabled Default (288): 0, 0
Device Node (289): "/dev/input/event6"
Device Product ID (290): 1739, 52744
libinput Drag Lock Buttons (303): <no items>
libinput Horizontal Scroll Enabled (304): 1
libinput Scrolling Pixel Distance (322): 15
libinput Scrolling Pixel Distance Default (323): 15
libinput High Resolution Wheel Scroll Enabled (305): 1
# xinput list-props 16
Device 'SYNA30D2:00 06CB:CE08':
Device Enabled (164): 1
Coordinate Transformation Matrix (166): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
Device Accel Profile (297): 1
Device Accel Constant Deceleration (298): 2.500000
Device Accel Adaptive Deceleration (299): 1.000000
Device Accel Velocity Scaling (300): 12.500000
Synaptics Edges (325): 50, 1222, 36, 636
Synaptics Finger (326): 25, 30, 0
Synaptics Tap Time (327): 180
Synaptics Tap Move (328): 63
Synaptics Tap Durations (329): 180, 180, 100
Synaptics ClickPad (330): 1
Synaptics Middle Button Timeout (331): 0
Synaptics Two-Finger Pressure (332): 282
Synaptics Two-Finger Width (333): 7
Synaptics Scrolling Distance (334): 28, 28
Synaptics Edge Scrolling (335): 0, 0, 0
Synaptics Two-Finger Scrolling (336): 1, 0
Synaptics Move Speed (337): 1.000000, 1.750000, 0.139082, 0.000000
Synaptics Off (338): 0
Synaptics Locked Drags (339): 0
Synaptics Locked Drags Timeout (340): 5000
Synaptics Tap Action (341): 0, 0, 0, 0, 1, 0, 0
Synaptics Click Action (342): 1, 3, 2
Synaptics Circular Scrolling (343): 0
Synaptics Circular Scrolling Distance (344): 0.100000
Synaptics Circular Scrolling Trigger (345): 0
Synaptics Circular Pad (346): 0
Synaptics Palm Detection (347): 0
Synaptics Palm Dimensions (348): 10, 200
Synaptics Coasting Speed (349): 20.000000, 50.000000
Synaptics Pressure Motion (350): 30, 160
Synaptics Pressure Motion Factor (351): 1.000000, 1.000000
Synaptics Grab Event Device (352): 0
Synaptics Gestures (353): 1
Synaptics Capabilities (354): 1, 0, 0, 1, 1, 0, 0
Synaptics Pad Resolution (355): 12, 12
Synaptics Area (356): 0, 0, 0, 0
Synaptics Soft Button Areas (357): 636, 0, 551, 0, 0, 0, 0, 0
Synaptics Noise Cancellation (358): 7, 7
Device Product ID (290): 1739, 52744
Device Node (289): "/dev/input/event7"
Instead of xfce4-mouse-settings I had to use:
$ xinput set-prop 16 "Synaptics Tap Action" 0 0 0 0 1 0 0
To enable "Tap touchpad to click". Otherwise the change was ignored.
$ rpm -q xfce4-settings
xfce4-settings-4.16.2-3.fc36.x86_64
$ cat /etc/os-release
NAME="Fedora Linux"
VERSION="36 (Xfce)"
ID=fedora
VERSION_ID=36
VERSION_CODENAME=""
PLATFORM_ID="platform:f36"
PRETTY_NAME="Fedora Linux 36 (Xfce)"
ANSI_COLOR="0;38;2;60;110;180"
LOGO=fedora-logo-icon
CPE_NAME="cpe:/o:fedoraproject:fedora:36"
HOME_URL="https://fedoraproject.org/"
DOCUMENTATION_URL="https://docs.fedoraproject.org/en-US/fedora/f36/system-administrators-guide/"
SUPPORT_URL="https://ask.fedoraproject.org/"
BUG_REPORT_URL="https://bugzilla.redhat.com/"
REDHAT_BUGZILLA_PRODUCT="Fedora"
REDHAT_BUGZILLA_PRODUCT_VERSION=36
REDHAT_SUPPORT_PRODUCT="Fedora"
REDHAT_SUPPORT_PRODUCT_VERSION=36
PRIVACY_POLICY_URL="https://fedoraproject.org/wiki/Legal:PrivacyPolicy"
VARIANT="Xfce"
VARIANT_ID=xfce
I suspect that xfce4-mouse-settings assumes that device names are unique. Unfortunately it seems that only device ids are. I don't know if those ids survive reboot, connecting new devices etc. I don't know how to identify a device good way.