3 ms·
In Wayland you just start a capture with the xdg-desktop-portal API and it notifies the user and let them select the area to capture.
by tapoxi 2y ago
In Wayland you just start a capture with the xdg-desktop-portal API and it notifies the user and let them select the area to capture.
- gchamonlive 2y agoYes, but I believe op was refering to how interacting with all things Wayland seems to be more involved than with x11. I'm not sure this is indeed like this, I have zero experience in developing for Wayland, but I think this is what op meant.
- yndoendo 2y agoWayland is more focused on security. That onion layer right there will increase the complexity of usage. X11 doesn't have the extra abstractions to limit and prevent intrusive interactions with the desktop. Example of this would be where "runas /user:smith application.exe" is simple but does not work when a Windows Service is required to run an application as the user signed in. One must use Window's API to pull in the account's token and use more API to execute "application.exe". UltraVNC is a great source to see all the extras needed.
- tapoxi 2y agoFrom a quick "how do I implement this in Python" with ChatGPT it seems to be about 30 lines, since most of the heavy lifting is done for you by the API.
- Zetaphor 2y agoAs someone who uses LLM's regularly to assist in code creation, take that output with a huge grain of salt until you've actually tested it. Especially as it relates to Wayland, I've pulled my hair out trying to get an LLM to assist with very similar tasks to this.
- p_l 2y agoIt means you got to tickle the banana, good luck making sure that the gorilla holding it is fine with that.