lan-mouse icon indicating copy to clipboard operation
lan-mouse copied to clipboard

MacOS input capture backend unavailable

Open asitstands opened this issue 11 months ago • 3 comments

Hi, I downloaded lan-mouse-macos-aarch64 v0.10.0 binary from here. Executing the binary shows a warning. I tried this at M1 macbook running Sonoma 14.2.1. How can I fix this?

WARN input_capture] MacOS input capture backend unavailable: error creating macos capture backend: event tap creation failed

Images in the frontend are also broken.

asitstands avatar Jan 30 '25 13:01 asitstands

You need to grant accessibility permissions under System Settings > Privacy & Security > Accessibility. The application you want to give permissions will depend on how you executed the binary.

The icons are broken because adwaita-icon-theme is missing. I will need to find a way to properly package for Macos and Windows.

feschber avatar Jan 30 '25 14:01 feschber

Thanks. It works after setting the accessibility permission.

asitstands avatar Jan 31 '25 06:01 asitstands

You need to grant accessibility permissions under System Settings > Privacy & Security > Accessibility. The application you want to give permissions will depend on how you executed the binary.

I had trouble with this until I realized what you meant by the second sentence -- launching the program from Terminal means I need to give Terminal the accessibility permission.

mrled avatar Feb 17 '25 18:02 mrled