-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Not possible to take screenshot under Wayland #6312
Comments
AFAIK no one is working on this, contributions are welcome. From https://stackoverflow.com/q/72216896/1648883, it sounds like |
I don't suppose it would be sufficient to just check for |
Not so much, since you can don't have GNOME stack running and all and you have more than 1 wayland-enabled DE :) |
From https://news.ycombinator.com/item?id=26446802, it sounds like there is no standard way to take a screenshot on Wayland. |
Googling, it seems Wayland considers it a security feature to prevent screenshots. @KhazAkar there doesn't seem to be any way to achieve what you are after. |
Depends. Somehow tools like gnome-screenshot works, right? I think they use some sort of portal or interface to contact the underlying compositor and grab needed data. |
https://www.reddit.com/r/linux/comments/7lb5l7/new_screenshot_alternative_for_wayland/
It could be done by using compositor-specific tools like gnome-screenshot, but I thought you were looking for a generic solution. |
I've created PR #6361 to use |
What did you do?
I've tried to make screenshot using Pillow on Wayland compositor, such as GNOME running in Wayland mode
What did you expect to happen?
Screenshot of full display
What actually happened?
What are your OS, Python and Pillow versions?
Is there wayland support on roadmap anytime soon?
The text was updated successfully, but these errors were encountered: