![xinput/libinput 中的“默认”属性有什么用?](https://linux22.com/image/211170/xinput%2Flibinput%20%E4%B8%AD%E7%9A%84%E2%80%9C%E9%BB%98%E8%AE%A4%E2%80%9D%E5%B1%9E%E6%80%A7%E6%9C%89%E4%BB%80%E4%B9%88%E7%94%A8%EF%BC%9F.png)
我想通过调整垂直(两指)滚动速度,xinput
因为我的 DE 设置实用程序不会公开该设置。因此,我跑去xinput --list-props
获取触摸板的可用设置列表。我注意到许多属性本身有 2 个版本:1 个带有默认值,一个没有:
Device '******* Touchpad':
Device Enabled (201): 1
Coordinate Transformation Matrix (203): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
libinput Tapping Enabled (349): 1
libinput Tapping Enabled Default (350): 0
libinput Tapping Drag Enabled (351): 1
libinput Tapping Drag Enabled Default (352): 1
libinput Tapping Drag Lock Enabled (353): 0
libinput Tapping Drag Lock Enabled Default (354): 0
libinput Tapping Button Mapping Enabled (355): 1, 0
libinput Tapping Button Mapping Default (356): 1, 0
libinput Natural Scrolling Enabled (328): 1
libinput Natural Scrolling Enabled Default (329): 0
libinput Disable While Typing Enabled (357): 1
libinput Disable While Typing Enabled Default (358): 1
libinput Scroll Methods Available (330): 1, 1, 0
libinput Scroll Method Enabled (331): 1, 0, 0
libinput Scroll Method Enabled Default (332): 1, 0, 0
libinput Click Methods Available (359): 1, 1
libinput Click Method Enabled (360): 1, 0
libinput Click Method Enabled Default (361): 1, 0
libinput Middle Emulation Enabled (362): 0
libinput Middle Emulation Enabled Default (363): 0
libinput Accel Speed (337): 0.000000
libinput Accel Speed Default (338): 0.000000
libinput Accel Profiles Available (339): 1, 1
libinput Accel Profile Enabled (340): 1, 0
libinput Accel Profile Enabled Default (341): 1, 0
libinput Left Handed Enabled (342): 0
libinput Left Handed Enabled Default (343): 0
libinput Send Events Modes Available (313): 1, 1
libinput Send Events Mode Enabled (314): 0, 0
libinput Send Events Mode Enabled Default (315): 0, 0
Device Node (316): "/dev/input/event16"
Device Product ID (317): 1267, 12491
libinput Drag Lock Buttons (344): <no items>
libinput Horizontal Scroll Enabled (345): 1
libinput Scrolling Pixel Distance (346): 30
libinput Scrolling Pixel Distance Default (347): 15
libinput High Resolution Wheel Scroll Enabled (348): 1
正如名称所示,默认值是否在重新启动后仍然存在并填充其非默认对应项?
我查看了https://wiki.archlinux.org/title/Xinput
xinput 的手册页,但没有注意到我的问题的答案。