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

Feature request: Wayland support in mate-screenshot #350

Open
Sunderland93 opened this issue Jul 5, 2023 · 2 comments
Open

Feature request: Wayland support in mate-screenshot #350

Sunderland93 opened this issue Jul 5, 2023 · 2 comments

Comments

@Sunderland93
Copy link

Sunderland93 commented Jul 5, 2023

This can be done in two ways:

  1. using xdg-desktop-portal's interface org.freedesktop.portal.Screenshot
  2. using wlr-screencopy Wayland extension

The first way is universal, de-facto standard and makes mate-screenshot works on (probably) any Wayland desktop. However, there are two problems: 1) hard dependency on D-Bus, which is required for xdg-desktop-portal to work; 2) MATE desktop itself probably needs its own xdg-desktop-portal implementation (like xdg-desktop-portal-gnome, xdg-desktop-portal-kde, etc). There are xdg-desktop-portal-xapp developed by Linux Mint dev's, but I don't know if it's useful for such functionality.

Second way is much simpler, doesn't require D-Bus, but works only on wlroots-based compositors. grim is example.

@lukefromdc
Copy link
Member

lukefromdc commented Jul 5, 2023 via email

@Sunderland93
Copy link
Author

Just to note: wlr-screencopy is proposed for wayland-protocols as ext-screencopy-v1 https://gitlab.freedesktop.org/wayland/wayland-protocols/-/merge_requests/124

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants