-
-
Notifications
You must be signed in to change notification settings - Fork 198
Snap crashing when trying to take screenshot under Wayland #389
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
Comments
@LyzardKing FYI |
This also requires changing the dbus? |
I think it's the same issue as #390 |
Ok, let's move those two to |
@LyzardKing Do you know how to detect if we are running Wayland or X11 under Snap? Usually we echo |
I get those strings if I echo XDG_SESSION_TYPE in the snap environment |
Thanks, will try that. |
@LyzardKing Any change we can make the old API work with Snap or is our only chance here the new API? |
As discussed in #390 I opened a PR with the removal of the hardcoded unity desktop. |
The old API cannot work in the snap because we cannot access /tmp. |
Or the snap could be made not confined (classic). |
This is actually possible, let's keep that as a backup option if the new API doesn't work out |
If I set the call to the wayland grabber as:
and pull you commit to use the general screenshot in the snap
|
Yes, I got that far too. I need to figure out next with what parameters the screenshot methods needs to be called with. For testing just passed some strings there which seem to be wrong. |
Fixed with #243 we use now the generic wayland portal for taking screenshots under snap. |
According to user reporting on Snapcraft forum the ksnip snap is crashing when trying to take a screenshot under wayland.
The text was updated successfully, but these errors were encountered: