Add missing screen_get_image() method implementation to Wayland #12743
LiminaWayfarer
started this conversation in
Platforms
Replies: 1 comment 1 reply
-
On Wayland, it is impossible to directly capture screen image, but user-interactive screen capture can implement using org.freedesktop.portal.ScreenCast interface and PipeWire, which will prompt user for recording permission. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Describe the project you are working on
A streaming app to make custom overlays on Linux.
Describe the problem or limitation you are having in your project
To make more complex scenes and overlays, I want to be able to embed my screen in the scene by capturing it. As I am on Linux and using Wayland, as I understand it that's not possible currently.
Describe the feature / enhancement and how it helps to overcome the problem or limitation
Currently, the
screen_get_image()
method is not implemented on Wayland specifically, which prevents me from capturing my screen.As it stands, I cannot use that feature at all since switching to and X11 session for this particular app, and having to stream from said session, is not really an option.
If this enhancement will not be used often, can it be worked around with a few lines of script?
Unfortunately not.
Is there a reason why this should be core and not an add-on in the asset library?
screen_get_image()
is a functionality in core, it would be odd to need an addon for it to function under Wayland.As a side note, if this not the correct place, I apologize - this is my first time submitting 😅
Beta Was this translation helpful? Give feedback.
All reactions