mirror of
https://github.com/feschber/lan-mouse.git
synced 2026-05-15 14:15:52 -06:00
[GH-ISSUE #316] [KDE Plasma] lan-mouse keeps prompting for Input Capture permission #163
Labels
No labels
Xorg
documentation
enhancement
macos
pull-request
question
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/lan-mouse#163
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @hoshinolina on GitHub (Aug 4, 2025).
Original GitHub issue: https://github.com/feschber/lan-mouse/issues/316
Every time I am idle on a client for a while, KDE re-prompts for input capture permission. Sometimes there are multiple prompts in sequence. This is quite annoying, since moving the mouse to a client leaves it stuck there until the prompt is accepted.
Is lan-mouse "closing" the input capture, and maybe KDE then re-prompts after a timeout? Maybe there is some kind of workaround that could be done on the lan-mouse side, or change of behavior so this doesn't happen?
@nbolton commented on GitHub (Aug 4, 2025):
Yes, same problem over on Deskflow:
There are some workarounds there that you may find useful until this gets fixed upstream.
@JonasVerhofste commented on GitHub (Aug 29, 2025):
This is an issue in KDE, not in lan-mouse. Plasma Wayland does not persists permissions:
https://bugs.kde.org/show_bug.cgi?id=502866
I got around that by setting permissions through the newish permissions api (Plasma 6.3 onward):
https://wiki.archlinux.org/title/KDE#Pre-authorize_remote_control_on_Wayland
@nbolton commented on GitHub (Aug 30, 2025):
Unfortunately that's for Remote Control which is a different to Input Capture (this issue).
Currently there is no way to persist Input Capture permission but it is being worked on:
There is a horrible and janky workaround though: https://github.com/deskflow/accept-portal-dialog
@hoshinolina commented on GitHub (Oct 15, 2025):
I opened this because the popup keeps reappearing, not just once when lan-mouse is first started. I imagine there should be some workaround lan-mouse can do to keep this from happening. Of course, until KDE has the persistent stuff working, you'd still have to at least accept it once.