Our great sponsors
-
wslg
Enabling the Windows Subsystem for Linux to include support for Wayland and X server related scenarios
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
btrfsmaintenance
Scripts for btrfs maintenance tasks like periodic scrub, balance, trim or defrag on selected mountpoints or directories.
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
This actually works somewhat today, but it's all a little hit and miss.
For Wayland I believe the currently accepted way if doing screen sharing is through xdg-desktop-portal which has a backend for wlroots and a bunch of other common compositors. I have gotten this to work fairly decently with Firefox at least, but some things are a bit hacky.
https://github.com/emersion/xdg-desktop-portal-wlr
The developer channel version of WSL2 comes with Wayland, which might help push adoption a bit. https://github.com/microsoft/wslg
It is a technical certainty AFAICT. If this has not impacted you, it will some day :)
Scripts for actually doing so can be found f.e. here: https://github.com/kdave/btrfsmaintenance
I get your confusion, there is one screenshot API that abstract the compositor but it lies in xdg-desktop: https://github.com/flatpak/xdg-desktop-portal/blob/master/da...
The portal for xdg-desktop takes care of the implementation and is the responsibility of the compositor.
It's already used by Flameshot for example.
There is several xdottool equivalent as well: