Re: Wayland screen capture

On Mon, 2018-04-30 at 17:29 +0200, Jonas Ådahl wrote:
On Mon, Apr 30, 2018 at 04:23:51PM +0100, David Woodhouse wrote:
On Mon, 2018-04-30 at 17:18 +0200, Jonas Ådahl wrote:

On Wayland, you should use the API provided by xdg-desktop-portal:
org.freedesktop.portal.ScreenCast. It is not directly related to X11
though, and should work the same no matter what windowing system you
use. Read more about it here:

Thanks. That looks reasonable to implement, at least for full-screen
sharing. I'll come back to individual windows later. If I update to
Fedora 28 do all those instructions about having to rebuild stuff for
myself and enable the features go away?

Right, no need to rebuild anything.

 $ gsettings get org.gnome.mutter experimental-features
['screen-cast', 'remote-desktop']
 $ python3 
Traceback (most recent call last):
  File "", line 51, in <module>
  File "/usr/lib64/python3.6/site-packages/dbus/", line 145, in __call__
  File "/usr/lib64/python3.6/site-packages/dbus/", line 651, in call_blocking
    message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.Failed: Failed to start screen cast: Couldn't 
connect pipewire remote


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]