Closed ilyai closed 7 months ago
Also, XWayland does not seem to be available on the WebOS OSE build for r-pi
webOS doesn't work on X11 environment. Please see http://forum.webosose.org/t/capturing-screenshots-on-webos/326/5 for capture API
@chbae any update on this?
Use one of the followings:
luna-send -f -n 1 luna://com.webos.surfacemanager/captureCompositorOutput '{"format":"JPG","displayId":0,"output":"/tmp/screenshots/before.jpg"}'
Ctrl
+ Shift
+ Alt
+ F9
I'm wondering what methods are available for taking screenshots in png or jpeg format. I've searched there: http://webosose.org/develop/ls2-api/ls2-api-reference/ and couldn't find any related method.
In X11 environment our application is able to take screenshots using AWT, but on WebOS it's not working.
The error I'm getting is:
Also tried ':0.0' value for DISPLAY variable, same error.