Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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.

share|improve this question
add comment

migrated from stackoverflow.com Mar 14 '11 at 10:24

This question came from our site for professional and enthusiast programmers.

1 Answer

You can do something similar with shutter.

However, it doesn't appear to be exactly what you're looking for (sadly), but it's the closest I could find.

  1. Install Shutter. Run sudo apt-get install shutter in your terminal.
  2. Select the applet in your menubar like shown below. Screenshot of
  3. Now, you can select the window that you want to have the screenshot taken of, and click on it's menu item.
  4. Now, Shutter will bring that window to the focus and take a screenshot.
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.