Hi, I am working with IMX8QMMEK board. I am using xen-linux on the board(linux release 4.14.98-imx). It has the inbuilt wayland 1.16 and weston 5.0.0.
I want to take the screenshot and screen record. the process like "weston-screenshooter" expects "MOD+S" and "MOD+R" shortcut key input, and "vulkan-screenshot" expects "F2" shortcut key input. Unfortunately, I don't have keyboard connected nor my requirement to use keyboard. I want to take screenshot record within the program. So, I tried faking the key with "xte" application, but, weston does not respond at all.
I also tried third party applications to take screenshot, that too does not work. Please let me know any way around.
已解决! 转到解答。
You can use some commandline screenshot program like this:
https://github.com/wayland-project/weston/blob/master/clients/screenshot.c
I mean you can call it by a timer or by some signal from a script running in background.
You can use some commandline screenshot program like this:
https://github.com/wayland-project/weston/blob/master/clients/screenshot.c
I mean you can call it by a timer or by some signal from a script running in background.