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

Walter


_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

Reply via email to