在搜索光标跳动的解决方案时,我发现了很多对 touchfreeze 的引用——一个在打字时禁用触摸板的包。但它不再是我能找到的任何存储库的一部分。所有指向它的链接均无效。
如何在打字时禁用触摸板?
Jac*_*ijm 10
您不需要单独的应用程序来实现这一点。
只需运行:
gsettings set org.gnome.settings-daemon.peripherals.touchpad disable-while-typing true
Run Code Online (Sandbox Code Playgroud)
或者
gsettings set org.gnome.settings-daemon.peripherals.touchpad disable-while-typing false
Run Code Online (Sandbox Code Playgroud)
在打字时禁用或启用触摸板。
您可以在后台使用syndaemon
将 syndaemon 添加到启动应用程序:
Dash > 启动应用程序 > 添加。添加命令:
/bin/bash -c "sleep 15 && syndaemon"
Run Code Online (Sandbox Code Playgroud)
最干净的解决方案是使用:
gsettings set org.gnome.settings-daemon.peripherals.touchpad disable-while-typing true
Run Code Online (Sandbox Code Playgroud)
但是,该密钥在 14.04 以后的版本中不存在。我syndaemon
在我的 15.10 笔记本电脑上进行了测试,它完美地完成了这项工作。
Syndaemon 有许多操作选项,在您的情况下,以下对我来说似乎是最重要的:
-i <idle-time>
How many seconds to wait after the last key press before enabling the touchpad. (default is 2.0s).
-m <poll-interval>
How many milliseconds to wait between two polling intervals. If this value is too low, it will cause unnecessary wake-ups. If this value is too high, some key presses (press and release happen between two intervals) may not be noticed. This switch has no effect when running with -R. Default is 200ms.
Run Code Online (Sandbox Code Playgroud)
该软件包在 10.04 之后被删除(并且 10.04 不再受支持,这就是您在存储库中找不到它的原因)。从Launchpad 上的发布历史记录:
Removal requested on 2010-07-28.
Deleted on 2010-07-28 by Jonathan Riddell
(From Debian) ROM; superior alternative exists, never in stable; Debian bug #587415
Run Code Online (Sandbox Code Playgroud)
请考虑从 Debian 中删除 touchfreeze:
kde-config-touchpad 是非常优秀的软件,与 touchfreeze 相比有许多改进
- 优秀的 KDE 集成
- 功能更全
- 积极发展
到目前为止,touchfreeze 从未出现在 Debian 发行版中
Sp,也许你应该研究一下 this kde-config-touchpad
,不管它是什么,如果它仍然存在的话。