[3rd-Party Apps] wpspdf鼠标滚轮速度调节的问题
Tofloor
poster avatar
wils
deepin
2025-05-17 05:08
Author

wpspdf的设置里,有关于鼠标滚轮每次滚动多远的设置

但最近发现,如果鼠标默认用的是libinput驱动,则上面的设置无效

如果改用evdev驱动,则有效

另外如果使用libinput驱动,xmodmap、xbindkeys、imwheel等关于滚轮的设置都对wpspdf无效

猜测应该是wpspdf的问题

Reply Favorite View the author
All Replies
deepin
2025-05-17 09:00
#1

我都不知道有这么多驱动23333。

Reply View the author
momo
deepin
2025-05-17 12:47
#2

怎么更改鼠标驱动,wps看PDF文档,滚动鼠标很难受

Reply View the author
wils
deepin
2025-05-17 13:56
#3
momo

怎么更改鼠标驱动,wps看PDF文档,滚动鼠标很难受

我是在/etc/X11/xorg.conf.d/里新建了30-evdev.conf

Section "InputClass"
Identifier "Force Evdev for Mouse"
MatchProduct "INSTANT USB GAMING MOUSE "
MatchIsPointer "on"
Driver "evdev"
Option "ButtonMapping" "1 2 3 4 5 6 7 8 9"
EndSection

鼠标名称那里需要修改,或者删掉

另外安装那个好像叫xserver-xorg-input-evdev的包

Reply View the author
MeGusta
deepin
2025-05-18 21:51
#4

确实被wpspdf的这个问题难受到了。。。

Reply View the author
MeGusta
deepin
2025-05-21 17:03
#5
wils

我是在/etc/X11/xorg.conf.d/里新建了30-evdev.conf

Section "InputClass"
Identifier "Force Evdev for Mouse"
MatchProduct "INSTANT USB GAMING MOUSE "
MatchIsPointer "on"
Driver "evdev"
Option "ButtonMapping" "1 2 3 4 5 6 7 8 9"
EndSection

鼠标名称那里需要修改,或者删掉

另外安装那个好像叫xserver-xorg-input-evdev的包

非常感谢,借助你的帖子解决了长久依赖存在的一个问题。

使用WPS PDF查看PDF文件的滚动翻页速度终于正常了!

解决步骤:

1.安装 xserver-xorg-input-evdev 驱动:

sudo apt install xserver-xorg-input-evdev

2.在 /etc/X11/xorg.conf.d目录下创建配置文件:

sudo tee /etc/X11/xorg.conf.d/30-evdev.conf > /dev/null <

3.重启系统。

写成的脚本如下:

使用evdev驱动以解决WPS-PDF鼠标滚动异常的问题.zip

录屏_选择区域_20250521171053.gif

Reply View the author
MeGusta
deepin
2025-05-21 17:08
#6
momo

怎么更改鼠标驱动,wps看PDF文档,滚动鼠标很难受

执行我写的这个脚本就可以了,非常方便。

Reply View the author