<?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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Turning Firefox into a web screensaver using a bash script</title>
	<atom:link href="http://mcmlxxii.co.uk/2009/04/19/turning-firefox-into-a-web-screensaver-using-a-bash-script/feed/" rel="self" type="application/rss+xml" />
	<link>http://mcmlxxii.co.uk/2009/04/19/turning-firefox-into-a-web-screensaver-using-a-bash-script/</link>
	<description></description>
	<lastBuildDate>Tue, 13 Mar 2012 15:53:12 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Alex</title>
		<link>http://mcmlxxii.co.uk/2009/04/19/turning-firefox-into-a-web-screensaver-using-a-bash-script/comment-page-1/#comment-1200</link>
		<dc:creator>Alex</dc:creator>
		<pubDate>Sat, 22 Oct 2011 06:08:40 +0000</pubDate>
		<guid isPermaLink="false">http://mcmlxxii.co.uk/?p=164#comment-1200</guid>
		<description>AutoHide doesn&#039;t seem to support the newer releases of Firefox.  Opera has a -fullscreen option out of the box.  Here&#039;s a variation on your script built for opera:


#!/bin/bash
if [ `ps -ef &#124; grep &quot;opera -fullscreen&quot; &#124; grep -v grep &#124; wc -l` -eq 0 ]
  then
  opera -fullscreen &amp;
  sleep 5
fi

while [ `ps -ef &#124; grep &quot;opera -fullscreen&quot; &#124; grep -v grep &#124; wc -l` -gt 0 ]; do

    urls=$(cat /etc/webscreen/pages)

    for i in $urls
        do
        opera -fullscreen -activetab -remote &quot;openURL($i,noraise)&quot;
        if [ $? -gt 0 ]; then
            echo &quot;Something is wrong, bailing out....&quot;
            killall opera
            exit 1
        fi
        sleep 15
        done
done
exit 0</description>
		<content:encoded><![CDATA[<p>AutoHide doesn&#8217;t seem to support the newer releases of Firefox.  Opera has a -fullscreen option out of the box.  Here&#8217;s a variation on your script built for opera:</p>
<p>#!/bin/bash<br />
if [ `ps -ef | grep "opera -fullscreen" | grep -v grep | wc -l` -eq 0 ]<br />
  then<br />
  opera -fullscreen &amp;<br />
  sleep 5<br />
fi</p>
<p>while [ `ps -ef | grep "opera -fullscreen" | grep -v grep | wc -l` -gt 0 ]; do</p>
<p>    urls=$(cat /etc/webscreen/pages)</p>
<p>    for i in $urls<br />
        do<br />
        opera -fullscreen -activetab -remote &#8220;openURL($i,noraise)&#8221;<br />
        if [ $? -gt 0 ]; then<br />
            echo &#8220;Something is wrong, bailing out&#8230;.&#8221;<br />
            killall opera<br />
            exit 1<br />
        fi<br />
        sleep 15<br />
        done<br />
done<br />
exit 0</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nick Nikiforakis</title>
		<link>http://mcmlxxii.co.uk/2009/04/19/turning-firefox-into-a-web-screensaver-using-a-bash-script/comment-page-1/#comment-1199</link>
		<dc:creator>Nick Nikiforakis</dc:creator>
		<pubDate>Mon, 17 Oct 2011 14:03:19 +0000</pubDate>
		<guid isPermaLink="false">http://mcmlxxii.co.uk/?p=164#comment-1199</guid>
		<description>Hi!,

I just wanted to let you know that your post has really helped me. I ended up controlling Firefox through Python, but your user_prefs are a lifesaver :)

Thanks!
Nick</description>
		<content:encoded><![CDATA[<p>Hi!,</p>
<p>I just wanted to let you know that your post has really helped me. I ended up controlling Firefox through Python, but your user_prefs are a lifesaver <img src='http://mcmlxxii.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Thanks!<br />
Nick</p>
]]></content:encoded>
	</item>
</channel>
</rss>

