Take screen shot of a specific window on linux
Posted on 2010-11-27
I need to take a bunch of screenshots and I'm working on a script to automate the process. I'm currently trying to do this with imagemagick but I'm open to suggestions for other tools.
I want to take a screenshot of a specific window regardless of where it is on the desktop (foreground background) and regardless of which panel it's in.
Using the -window option with imagemagick, it seems to require that the target window has to be in the foreground and it has to be in the same window as the terminal where the script was run.