pop-os / cosmic-epoch

Next generation Cosmic desktop environment
1.71k stars 54 forks source link

Feature Request: Standardized Screen Capture API for Wayland #273

Open BiteClassroom opened 2 months ago

BiteClassroom commented 2 months ago

Dear System76 Developers,

I am writing to request your consideration for implementing a standardized API for screen capture on Wayland desktops like COSMIC.

Currently, due to Wayland's restrictions, applications like Pick cannot directly capture the screen. This limitation necessitates relying on the desktop environment itself to provide screen capture functionality. While COSMIC Shell offers some built-in capabilities, a standardized API would offer several advantages:

I understand that developing and implementing a new API requires resources and collaboration. However, I believe a standardized screen capture API for Wayland would be a valuable addition to the desktop environment ecosystem. It would benefit both application developers and users seeking a wider range of screen capture options.

If there are existing efforts or discussions regarding a standardized screen capture API for Wayland, I would be grateful for any information you can share. Additionally, if there's a preferred way to contribute to such an initiative, I'd be happy to learn more.

Thank you for your time and consideration.

Drakulix commented 2 months ago

We do.

The xdg-desktop-portal interface for ScreenCapture is the de-facto standard protocol and supported by COSMIC.