系统: Debian 11 Bullseye
DE: XFCE或KDE
在鼠标设置中只有一个加速滑块(仅加速)。
在xinput中没有加速配置文件或模式标志。我有加速标志:
libinput Accel Speed (301): 1.000000
libinput Accel Speed Default (302): 0.000000
libinput Accel Profiles Available (303): 1, 1
libinput Accel Profile Enabled (304): 1, 0
libinput Accel Profile Enabled Default (305): 1, 0如果我用xinput禁用加速,我根本无法改变灵敏度。改变新闻部不是一种选择。
我有几只不同的老鼠--同样的结果。
xset输出:
> xset q
Keyboard Control:
auto repeat: on key click percent: 0 LED mask: 00000002
XKB indicators:
00: Caps Lock: off 01: Num Lock: on 02: Scroll Lock: off
03: Compose: off 04: Kana: off 05: Sleep: off
06: Suspend: off 07: Mute: off 08: Misc: off
09: Mail: off 10: Charging: off 11: Shift Lock: off
12: Group 2: off 13: Mouse Keys: off
auto repeat delay: 500 repeat rate: 20
auto repeating keys: 00ffffffdffffbbf
fadfffefffedffff
9fffffffffffffff
fff7ffffffffffff
bell percent: 50 bell pitch: 400 bell duration: 100
Pointer Control:
acceleration: 2/1 threshold: 4
Screen Saver:
prefer blanking: yes allow exposures: yes
timeout: 600 cycle: 600
Colors:
default colormap: 0x20 BlackPixel: 0x0 WhitePixel: 0xffffff
Font Path:
/usr/share/fonts/X11/misc,/usr/share/fonts/X11/100dpi/:unscaled,/usr/share/fonts/X11/75dpi/:unscaled,/usr/share/fonts/X11/Type1,/usr/share/fonts/X11/100dpi,/usr/share/fonts/X11/75dpi,built-ins
DPMS (Energy Star):
Standby: 600 Suspend: 0 Off: 900
DPMS is Enabled
Monitor is On发布于 2021-10-24 23:27:35
经过一番搜索,我意识到libinput有不同的加速道具:
libinput Accel Profiles Available
2 boolean values (8 bit, 0 or 1), in order "adaptive", "flat". Indicates which acceleration profiles are available on this device.
libinput Accel Profile Enabled
2 boolean values (8 bit, 0 or 1), in order "adaptive", "flat". Indicates which acceleration profile is currently enabled on this device.因此,我可以通过以下方式禁用加速(启用平面配置文件):
xinput --set-prop 8 304 0, 1 其中8是我的鼠标id,304是"libinput Accel配置文件已启用“属性。
现在我可以通过更改"libinput Accel速“标志来控制灵敏度。
https://unix.stackexchange.com/questions/673407
复制相似问题