[GH-ISSUE #311] InputCapture portal interface not found – org.freedesktop.impl.portal.InputCapture #161

Closed
opened 2026-05-05 22:12:08 -06:00 by gitea-mirror · 1 comment
Owner

Originally created by @Kasper24 on GitHub (Jul 14, 2025).
Original GitHub issue: https://github.com/feschber/lan-mouse/issues/311

Hi, thanks for your work on lan-mouse!

I'm trying to use it on Wayland with xdg-desktop-portal and a desktop (Gnome) that supports InputCapture However, I get this error in the journal when trying to use lan-mouse:

A backend call failed: No such interface “org.freedesktop.impl.portal.InputCapture” on object at path /org/freedesktop/portal/desktop

Checking the DBus interfaces, I have a org.freedesktop.porta.InputCapture interface at /org/freedesktop/portal/desktop rather than org.freedesktop.impl.portal.InputCapture.

Is there an issue in my portal configuration, or is it trying to call the wrong interface?

Originally created by @Kasper24 on GitHub (Jul 14, 2025). Original GitHub issue: https://github.com/feschber/lan-mouse/issues/311 Hi, thanks for your work on lan-mouse! I'm trying to use it on Wayland with xdg-desktop-portal and a desktop (Gnome) that supports InputCapture However, I get this error in the journal when trying to use lan-mouse: ``` A backend call failed: No such interface “org.freedesktop.impl.portal.InputCapture” on object at path /org/freedesktop/portal/desktop ``` Checking the DBus interfaces, I have a org.freedesktop.porta.InputCapture interface at /org/freedesktop/portal/desktop rather than org.freedesktop.impl.portal.InputCapture. Is there an issue in my portal configuration, or is it trying to call the wrong interface?
Author
Owner

@Kasper24 commented on GitHub (Jul 14, 2025):

Yeah, the issue was in my configuration.
I had the GDK_BACKEND env var set to "wayland,x11"

Gnome portal seems to not like this, giving the following error:

GDK backend forced via env var, portal dialogs will not work properly.
Non-compatible display server, exposing settings only.
<!-- gh-comment-id:3070968266 --> @Kasper24 commented on GitHub (Jul 14, 2025): Yeah, the issue was in my configuration. I had the GDK_BACKEND env var set to "wayland,x11" Gnome portal seems to not like this, giving the following error: ``` GDK backend forced via env var, portal dialogs will not work properly. Non-compatible display server, exposing settings only. ```
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/lan-mouse#161
No description provided.