Skip to content
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

Critical: Error: No such interface “org.freedesktop.portal.Screenshot” on object at path /org/freedesktop/portal/desktop #38699

Open
LinArcX opened this issue Aug 16, 2022 · 3 comments
Labels
bug Something isn't working needs-testing Testing a PR or reproducing an issue needed

Comments

@LinArcX
Copy link
Contributor

LinArcX commented Aug 16, 2022

Is this a new report?

Yes

System Info

Void 5.18.16_1 x86_64 GenuineIntel notuptodate hold rFF

Package(s) Affected

ksnip-1.9.2, wayfire-0.7.3

Does a report exist for this bug with the project's home (upstream) and/or another distro?

866

Expected behaviour

ksnip should take screenshots properly on wayfire.

Actual behaviour

whenever i run ksnip from shell and try to capture screenshot, it says:

↳ ksnip
Critical: Unknown wayland platform, using default wayland Image Grabber.
Warning: Unable to find any translation files for ksnip.
Warning: Unable to find any translation files for kImageAnnotator.
Warning: Wayland does not support QWindow::requestActivate()
Warning: Wayland does not support QWindow::requestActivate()
Warning: This plugin does not support setting window opacity
Critical: Error: No such interface “org.freedesktop.portal.Screenshot” on object at path /org/freedesktop/portal/desktop
```I

### Steps to reproduce

1. run ksnip from your shell.
@LinArcX LinArcX added bug Something isn't working needs-testing Testing a PR or reproducing an issue needed labels Aug 16, 2022
@paper42
Copy link
Member

paper42 commented Aug 16, 2022

This doesn't sound like a bug, but just a wrong setup. Do you have xdg-desktop-portal-wlr?

@LinArcX
Copy link
Contributor Author

LinArcX commented Aug 16, 2022

Yes, these packages installed on my machine:

  1. xdg-desktop-portal
  2. xdg-desktop-portal-wlr
  3. xdg-desktop-portal-kde

@vutunganh
Copy link
Contributor

At least for sway, I also have to manually start them (/usr/libexec/xdg-desktop-portal{,-gtk,-wlr} --replace) for things to work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs-testing Testing a PR or reproducing an issue needed
Projects
None yet
Development

No branches or pull requests

3 participants