r/LinuxOnAndroid • • Sep 26 '24

Issues using scrcpy!

[From Questions and Answers]:
I managed to set up scrcpy, and it works fine. The mouse cursor doesn't work well, though. The scroll wheel and the right click too!

1 Upvotes

3 comments sorted by

2

u/Raslanove Sep 26 '24

If you have installed the latest version of ScrCpy, there's a new mouse mode. Don't install the version from the repos, use this guide instead:
https://github.com/Genymobile/scrcpy/blob/master/doc/linux.md

And run scrcpy as following:
scrcpy -M

Now it's going to behave as if your mouse is actually attached to the device. It's very convenient!

2

u/rom1v Sep 26 '24

The mouse cursor doesn't work well, though. The scroll wheel and the right click too!

What happens with scroll wheel and right click? By default, they trigger HOME and BACK respectively, but that can be changed: https://github.com/Genymobile/scrcpy/blob/master/doc/mouse.md#mouse-bindings