<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>scrot | Learn C Games Programming Blog</title>
	<atom:link href="https://learncgames.com/tag/scrot/feed/" rel="self" type="application/rss+xml" />
	<link>https://learncgames.com</link>
	<description>A blog about C, programming games and my ebook(s).</description>
	<lastBuildDate>Sat, 20 Jun 2020 09:02:11 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>

<image>
	<url>https://learncgames.com/wp-content/uploads/2020/03/cropped-favicon-32x32.png</url>
	<title>scrot | Learn C Games Programming Blog</title>
	<link>https://learncgames.com</link>
	<width>32</width>
	<height>32</height>
</image> 
<site xmlns="com-wordpress:feed-additions:1">181446779</site>	<item>
		<title>A pleasant surprise &#8211; scrot handles multiple screens</title>
		<link>https://learncgames.com/a-pleasant-surprise-scrot-handles-multiple-screens/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=a-pleasant-surprise-scrot-handles-multiple-screens</link>
		
		<dc:creator><![CDATA[David]]></dc:creator>
		<pubDate>Tue, 23 Jun 2020 23:00:36 +0000</pubDate>
				<category><![CDATA[raspberry-pi]]></category>
		<category><![CDATA[Techniques]]></category>
		<category><![CDATA[scrot]]></category>
		<guid isPermaLink="false">https://learncgames.com/?p=862</guid>

					<description><![CDATA[<p>My Raspberry Pi now has both a 7&#8243; touchscreen and a 24&#8243; monitor working at the same time. Most work is done on the big screen but the smaller display is for testing. I&#8217;ve reconfigured it so the menu is on the bigger screen, it makes more sense. For quick and dirty screen shots, I [&#8230;]</p>
The post <a href="https://learncgames.com/a-pleasant-surprise-scrot-handles-multiple-screens/">A pleasant surprise – scrot handles multiple screens</a> first appeared on <a href="https://learncgames.com">Learn C Games Programming Blog</a>.]]></description>
										<content:encoded><![CDATA[<div class='__iawmlf-post-loop-links' style='display:none;' data-iawmlf-post-links='[{&quot;id&quot;:651,&quot;href&quot;:&quot;https:\/\/en.wikipedia.org\/wiki\/Scrot&quot;,&quot;archived_href&quot;:&quot;http:\/\/web-wp.archive.org\/web\/20260206171301\/https:\/\/en.wikipedia.org\/wiki\/Scrot&quot;,&quot;redirect_href&quot;:&quot;&quot;,&quot;checks&quot;:[{&quot;date&quot;:&quot;2026-02-22 04:24:01&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-03-08 19:25:31&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-03-13 14:04:59&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-03-29 01:02:05&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-04-05 17:47:03&quot;,&quot;http_code&quot;:200}],&quot;broken&quot;:false,&quot;last_checked&quot;:{&quot;date&quot;:&quot;2026-04-05 17:47:03&quot;,&quot;http_code&quot;:200},&quot;process&quot;:&quot;done&quot;}]'></div>
<p><img fetchpriority="high" decoding="async" class="alignleft size-full wp-image-863" src="https://learncgames.com/wp-content/uploads/2020/06/scrot.png" alt="Scrot screenshot of two monitosr" width="450" height="165" srcset="https://learncgames.com/wp-content/uploads/2020/06/scrot.png 450w, https://learncgames.com/wp-content/uploads/2020/06/scrot-300x110.png 300w" sizes="(max-width: 450px) 100vw, 450px" />My Raspberry Pi now has both a 7&#8243; touchscreen and a 24&#8243; monitor working at the same time. Most work is done on the big screen but the smaller display is for testing. I&#8217;ve reconfigured it so the menu is on the bigger screen, it makes more sense.</p>
<p>For quick and dirty screen shots, I use <a title="Link to Wikipedia about scrot" href="https://en.wikipedia.org/wiki/Scrot" target="_blank" rel="nofollow noopener noreferrer">scrot (</a><em>the name is derived from <strong>SCR</strong>eensh<strong>OT</strong></em><a title="Link to Wikipedia about scrot" href="https://en.wikipedia.org/wiki/Scrot" target="_blank" rel="nofollow noopener noreferrer">)</a>. I&#8217;m fairly certain this was included with the operating system as it was installed, it wasn&#8217;t anything I added. What I didn&#8217;t expect was that it would capture both screens and put them in the one image. It fills the gap with a copy of the smaller screen.</p>
<p>Scrot is fine for most stuff but I thought that if I wanted to capture things like menus then I was going to install another utility that offered a time delay but digging a bit deeper, it turns out that scrot can do that as well. As with most Linux programs,</p>
<pre>scrot --help</pre>
<p>Gives you a list of commands and there&#8217;s a -d (or &#8211;delay) NUM which pauses NUM seconds before doing the grab. Other options let you do a countdown (-c), capture with border (-b)  and you can even have it run another program (-e) on the screenshot. Handy if you had it running unattended on a cron job and wanted to email the grab.</p>
<p>There&#8217;s a bit more but I&#8217;ll leave that for you to investigate.</p>The post <a href="https://learncgames.com/a-pleasant-surprise-scrot-handles-multiple-screens/">A pleasant surprise – scrot handles multiple screens</a> first appeared on <a href="https://learncgames.com">Learn C Games Programming Blog</a>.]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">862</post-id>	</item>
	</channel>
</rss>
