在 Fedora 25 上,xinput
识别输入设备的属性似乎存在问题。
根据ThinkWiki,这应该有效:
$ xinput set-prop "TPPS/2 IBM TrackPoint" "Device Accel Profile" 2
property 'Device Accel Profile' doesn't exist, you need to specify its type and format
查看下面“设置”部分中的输出,似乎属性已重命名。不幸的是,使用新的属性名称会产生相同的结果:
$ xinput set-prop "TPPS/2 IBM TrackPoint" "Accel Speed" 0.75
property 'Accel Speed' doesn't exist, you need to specify its type and format
我还尝试使用该设备id
并指定 - 相同的结果。--type
--format
设置
Fedora 25、Xorg(不是 Wayland)、i3wm、Thinkpad TrackPoint ( TPPS/2 IBM TrackPoint
)
$ xinput list
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ TPPS/2 IBM TrackPoint id=10 [slave pointer (2)]
...
$ xinput list-props 'TPPS/2 IBM TrackPoint'
Device 'TPPS/2 IBM TrackPoint':
Device Enabled (139): 1
Coordinate Transformation Matrix (141): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
libinput Accel Speed (276): 0.000000
libinput Accel Speed Default (277): 0.000000
libinput Accel Profiles Available (278): 1, 1
libinput Accel Profile Enabled (279): 1, 0
...