首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >无法更改鼠标灵敏度

无法更改鼠标灵敏度
EN

Unix & Linux用户
提问于 2021-10-15 19:54:07
回答 1查看 1K关注 0票数 -1

系统: Debian 11 Bullseye

DE: XFCE或KDE

在鼠标设置中只有一个加速滑块(仅加速)。

在xinput中没有加速配置文件或模式标志。我有加速标志:

代码语言:javascript
复制
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输出:

代码语言:javascript
复制
> 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
EN

回答 1

Unix & Linux用户

回答已采纳

发布于 2021-10-24 23:27:35

经过一番搜索,我意识到libinput有不同的加速道具:

代码语言:javascript
复制
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.

因此,我可以通过以下方式禁用加速(启用平面配置文件):

代码语言:javascript
复制
xinput --set-prop 8 304 0, 1 

其中8是我的鼠标id,304是"libinput Accel配置文件已启用“属性。

现在我可以通过更改"libinput Accel速“标志来控制灵敏度。

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

https://unix.stackexchange.com/questions/673407

复制
相关文章

相似问题

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