XCap is a cross-platform screen capture library written in Rust. It supports Linux (X11, Wayland), MacOS, and Windows. XCap supports screenshot and video recording (to be implemented).
I am running WSL2(Ubuntu 20.04) with the correct setup to run GUI passthrough to Windows 10 (X Server).
I get these errors when attempting to call capture_image on a &Monitor.
** (xdg-desktop-portal-gtk:29533): WARNING **: <ommited>: Unhandled parent window type
** (xdg-desktop-portal-gtk:29533): WARNING **: <ommited>: Failed to associate portal window with parent window ''
Failed to get screenshot: Cannot invoke method; proxy is for the well-known name org.gnome.Shell.Screenshot without an owner, and proxy was constructed with the G_DBUS_PROXY_FLAGS_DO_NOT_AUTO_START flag
Hopefully someone has some information on how to correct this; as all my other applications that interact with the passthrough are working as expected. Thanks.
Hello,
I am running WSL2(Ubuntu 20.04) with the correct setup to run GUI passthrough to Windows 10 (X Server).
I get these errors when attempting to call
capture_image
on a&Monitor
.Hopefully someone has some information on how to correct this; as all my other applications that interact with the passthrough are working as expected. Thanks.