XWD: how to take SCREENSHOTS in X WINDOW SYSTEM
A screenshot is an image taken from the monitor screen.
It could comprise whole screen or a smaller part of it, usually a window.
XWD TOOL
X Window System provides an utility to dump images from a X Window:
xwd
.xwd stores window images in a special format "xwdump".
This format can be used by other X tools too.
Other tools are also available:
convert from ImageMagick, KSnapshot, gnome-screenshot, ...
We install xwd (in debian, ubuntu):
$ sudo aptitude install x11-apps
CAPTURE WHOLE SCREEN
We could capture entire screen or some window only.
Whole screen in X Window System is associated also to a window: the root window.
Getting root window screenshots: