Hello, we would like to use the screenshot command from Ubuntu Frame to capture the screen of our device (Ubuntu Core-based, custom image), which we will use for remote diagnosis purposes.
Hi @aliihsan hey, how would you invoke ubuntu-frame.screenshot, though?
Our preferred approach here would be that you capture the screen through the Wayland socket (basically include a Wayland screenshotting tool in your snap), but caveat there is that you’d need to enable the right protocol.
There’s some discussion of how to do it, here - but that opens it up for all snaps connected to the socket, so make sure you only do this if you trust them all: