在wine(Linux)下运行的Windows应用程序的屏幕截图 [英] Screenshot of a windows application running under wine (linux)

查看:45
本文介绍了在wine(Linux)下运行的Windows应用程序的屏幕截图的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

就像标题中所说的那样,我想对在wine下运行的窗口应用程序进行截图.不是整个桌面.C是首选,但也可以使用Java或Pascal.

Like the title says, I want to take a screenshot of a window application running under wine. Not the entire desktop. C would be preferred but could also use java or Pascal.

预先感谢

推荐答案

使用Linux shell的可能方法:

A possible way with the Linux shell:

  • 使用xwininfo查找我们正在寻找的窗口ID
  • 使用导入功能转储屏幕截图
  • (有关更多信息,请阅读man import和man xwininfo)

酒的示例:

import -window `xwininfo -root -children | grep "Wine" | awk '{print $1}'` outfile.pcx

这篇关于在wine(Linux)下运行的Windows应用程序的屏幕截图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆