4 ms·
As far as I know not into the wayland protocol itself. The devs have been pretty adamant that wayland is 'just the compositor' and left the rest as an exercise
by hyperion2010 7y ago
As far as I know not into the wayland protocol itself. The devs have been pretty adamant that wayland is 'just the compositor' and left the rest as an exercise for the community, or the toolkit developers. So for instance there is https://github.com/foss-project/green-recorder https://github.com/foss-project/green-recorder but as far as I can tell on wayland it only works for gnome, and requires dbus to work (wat?!).
- Spivak 7y ago* Screen recording is a privileged operation in Wayland which is left to compositors to implement as they see fit. * Screen recording apps are therefore largely just nice frontends on whatever primitives the compositor exposes to do screen recording. * GNOME speaks dbus and exposes those primitives as dbus services. * So you need to speak dbus. You can't really avoid dbus without going really far out of your way these days. Unless something better comes along it's going to be the Linux messaging passing system.
- majewsky 7y agoThe wlroots developers have proposed protocols for screen grabbing etc. which are already supported by some window managers (e.g. Sway) and by some applications. https://github.com/swaywm/wlr-protocols https://github.com/swaywm/wlr-protocols