首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >如何在Ubuntu20.04上配置Thinkpad TrackPoint密钥II

如何在Ubuntu20.04上配置Thinkpad TrackPoint密钥II
EN

Ask Ubuntu用户
提问于 2020-11-18 03:46:26
回答 1查看 1.5K关注 0票数 4

如何在Ubuntu20.04上更改Thinkpad TrackPoint Keybroad的TrackPoint灵敏度和速度设置?在Ubuntu16.04,它是很容易设置与xinput set-prop "pointer:Lenovo TrackPoint Keyboard II" "Device Accel Constant Deceleration" 0.3。但是,在Ubuntu20.04上,属性"Device Accel Constant Deceleration"不存在。我已经设置了"libinput Accel Speed" 1,但是跟踪点仍然太慢,很难使用。对于配置etc/xorg.conf.d,我无法登录到桌面。请你给我一些建议,把航迹点的速度定得更快些。

以下是这些属性:

$xinput list-props 18

代码语言:javascript
复制
Device 'TrackPoint Keyboard II Mouse':
Device Enabled (168):   1
Coordinate Transformation Matrix (170): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
libinput Natural Scrolling Enabled (303):   0
libinput Natural Scrolling Enabled Default (304):   0
libinput Scroll Methods Available (305):    0, 0, 1
libinput Scroll Method Enabled (306):   0, 0, 0
libinput Scroll Method Enabled Default (307):   0, 0, 0
libinput Button Scrolling Button (308): 2
libinput Button Scrolling Button Default (309): 2
libinput Middle Emulation Enabled (332):    0
libinput Middle Emulation Enabled Default (333):    0
libinput Accel Speed (310): 1.000000
libinput Accel Speed Default (311): 0.000000
libinput Accel Profiles Available (312):    1, 1
libinput Accel Profile Enabled (313):   1, 0
libinput Accel Profile Enabled Default (314):   1, 0
libinput Left Handed Enabled (315): 0
libinput Left Handed Enabled Default (316): 0
libinput Send Events Modes Available (288): 1, 0
libinput Send Events Mode Enabled (289):    0, 0
libinput Send Events Mode Enabled Default (290):    0, 0
Device Node (291):  "/dev/input/event18"
Device Product ID (292):    6127, 24801
libinput Drag Lock Buttons (317):   <no items>
libinput Horizontal Scroll Enabled (318):   1
EN

回答 1

Ask Ubuntu用户

发布于 2021-09-07 14:28:14

我编写了一个小型python工具,目的是模仿windows驱动程序/工具。它还允许您设置指针速度/灵敏度。(目前只使用2.4GHzusb-dongle进行测试):https://github.com/telecastr/tp2ctl

编辑09/09/2021:

TL/DR:联想跟踪点II中的跟踪点似乎模仿了“标准HID鼠标”。若要影响跟踪点的灵敏度,必须更改键盘内“模拟器”的配置。因此,插入键盘后,运行tp2ctl -s 8命令键盘为跟踪点设置更高的灵敏度。

据我所知(我不是udev/libinput方面的专家),与内部的TPPS/2 IBM Trackpoint-Trackpoint设备相反,Lenovo Keyboard II Mouse to udev更像是一个普通的鼠标而不是一个跟踪点。例如,在我的机器上返回一个grep -e "TrackPoint" /var/log/Xorg.0.log | awk '/is tagged by udev/'

代码语言:javascript
复制
(...)
[     3.335] (II) event8  - Lenovo TrackPoint Keyboard II Mouse: is tagged by udev as: Mouse
(...)
[     3.914] (II) event25 - TPPS/2 IBM TrackPoint: is tagged by udev as: Mouse Pointingstick

从另一个角度来看,这似乎也是有意义的:你可以将联想追踪点键盘II插到任何能处理标准USB HID鼠标的“任何东西”中,而Trackpoint键盘II将“只起作用”。似乎发生的情况是,跟踪键盘II中的微控制器正在获取键盘中的跟踪点的输出,并模拟标准的USB鼠标。因此,要增加跟踪点的sensitivity,我们必须告诉键盘中的微键盘改变它的模拟-首选项,使跟踪点的运动输出HID-鼠标的“更多运动”(=增加灵敏度--希望您在这里得到了我的意思…)。

要改变这些偏好‘在键盘’,你必须发送一个特定的字节流(如我的回购列出)告诉微:“嘿,我想要一个拉格隐藏-鼠标运动,在跟踪点上的移动”。这正是联想允许您在MS上设置灵敏度的方式。我编写的工具发送的字节流与联想Windows相同(例如,“告诉跟踪点要更加敏感”)。

票数 1
EN
页面原文内容由Ask Ubuntu提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://askubuntu.com/questions/1293213

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档