As GUI applications proliferate, it becomes important to take screenshots, both to document your actions and to report unexpected results. Linux supports several tools for grabbing screenshots.
Taking screenshots from the terminal
Getting ready
This section will describe the xwd application and a tool from ImageMagick, which was used in the previous recipe. The xwd application is usually installed with the base GUI. You can install ImageMagick using your package manager.
How to do it...
The xwd program extracts visual information from a window, converts it into X Window Dump format, and prints the data to stdout....