[CentOS] CentOS 6 and screenshot of website

Walter Haidinger walter at doxlock.com
Thu Jan 5 10:17:00 UTC 2012

Am 05.01.2012 09:19, schrieb Jani Ollikainen:
> Yes, the need was for automated command line tool which I can use
> without requiring any user interaction.

Use option -id or -name of xwd(1) to specify the window, e.g:
xwd -id 0xc000c5 | xwdtopnm | pnmtojpeg > win.jpg

To find the id or name, parse the output of:
xwininfo -root -children


More information about the CentOS mailing list