-
-
Notifications
You must be signed in to change notification settings - Fork 13
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
Linux (Wayland) support 🌱 #2
Comments
Hey! It's good to have a pinned issue about this though. Thanks :) |
Indeed, it's impossible to get window information and coordinates in Wayland due to security reasons. However, instead of window, if menyoki uses screen coordinates, then that information can be easily obtained, like in https://github.com/emersion/slurp tool. It's even possible to get coordinates of the specified window using slurp in sway compositor only. As for screenshot capability, I believe wlroots-based compositor have a protocol for screencopy, albeit unstable - https://github.com/swaywm/wlroots/blob/master/protocol/wlr-screencopy-unstable-v1.xml |
Any news on this ? How can the community help move this issue forward ? |
There's also XDG desktop portals, which abstract application developers from needing to know the specifics of compositors: https://flatpak.github.io/xdg-desktop-portal/#gdbus-org.freedesktop.portal.ScreenCast |
I don't have a Wayland system to test this out so I can't really move forward with the implementation. I think someone who uses Wayland can just jump right into it and implement the missing methods. After that, I believe |
One thing to note here, I'm pretty much okay with using 3rd party capture tools for Wayland (AKA shelling out from |
Is your feature request related to a problem? Please describe.
I love the concept and would like to give it a try, but my Linux system is wayland-based 😞. Hope wayland support is added soon 🙏
Describe the solution you'd like
There are existing tools for wlroots-based compositors, like https://github.com/ammen99/wf-recorder and https://github.com/emersion/grim. Hope it helps you to figure out the implementation support for Wayland. I'll be glad to help out too if it's needed.
The text was updated successfully, but these errors were encountered: