Should I use Speed, Distance, or Hybrid mode?
应该选择速度、距离还是混合模式?
Use Speed mode if you want faster, more flexible scrolling after a short adjustment period. It estimates scroll speed from wheel event timing, so a quick flick can replace many small wheel steps. This is useful for long pages, code, and document lists.
如果你愿意适应一种更灵活、更省力的滚动方式,建议使用速度模式。它会根据滚轮事件的时间间隔估算速度,快速拨动滚轮时会明显加速,一次快速滚动可以替代过去很多次连续滚动。它适合长页面、代码和文档列表。
Some mice or receivers do not report wheel event timing very consistently. If Speed mode sometimes accelerates unexpectedly, Distance mode is usually the better choice.
部分鼠标或接收器的滚轮事件时间不够稳定,速度模式可能会误判为快速滚动,出现突然加速。如果遇到这种情况,通常更适合改用距离模式。
Use Distance mode if you want predictable scrolling closer to a traditional mouse wheel. Each wheel event contributes a fixed distance, and the smoother only changes how that distance is released over time.
如果你希望滚动距离稳定、可预测,更接近传统鼠标滚轮,建议使用距离模式。每次滚轮事件都会贡献固定距离,平滑器只改变这段距离释放出来的节奏。
Use Hybrid mode if you want Speed mode's acceleration without short scrolls falling below a predictable minimum. It follows the speed-based output and uses Wheel Tick Distance as the per-event distance floor.
如果你希望保留速度模式的加速效果,同时避免短滚动距离过小,建议使用混合模式。它跟随速度模式的输出,并以“单次滚轮距离”作为每次事件的距离下限。
Why does the first reverse wheel step do nothing at the top or bottom of a page?
为什么页面到顶或到底后,反向滚动的第一格没有反应?
This is a current limitation of Smooth Scroll. It operates at the input-device layer: it reads physical mouse events and sends smoothed wheel events through a virtual input device. It does not know the application's scroll position or when a page reaches its top or bottom.
这是 Smooth Scroll 当前的一个局限性。它工作在输入设备层:读取物理鼠标事件,再通过虚拟输入设备发送平滑后的滚轮事件。它不知道应用中的滚动位置,也无法知道页面何时到顶或到底。
At a page boundary, the page may stop visibly moving while Smooth Scroll is still generating inertial wheel events. With Reverse Scroll Braking enabled (the default), the first reverse wheel step is consumed to stop that remaining inertia. Further reverse input within the short braking window may also be absorbed before scrolling resumes. See how reverse-scroll braking works.
页面到达边界后,虽然画面已经不动,Smooth Scroll 仍可能在输出惯性滚轮事件。如果开启了反向滚动制动(默认开启),第一格反向输入会被消费,用来停止剩余惯性;在短暂的制动窗口内,后续反向输入也可能被吸收,随后才恢复滚动。详见反向滚动制动的工作方式。
There are two ways to make this behavior easier to see or change it:
目前可以通过以下两种方式观察或调整这个行为:
- Install the desktop integration. The GNOME Shell extension or KDE KWin effect shows an indicator while inertial scrolling is active. This makes it easier to see the remaining inertia and when reverse input stops it.
- Disable Reverse Scroll Braking. Turn it off in the Web Configurator, or set
use_reverse_scroll_braking = false, then restart the daemon. Reverse input will start scrolling in the new direction immediately instead of being consumed solely for braking.
- 安装桌面集成。GNOME Shell 扩展或 KDE KWin effect 会在惯性滚动期间显示指示器,让你直观看到剩余惯性,以及反向输入何时将它停止。
- 关闭反向滚动制动。在网页配置工具中关闭该选项,或设置
use_reverse_scroll_braking = false,然后重启守护进程。反向输入会立即开始新方向的滚动,不再仅用于刹车。
Why is there a dead zone at the start of scrolling?
为什么开始滚动时有死区?
If this happens specifically when reversing at the top or bottom of a page, first see the page-boundary explanation above.
如果这个现象只在页面到顶或到底后反向滚动时出现,请先查看上方的页面边界说明。
This is a known libinput issue: Disable hi-res wheel event initial accumulation for uinput (#1129). It has been fixed upstream, but the fix may not have reached your distribution yet.
这是 libinput 的一个已知问题:Disable hi-res wheel event initial accumulation for uinput (#1129)。上游已经修复,但你的发行版未必已经包含这个修复。
If your system still has this behavior, installing a newer libinput can help:
如果你的系统仍然有这个现象,可以尝试安装更新版本的 libinput:
sudo apt install meson ninja-build libmtdev-dev libevdev-dev libudev-dev libwacom-dev
git clone https://gitlab.freedesktop.org/libinput/libinput.git
cd libinput
meson setup builddir --prefix=/usr -Ddocumentation=false -Dtests=false -Ddebug-gui=false
ninja -C builddir
sudo ninja -C builddir install
Restart your desktop session after installation.
安装后请重启桌面会话。
If scrolling works in most applications and only one application has trouble, see the application compatibility steps below instead.
如果大多数应用都能正常滚动,只有某个应用出现问题,请改为参考下方的应用兼容性排查步骤。
Why do some applications have scrolling problems with Smooth Scroll?
为什么某些应用在使用 Smooth Scroll 时会出现滚动问题?
Smooth Scroll's continuous motion requires applications to support high-resolution wheel input. If scrolling works in most applications but one application does not scroll, moves in jumps, or ignores the first wheel step, that application may be using an older whole-step input path.
Smooth Scroll 的平滑滚动需要应用支持高精度滚轮输入。如果大多数应用滚动正常,只有某个应用不响应、出现跳动,或忽略第一次滚轮操作,该应用可能正在使用只按整格滚动的旧式输入方式。
Use this troubleshooting order:
请按以下顺序排查:
- If you added
GDK_CORE_DEVICE_EVENTS=1to the application's launch command, shortcut, or environment settings, remove it, fully quit the application (including background processes), and reopen it. If you have not set this option, continue to the next step. - On GNOME or KDE, install the corresponding optional desktop extension, then enable Compatibility Passthrough for this application. After any active Free Spin, Drag View, or Auto Scroll interaction finishes, Smooth Scroll restores the device's original wheel events and stops intercepting those feature buttons in that application; other applications are unaffected. Follow the GNOME window rules or KDE Compatibility-Passthrough rules guide.
- 如果你曾在应用启动命令、快捷方式或环境设置中加入
GDK_CORE_DEVICE_EVENTS=1,请先移除它,完全退出应用(包括后台进程)后重新打开。如果没有设置过这一项,可以继续下一步。 - 在 GNOME 或 KDE 上,请先安装对应的可选桌面扩展,再为该应用启用兼容性透传。当前 Free Spin、Drag View 或 Auto Scroll 操作结束后,Smooth Scroll 会恢复设备的原始滚轮事件,并不再拦截这些功能键;其他应用不受影响。请查看 GNOME 窗口规则或 KDE 兼容性透传规则说明。
Per-application compatibility-passthrough integration is currently available only for GNOME and KDE. On other desktops, you will need to wait for a corresponding desktop extension. If you are interested in adding support, contributions to the project's desktop extensions are welcome.
目前只有 GNOME 和 KDE 提供按应用兼容性透传集成。使用其他桌面环境时,需要等待对应的桌面扩展;如果你有兴趣提供支持,欢迎为项目的桌面扩展贡献代码。
If the problem persists, or you are unsure which path applies, please report it with the application and version, Linux distribution, desktop environment, and whether other applications are affected. Include relevant libinput debug-events output if available.
如果问题仍然存在,或者你不确定该采用哪种处理方式,请提交问题,说明应用及版本、Linux 发行版、桌面环境,以及其他应用是否也有同样问题。如能提供相关的 libinput debug-events 输出,也请一并附上。
Why can opposite wheel input brake the current scroll instead of reversing it immediately?
为什么反向拨动滚轮时会先制动当前滚动,而不是立即反转?
Reverse Scroll Braking is enabled by default. If you turn the wheel in the opposite direction while inertial scrolling is still active, Smooth Scroll interprets the initial input as a request to stop the current glide instead of immediately starting a new motion in the other direction. This makes a short opposite gesture act like a brake and helps suppress accidental direction jitter.
反向滚动制动默认开启。如果在惯性滚动尚未结束时反向拨动滚轮,Smooth Scroll 会先把初始输入理解为“停止当前滑行”,而不是立即发起相反方向的新运动。这样,一次短促的反向操作可以作为刹车,也能减少方向切换时的意外抖动。
This can also happen after a page stops moving at its top or bottom, because the daemon may still be generating inertia. See why the first reverse step can appear unresponsive at a page boundary.
页面到顶或到底、画面已经停止移动后,也可能出现这个行为,因为守护进程仍可能在输出惯性。详见为什么页面边界处的第一格反向滚动看起来没有反应。
If you promptly keep turning the wheel in the new direction, Smooth Scroll recognizes a deliberate reversal and begins scrolling the other way. The braking time, count, and intent settings distinguish a brief brake from one continued reverse gesture. Once recognized as that continued gesture, the absorbed input contributes to the following motion instead of simply being lost. In short: a short opposite gesture means stop; a continued opposite gesture means reverse.
如果紧接着继续向新方向拨动滚轮,Smooth Scroll 会识别出明确的反向意图并开始反向滚动。制动时间、次数和意图设置用于区分短促刹车与一次连续的反向手势;识别为连续手势后,制动期间吸收的输入会参与后续运动,而不是被简单丢弃。简而言之:短促反向表示停止,持续反向表示反转。
If you prefer every opposite wheel step to reverse immediately, disable Reverse Scroll Braking in the Web Configurator, or set:
如果你希望每次反向拨动都立即开始反向滚动,请在网页配置工具中关闭反向滚动制动,或设置:
use_reverse_scroll_braking = false
Restart the daemon after changing the configuration.
修改配置后请重启守护进程。
What should I do if another input device interferes with Smooth Scroll?
其他输入设备干扰 Smooth Scroll 时怎么办?
Some USB receivers, controllers, tablets, and other devices present mouse- or keyboard-compatible interfaces. If connecting one makes Smooth Scroll pause, wait for mouse movement, select the wrong mouse, or react repeatedly to an unstable device, select Deny and add the device in the Web Configurator.
某些 USB 接收器、游戏控制器、数位板或其他设备会提供兼容鼠标或键盘的接口。如果接入这类设备后 Smooth Scroll 暂停工作、等待鼠标移动、选错鼠标,或因设备不稳定而反复受到干扰,请在网页配置工具中选择排除,然后添加该设备。
Match by exact Linux input name, vendor/product IDs, or both. Leave the exclusion list empty to discover all compatible devices.
可以按 Linux 输入节点完整名称、厂商和产品 ID,或两者组合匹配。排除列表留空时会自动发现所有兼容设备。