IMX8QMMEK - weston - 5.0.0 - how to take screenshot and screen record

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

IMX8QMMEK - weston - 5.0.0 - how to take screenshot and screen record

ソリューションへジャンプ
7,187件の閲覧回数
Jino
Contributor I

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.

0 件の賞賛
返信
1 解決策
7,176件の閲覧回数
b36401
NXP Employee
NXP Employee

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.

元の投稿で解決策を見る

0 件の賞賛
返信
3 返答(返信)
7,157件の閲覧回数
Jino
Contributor I

Hi, Thanks for the reply. We tried an another way to get it done. Since our application is running in Qt, we used the Qt's grabWindow() to achieve the task. It is working fine. Thank you.

3,441件の閲覧回数
Apurvagajjar
Contributor I

Can you give me that qt example how to take screenshot in wayland display?

0 件の賞賛
返信
7,177件の閲覧回数
b36401
NXP Employee
NXP Employee

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.

0 件の賞賛
返信