<?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: Score one for open source project docs</title>
	<atom:link href="http://blog.infinitechaos.com/2007/06/20/score-one-for-open-source-project-docs/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.infinitechaos.com/2007/06/20/score-one-for-open-source-project-docs/</link>
	<description>No magic here</description>
	<lastBuildDate>Sun, 06 Mar 2011 02:55:50 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
	<item>
		<title>By: cantante</title>
		<link>http://blog.infinitechaos.com/2007/06/20/score-one-for-open-source-project-docs/comment-page-1/#comment-446</link>
		<dc:creator>cantante</dc:creator>
		<pubDate>Wed, 06 Feb 2008 20:12:12 +0000</pubDate>
		<guid isPermaLink="false">http://infinitechaos.com/?p=207#comment-446</guid>
		<description>I got it to work.  I initially had the same errors as cloud858rk, but replacing all the fancy single and double quotes with normal single and double quotes in the command line fixed it.</description>
		<content:encoded><![CDATA[<p>I got it to work.  I initially had the same errors as cloud858rk, but replacing all the fancy single and double quotes with normal single and double quotes in the command line fixed it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: cloud858rk</title>
		<link>http://blog.infinitechaos.com/2007/06/20/score-one-for-open-source-project-docs/comment-page-1/#comment-388</link>
		<dc:creator>cloud858rk</dc:creator>
		<pubDate>Thu, 08 Nov 2007 01:39:56 +0000</pubDate>
		<guid isPermaLink="false">http://infinitechaos.com/?p=207#comment-388</guid>
		<description>Failed to setup match &quot;â€œtype=â€™signalâ€™,interface=â€™org.gnome.ScreenSaverâ€™,member=â€™SessionIdleChangedâ€™â€&quot;: Unknown key &quot;â€œtype&quot; in match rule

I don&#039;t think we can get it to work anymore...</description>
		<content:encoded><![CDATA[<p>Failed to setup match &#8220;â€œtype=â€™signalâ€™,interface=â€™org.gnome.ScreenSaverâ€™,member=â€™SessionIdleChangedâ€™â€&#8221;: Unknown key &#8220;â€œtype&#8221; in match rule</p>
<p>I don&#8217;t think we can get it to work anymore&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kyle</title>
		<link>http://blog.infinitechaos.com/2007/06/20/score-one-for-open-source-project-docs/comment-page-1/#comment-384</link>
		<dc:creator>kyle</dc:creator>
		<pubDate>Tue, 06 Nov 2007 03:24:11 +0000</pubDate>
		<guid isPermaLink="false">http://infinitechaos.com/?p=207#comment-384</guid>
		<description>My apologies.  You need two hyphens for the session parameter (as in the original post).</description>
		<content:encoded><![CDATA[<p>My apologies.  You need two hyphens for the session parameter (as in the original post).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: cloud858rk</title>
		<link>http://blog.infinitechaos.com/2007/06/20/score-one-for-open-source-project-docs/comment-page-1/#comment-383</link>
		<dc:creator>cloud858rk</dc:creator>
		<pubDate>Tue, 06 Nov 2007 01:36:17 +0000</pubDate>
		<guid isPermaLink="false">http://infinitechaos.com/?p=207#comment-383</guid>
		<description>I entered:  dbus-monitor â€“session â€œtype=â€™signalâ€™,interface=â€™org.gnome.ScreenSaverâ€™,member=â€™SessionIdleChangedâ€™â€

Then I got the error message:  Failed to setup match &quot;â€“session&quot;: Match rule has a key with no subsequent &#039;=&#039; character</description>
		<content:encoded><![CDATA[<p>I entered:  dbus-monitor â€“session â€œtype=â€™signalâ€™,interface=â€™org.gnome.ScreenSaverâ€™,member=â€™SessionIdleChangedâ€™â€</p>
<p>Then I got the error message:  Failed to setup match &#8220;â€“session&#8221;: Match rule has a key with no subsequent &#8216;=&#8217; character</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kyle</title>
		<link>http://blog.infinitechaos.com/2007/06/20/score-one-for-open-source-project-docs/comment-page-1/#comment-380</link>
		<dc:creator>kyle</dc:creator>
		<pubDate>Fri, 02 Nov 2007 13:52:00 +0000</pubDate>
		<guid isPermaLink="false">http://infinitechaos.com/?p=207#comment-380</guid>
		<description>Two possibilities come to mind.  First, you&#039;ll want to make sure that the script is actually running in the background.  The steps I told you earlier to add it to your session only take effect when you log out and back in (it won&#039;t start it if you&#039;re already logged in).

If you don&#039;t want to log out, press Alt+F2 to open the run dialog, type in the full path to the script, and click Run to start it.  You may want to verify it&#039;s running by opening a terminal (Applications -&gt; Accessories -&gt; Terminal) and using ps or pgrep to verify it (e.g. &quot;pgrep -l scriptname&quot;).

The other thought I had is that the screensaver is not generating the DBus events for the actions you tried.  You can verify it by opening a terminal and running the following command (and then activating the screensaver, locking it, etc.):

dbus-monitor --session &quot;type=&#039;signal&#039;,interface=&#039;org.gnome.ScreenSaver&#039;,member=&#039;SessionIdleChanged&#039;&quot;

It&#039;s the same command that the script will run, but you&#039;ll be able to see if the screensaver is sending the right events.</description>
		<content:encoded><![CDATA[<p>Two possibilities come to mind.  First, you&#8217;ll want to make sure that the script is actually running in the background.  The steps I told you earlier to add it to your session only take effect when you log out and back in (it won&#8217;t start it if you&#8217;re already logged in).</p>
<p>If you don&#8217;t want to log out, press Alt+F2 to open the run dialog, type in the full path to the script, and click Run to start it.  You may want to verify it&#8217;s running by opening a terminal (Applications -> Accessories -> Terminal) and using ps or pgrep to verify it (e.g. &#8220;pgrep -l scriptname&#8221;).</p>
<p>The other thought I had is that the screensaver is not generating the DBus events for the actions you tried.  You can verify it by opening a terminal and running the following command (and then activating the screensaver, locking it, etc.):</p>
<p>dbus-monitor &#8211;session &#8220;type=&#8217;signal&#8217;,interface=&#8217;org.gnome.ScreenSaver&#8217;,member=&#8217;SessionIdleChanged&#8217;&#8221;</p>
<p>It&#8217;s the same command that the script will run, but you&#8217;ll be able to see if the screensaver is sending the right events.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: cloud858rk</title>
		<link>http://blog.infinitechaos.com/2007/06/20/score-one-for-open-source-project-docs/comment-page-1/#comment-379</link>
		<dc:creator>cloud858rk</dc:creator>
		<pubDate>Fri, 02 Nov 2007 02:46:06 +0000</pubDate>
		<guid isPermaLink="false">http://infinitechaos.com/?p=207#comment-379</guid>
		<description>Thanks for you quick response, but I haven&#039;t gotten it to work yet.

I&#039;ve tried locking the screen by clicking the power icon (in the top right  corner of the screen), waiting for my screensaver to activate, and shutting my laptop (not to be confused with shutting it off).  I&#039;ve tried this on Pidgin (2.2.2, the newest version) and Gaim (2.0.0 Beta 6, the one that installed with Ubuntu).  I&#039;ve tried all the combinations of these, but it still hasn&#039;t worked.

The only instruction I had troubles with was &quot;chmod +x scriptfilename&quot;.  I replaced &quot;scriptfilename&quot; with the exact path the script was at, and typed it into the terminal.  The terminal didn&#039;t not give an error message or any hint that the file had changed to an executable correctly.

Instead of using the chmod command, I tried going into the file&#039;s properties (Right Click -&gt; Properties), going under the &quot;Permissions&quot; tab, and under &quot;Execute:&quot; I checked in &quot;Allow executing file as program&quot;.  But this still didn&#039;t help any.

Do you know what I&#039;m doing wrong?</description>
		<content:encoded><![CDATA[<p>Thanks for you quick response, but I haven&#8217;t gotten it to work yet.</p>
<p>I&#8217;ve tried locking the screen by clicking the power icon (in the top right  corner of the screen), waiting for my screensaver to activate, and shutting my laptop (not to be confused with shutting it off).  I&#8217;ve tried this on Pidgin (2.2.2, the newest version) and Gaim (2.0.0 Beta 6, the one that installed with Ubuntu).  I&#8217;ve tried all the combinations of these, but it still hasn&#8217;t worked.</p>
<p>The only instruction I had troubles with was &#8220;chmod +x scriptfilename&#8221;.  I replaced &#8220;scriptfilename&#8221; with the exact path the script was at, and typed it into the terminal.  The terminal didn&#8217;t not give an error message or any hint that the file had changed to an executable correctly.</p>
<p>Instead of using the chmod command, I tried going into the file&#8217;s properties (Right Click -&gt; Properties), going under the &#8220;Permissions&#8221; tab, and under &#8220;Execute:&#8221; I checked in &#8220;Allow executing file as program&#8221;.  But this still didn&#8217;t help any.</p>
<p>Do you know what I&#8217;m doing wrong?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kyle</title>
		<link>http://blog.infinitechaos.com/2007/06/20/score-one-for-open-source-project-docs/comment-page-1/#comment-378</link>
		<dc:creator>kyle</dc:creator>
		<pubDate>Fri, 02 Nov 2007 01:16:00 +0000</pubDate>
		<guid isPermaLink="false">http://infinitechaos.com/?p=207#comment-378</guid>
		<description>@cloud858rk:  You can save that script and mark it executable (chmod +x scriptfilename).  Then go to System -&gt; Preferences -&gt; Sessions and click Add on the Startup Programs tab.  Enter in a name you&#039;ll remember for the command and then browse for the script file.

GNOME (specifically gnome-session) will automatically start the script for you when you log in and it will run in the background listening for DBus events.

There were two downsides to that script.  One, I had to hardcode the away message in the script, and two, I never really confirmed this but I think if you have already set an away message and the screensaver activates, it will be overwritten by whatever the script has saved.</description>
		<content:encoded><![CDATA[<p>@cloud858rk:  You can save that script and mark it executable (chmod +x scriptfilename).  Then go to System -> Preferences -> Sessions and click Add on the Startup Programs tab.  Enter in a name you&#8217;ll remember for the command and then browse for the script file.</p>
<p>GNOME (specifically gnome-session) will automatically start the script for you when you log in and it will run in the background listening for DBus events.</p>
<p>There were two downsides to that script.  One, I had to hardcode the away message in the script, and two, I never really confirmed this but I think if you have already set an away message and the screensaver activates, it will be overwritten by whatever the script has saved.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: cloud858rk</title>
		<link>http://blog.infinitechaos.com/2007/06/20/score-one-for-open-source-project-docs/comment-page-1/#comment-377</link>
		<dc:creator>cloud858rk</dc:creator>
		<pubDate>Fri, 02 Nov 2007 00:59:20 +0000</pubDate>
		<guid isPermaLink="false">http://infinitechaos.com/?p=207#comment-377</guid>
		<description>I&#039;m interested in your script because when I close my laptop, Ubuntu (7.04) locks the screen.  And it would be really handy for Pidgin to set me to &quot;away&quot; when that happens.

But my question is:  How do I actually get this script to work?</description>
		<content:encoded><![CDATA[<p>I&#8217;m interested in your script because when I close my laptop, Ubuntu (7.04) locks the screen.  And it would be really handy for Pidgin to set me to &#8220;away&#8221; when that happens.</p>
<p>But my question is:  How do I actually get this script to work?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jon</title>
		<link>http://blog.infinitechaos.com/2007/06/20/score-one-for-open-source-project-docs/comment-page-1/#comment-352</link>
		<dc:creator>Jon</dc:creator>
		<pubDate>Fri, 20 Jul 2007 13:45:06 +0000</pubDate>
		<guid isPermaLink="false">http://infinitechaos.com/?p=207#comment-352</guid>
		<description>Cool. I&#039;m actually trying to achieve the exact opposite: invoke the screensaver when my pidgin status turns to away. Unfortunately purple-remote appears to be broken now. I&#039;ve achieved it by setting a buddy pounce on myself.</description>
		<content:encoded><![CDATA[<p>Cool. I&#8217;m actually trying to achieve the exact opposite: invoke the screensaver when my pidgin status turns to away. Unfortunately purple-remote appears to be broken now. I&#8217;ve achieved it by setting a buddy pounce on myself.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

