<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: Screenshot:  How to get a screenshot in linux using command line tools: xwininfo, convert.</title>
	<atom:link href="http://www.microdevsys.com/WordPress/2008/01/15/screenshot-how-to-get-a-screenshot-in-linux-using-command-line-tools-xwininfo-convert/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.microdevsys.com/WordPress/2008/01/15/screenshot-how-to-get-a-screenshot-in-linux-using-command-line-tools-xwininfo-convert/</link>
	<description>Microcomputers - Development - Systems</description>
	<pubDate>Fri, 30 Jul 2010 01:45:16 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.2</generator>
		<item>
		<title>By: Tom Kacperski</title>
		<link>http://www.microdevsys.com/WordPress/2008/01/15/screenshot-how-to-get-a-screenshot-in-linux-using-command-line-tools-xwininfo-convert/#comment-2990</link>
		<dc:creator>Tom Kacperski</dc:creator>
		<pubDate>Sat, 11 Apr 2009 06:22:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.microworkshop.com/WordPress/?p=26#comment-2990</guid>
		<description>Hey imchairmanm,

Thanks for the followup.  Appreciated.

Yup.  You certainly can.  Can't recall now why I threw in xwininfo (I've used this command for what seamed like decades).  I suspect that either xwd didn't return proper windows results (ie was getting the ID differently which didn't work) or xwininfo was more reliable at the time (or simply threw in xwininfo as a reminder to myself on how to get window information - :D ).  I don't recall now.

Anyway, you can definitely use xwd without xwininfo as you pointed out.  :)

Thanks,</description>
		<content:encoded><![CDATA[<p>Hey imchairmanm,</p>
<p>Thanks for the followup.  Appreciated.</p>
<p>Yup.  You certainly can.  Can&#8217;t recall now why I threw in xwininfo (I&#8217;ve used this command for what seamed like decades).  I suspect that either xwd didn&#8217;t return proper windows results (ie was getting the ID differently which didn&#8217;t work) or xwininfo was more reliable at the time (or simply threw in xwininfo as a reminder to myself on how to get window information - <img src='http://www.microdevsys.com/WordPress/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> ).  I don&#8217;t recall now.</p>
<p>Anyway, you can definitely use xwd without xwininfo as you pointed out.  <img src='http://www.microdevsys.com/WordPress/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Thanks,</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: imchairmanm</title>
		<link>http://www.microdevsys.com/WordPress/2008/01/15/screenshot-how-to-get-a-screenshot-in-linux-using-command-line-tools-xwininfo-convert/#comment-2212</link>
		<dc:creator>imchairmanm</dc:creator>
		<pubDate>Sat, 14 Feb 2009 23:59:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.microworkshop.com/WordPress/?p=26#comment-2212</guid>
		<description>oops.  the "-out hi" should be "-out screenshot.pcx".  I was trying some examples and forgot to change that.  So the command I was asking about was:

xwd -out screenshot.pcx; convert -colors 256 -dither screenshot.pcx screenshot.jpg;if [ -f `pwd`"/screenshot.jpg" ]; then echo “File saved to ’screenshot.jpg’”; fi</description>
		<content:encoded><![CDATA[<p>oops.  the &#8220;-out hi&#8221; should be &#8220;-out screenshot.pcx&#8221;.  I was trying some examples and forgot to change that.  So the command I was asking about was:</p>
<p>xwd -out screenshot.pcx; convert -colors 256 -dither screenshot.pcx screenshot.jpg;if [ -f `pwd`"/screenshot.jpg" ]; then echo “File saved to ’screenshot.jpg’”; fi</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: imchairmanm</title>
		<link>http://www.microdevsys.com/WordPress/2008/01/15/screenshot-how-to-get-a-screenshot-in-linux-using-command-line-tools-xwininfo-convert/#comment-2211</link>
		<dc:creator>imchairmanm</dc:creator>
		<pubDate>Sat, 14 Feb 2009 23:56:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.microworkshop.com/WordPress/?p=26#comment-2211</guid>
		<description>Very interesting.  I like it.

I was looking through it and looking at all of the commands used however and I'm not sure why you need to use xwininfo at all.  xwd without the "-id" argument specified seems to give you the same + sign to choose the window and seems to produce the same results.  Why can't this just be shortened to:

xwd -out hi; convert -colors 256 -dither screenshot.pcx screenshot.jpg;if [ -f `pwd`"/screenshot.jpg" ]; then echo "File saved to ’screenshot.jpg’"; fi

That seems to work fine for me.  Is there a reason why using xwininfo is better?</description>
		<content:encoded><![CDATA[<p>Very interesting.  I like it.</p>
<p>I was looking through it and looking at all of the commands used however and I&#8217;m not sure why you need to use xwininfo at all.  xwd without the &#8220;-id&#8221; argument specified seems to give you the same + sign to choose the window and seems to produce the same results.  Why can&#8217;t this just be shortened to:</p>
<p>xwd -out hi; convert -colors 256 -dither screenshot.pcx screenshot.jpg;if [ -f `pwd`"/screenshot.jpg" ]; then echo &#8220;File saved to ’screenshot.jpg’&#8221;; fi</p>
<p>That seems to work fine for me.  Is there a reason why using xwininfo is better?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
<span style="color: #999999; font-size: 100%">Technorati Key: JDKEMU44HHYG</span>
