You are not logged in.
Hello.
After suspending my laptop, the mouse scrolling becomes painfully slow.
I read the archwiki which says to do:
xinput --set-prop 2 'libinput Accel Speed' 1
But I get the following error:
WARNING: running xinput against an Xwayland server. See the xinput man page for details.
property 'libinput Accel Speed' doesn't exist, you need to specify its type and format
Here are my xinput devices:
> xinput list
WARNING: running xinput against an Xwayland server. See the xinput man page for details.
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ xwayland-pointer:17 id=6 [slave pointer (2)]
⎜ ↳ xwayland-relative-pointer:17 id=7 [slave pointer (2)]
⎜ ↳ xwayland-pointer-gestures:17 id=8 [slave pointer (2)]
⎣ Virtual core keyboard id=3 [master keyboard (2)]
↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)]
↳ xwayland-keyboard:17 id=9 [slave keyboard (3)]
Can someone please give me a hint on what to try next?
P.S. I tried doing
xinput --set-prop 2 'libinput Accel Speed' 1
for all devices, same output unfortunately.
Here are the xinput properties that the pointer devices have:
> xinput list-props 2
WARNING: running xinput against an Xwayland server. See the xinput man page for details.
Device 'Virtual core pointer':
Device Enabled (120): 1
Coordinate Transformation Matrix (122): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
> xinput list-props 4
WARNING: running xinput against an Xwayland server. See the xinput man page for details.
Device 'Virtual core XTEST pointer':
Device Enabled (120): 1
Coordinate Transformation Matrix (122): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
XTEST Device (231): 1
> xinput list-props 6
WARNING: running xinput against an Xwayland server. See the xinput man page for details.
Device 'xwayland-pointer:17':
Device Enabled (120): 1
Coordinate Transformation Matrix (122): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
Device Accel Profile (237): 0
Device Accel Constant Deceleration (238): 1.000000
Device Accel Adaptive Deceleration (239): 1.000000
Device Accel Velocity Scaling (240): 10.000000
> xinput list-props 7
WARNING: running xinput against an Xwayland server. See the xinput man page for details.
Device 'xwayland-relative-pointer:17':
Device Enabled (120): 1
Coordinate Transformation Matrix (122): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
Device Accel Profile (237): 0
Device Accel Constant Deceleration (238): 1.000000
Device Accel Adaptive Deceleration (239): 1.000000
Device Accel Velocity Scaling (240): 10.000000
> xinput list-props 8
WARNING: running xinput against an Xwayland server. See the xinput man page for details.
Device 'xwayland-pointer-gestures:17':
Device Enabled (120): 1
Coordinate Transformation Matrix (122): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
Device Accel Profile (237): 0
Device Accel Constant Deceleration (238): 1.000000
Device Accel Adaptive Deceleration (239): 1.000000
Device Accel Velocity Scaling (240): 10.000000
Last edited by jenia (2024-04-14 19:49:30)
Offline
xinput doesn't work on Wayland check your compositor settings
Offline
what is a compositor?
Offline
I'm not using any compositor. I'm using Gnome
Offline
I tried using imwheel:
> cat ~/.imwheelrc
".*"
None, Up, Button4, 7
None, Down, Button5, 7
Still did not work.
I tried setting the mouse speed in Gnome settings, didn't do anything.
If I restart the laptop, the mouse scroll speed goes back to normal.
Offline
Gnome - or rather mutter - is your compositor, check it's settings.
Could also be a kernel bug, is the faulty behaviour replicated in sudo libinput debug-events , do you get less events after than before the suspend? Which mouse?
Offline
Bluetooth or tailed rodent?
https://bbs.archlinux.org/viewtopic.php?id=293772
Offline
Thanks for all the tips Seth and V1del.
With your help I found the original issue I think: https://github.com/bluez/bluez/issues/778
I downgraded bluez to 5.72 and will restart the OS now. Hope this will resolve the issue. Will keep you posted or whether it does or not.
Last edited by jenia (2024-04-14 19:50:18)
Offline
It did I suspended my laptop after downgrading and restarting and the scrolling is normal thanks kindly!
Offline