How do I screen-capture an inactive window?

Posted by Wassasin on Ask Ubuntu See other posts from Ask Ubuntu or by Wassasin
Published on 2011-03-13T11:43:39Z Indexed on 2011/03/14 16:21 UTC
Read the original article Hit count: 192

Filed under:

How can I screen-capture an inactive (minimized / on another workspace) window in Ubuntu?

Applications like ImageMagick's import are only able to capture active windows. When attempting to capture an inactive window, I get the following message:

unable to read X window image `<id>': Resource temporarily unavailable @ error/xwindow.c/XImportImage/5023.

Might be able to do this using Compiz, as it is able to render previews of inactive windows. Furthermore, in my specific case, the window I want to capture is run in a Wine Explorer-container. Inside that container the application is always active.

© Ask Ubuntu or respective owner

Related posts about wine