New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No such interface “org.freedesktop.portal.Camera” on object at path /org/freedesktop/portal/desktop #1040
Comments
Your xdg-desktop-portal-gtk installation appears to be broken. Please check your system log (systemd journal or syslog) or consult your distribution's support channels. The Camera portal is one of several that require the Access backend, and gtk.portal appears to be the only implementation of Access that you have; so if that's broken, then Camera, Location, Screenshot, Background and Wallpaper are also not going to work. |
|
I'm not using I guess that I'm going to need to write a desktop-agnostic Access portal to use this feature reliably? |
|
I tried running > python xdp-camera.py
request token: u1, path: /org/freedesktop/portal/desktop/request/1_119/u1
playing
X connection to :0 broken (explicit kill or server shutdown). |
|
Is this because Screencast is subject to the compositor-specific prompt anyway? |
|
Given the error output, I'm fairly certain that the issue is now on the To understand what going on a bit better, I tried writing my own access portal (this will also be useful in future). It is effectively being used by But it's not being called at all. As a side note, the documentation does not describe what |
|
Okay, so looks like the The store is in Access is granted, but the same script crashes again. It seems that there is another issue that causes the script to crash. I'm going to close this since the response above has answered my original question -- |
I'm testing the camera portal with this xdg-camera.py snippet, but it's failing with error:
Inspecting with
d-feetreveals that indeed, this interface is not exposed by the portal:The portal logs don't reveal anything relevant (e.g.: no mention of
Cameraat all):I'm using
xdg-desktop-portal-1.16.0-r2from Alpine Edge repositories on x86_64.The text was updated successfully, but these errors were encountered: