<?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 for Harsh but fair</title>
	<atom:link href="http://raetsel.wordpress.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://raetsel.wordpress.com</link>
	<description>Open source chicanery and the battle with my inner geek</description>
	<pubDate>Wed, 23 Jul 2008 21:41:51 +0000</pubDate>
	<generator>http://wordpress.org/?v=MU</generator>
		<item>
		<title>Comment on Snmpd filling up /var/log/messages by Simon Stanford</title>
		<link>http://raetsel.wordpress.com/2008/02/15/snmpd-filling-up-varlogmessages/#comment-2358</link>
		<dc:creator>Simon Stanford</dc:creator>
		<pubDate>Wed, 23 Jul 2008 19:26:18 +0000</pubDate>
		<guid isPermaLink="false">http://raetsel.wordpress.com/?p=57#comment-2358</guid>
		<description>That's a very good point Paul and something that has caught me out before.

I'll see if I can get "normal" quotes to appear using the &lt;code&gt;&lt;/code&gt; pairing in wordpress' mark up.

Oh and I feel I have to point out that if you cut and paste into a file using vi it doesn't barf ;o) ( It still won't work but it doesn't barf ). [ Long live the editor wars! ]</description>
		<content:encoded><![CDATA[<p>That&#8217;s a very good point Paul and something that has caught me out before.</p>
<p>I&#8217;ll see if I can get &#8220;normal&#8221; quotes to appear using the <code></code> pairing in wordpress&#8217; mark up.</p>
<p>Oh and I feel I have to point out that if you cut and paste into a file using vi it doesn&#8217;t barf ;o) ( It still won&#8217;t work but it doesn&#8217;t barf ). [ Long live the editor wars! ]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Snmpd filling up /var/log/messages by Paul</title>
		<link>http://raetsel.wordpress.com/2008/02/15/snmpd-filling-up-varlogmessages/#comment-2357</link>
		<dc:creator>Paul</dc:creator>
		<pubDate>Wed, 23 Jul 2008 19:22:58 +0000</pubDate>
		<guid isPermaLink="false">http://raetsel.wordpress.com/?p=57#comment-2357</guid>
		<description>i think the reason some folks have said that the quotes don't work is that if you copy and paste the actual code from this page, it grabs the 'fancy' quotes that wordpress substitutes for the stricter quotes that unix uses. that's what i found at least - when pasting into emacs, it barfed completely, interpreting the quote marks as escape/control commands within the editor!</description>
		<content:encoded><![CDATA[<p>i think the reason some folks have said that the quotes don&#8217;t work is that if you copy and paste the actual code from this page, it grabs the &#8216;fancy&#8217; quotes that wordpress substitutes for the stricter quotes that unix uses. that&#8217;s what i found at least - when pasting into emacs, it barfed completely, interpreting the quote marks as escape/control commands within the editor!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Internet Hotkeys by raetsel</title>
		<link>http://raetsel.wordpress.com/2008/04/12/internet-hotkeys/#comment-2356</link>
		<dc:creator>raetsel</dc:creator>
		<pubDate>Sun, 20 Jul 2008 15:21:23 +0000</pubDate>
		<guid isPermaLink="false">http://raetsel.wordpress.com/?p=59#comment-2356</guid>
		<description>Cheers D.J. a useful "undocumented feature" well at least as far as "man amarok" is concerned.

As you can read above I found a way to do play/pause using dcop but this won't work when amarok 2.0 comes out and uses dbus whereas presumable amarok -t will still work with amarok 2.0

Interesting choice of "-t" wonder what that stands for?</description>
		<content:encoded><![CDATA[<p>Cheers D.J. a useful &#8220;undocumented feature&#8221; well at least as far as &#8220;man amarok&#8221; is concerned.</p>
<p>As you can read above I found a way to do play/pause using dcop but this won&#8217;t work when amarok 2.0 comes out and uses dbus whereas presumable amarok -t will still work with amarok 2.0</p>
<p>Interesting choice of &#8220;-t&#8221; wonder what that stands for?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Internet Hotkeys by D.J. Capelis</title>
		<link>http://raetsel.wordpress.com/2008/04/12/internet-hotkeys/#comment-2355</link>
		<dc:creator>D.J. Capelis</dc:creator>
		<pubDate>Sun, 20 Jul 2008 13:35:38 +0000</pubDate>
		<guid isPermaLink="false">http://raetsel.wordpress.com/?p=59#comment-2355</guid>
		<description>amarok -t does play/pause</description>
		<content:encoded><![CDATA[<p>amarok -t does play/pause</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Snmpd filling up /var/log/messages by Robert Dohrenburg</title>
		<link>http://raetsel.wordpress.com/2008/02/15/snmpd-filling-up-varlogmessages/#comment-2354</link>
		<dc:creator>Robert Dohrenburg</dc:creator>
		<pubDate>Thu, 19 Jun 2008 22:11:34 +0000</pubDate>
		<guid isPermaLink="false">http://raetsel.wordpress.com/?p=57#comment-2354</guid>
		<description>Very helpful blog entry.

I tried your suggestion and it didn't work in my FC6 servers somehow the snmpd.options file was being ignored.

After inspecting the init script /etc/init.d/snmpd I found that this line &lt;strong&gt;[ -e /etc/snmp/snmpd.options ] &#38;&#38; . /etc/snmp/snmpd.options&lt;/strong&gt; was missing. After adding the line everything worked fine.

So part of the script should look like this:
&lt;code&gt;
OPTIONS="-Lsd -Lf /dev/null -p /var/run/snmpd -a"
RETVAL=0
prog="snmpd"

[ -e /etc/snmp/snmpd.options ] &#38;&#38; . /etc/snmp/snmpd.options
&lt;/code&gt;

Thanks for the tip!
Robert Dohrenburg</description>
		<content:encoded><![CDATA[<p>Very helpful blog entry.</p>
<p>I tried your suggestion and it didn&#8217;t work in my FC6 servers somehow the snmpd.options file was being ignored.</p>
<p>After inspecting the init script /etc/init.d/snmpd I found that this line <strong>[ -e /etc/snmp/snmpd.options ] &amp;&amp; . /etc/snmp/snmpd.options</strong> was missing. After adding the line everything worked fine.</p>
<p>So part of the script should look like this:<br />
<code><br />
OPTIONS="-Lsd -Lf /dev/null -p /var/run/snmpd -a"<br />
RETVAL=0<br />
prog="snmpd"</p>
<p>[ -e /etc/snmp/snmpd.options ] &amp;&amp; . /etc/snmp/snmpd.options<br />
</code></p>
<p>Thanks for the tip!<br />
Robert Dohrenburg</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Kubuntu Hardy Heron Upgrade by Temporization</title>
		<link>http://raetsel.wordpress.com/2008/04/28/kubuntu-hardy-heron-upgrade/#comment-2353</link>
		<dc:creator>Temporization</dc:creator>
		<pubDate>Thu, 19 Jun 2008 02:12:25 +0000</pubDate>
		<guid isPermaLink="false">http://raetsel.wordpress.com/?p=62#comment-2353</guid>
		<description>Somehow i missed the point. Probably lost in translation :) Anyway ... nice blog to visit.

cheers, Temporization.</description>
		<content:encoded><![CDATA[<p>Somehow i missed the point. Probably lost in translation <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> Anyway &#8230; nice blog to visit.</p>
<p>cheers, Temporization.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Snmpd filling up /var/log/messages by raetsel</title>
		<link>http://raetsel.wordpress.com/2008/02/15/snmpd-filling-up-varlogmessages/#comment-2351</link>
		<dc:creator>raetsel</dc:creator>
		<pubDate>Fri, 13 Jun 2008 15:03:29 +0000</pubDate>
		<guid isPermaLink="false">http://raetsel.wordpress.com/?p=57#comment-2351</guid>
		<description>Glad the article was helpful Robert, I'll have to revisit my settings in light of your findings as see what I get.</description>
		<content:encoded><![CDATA[<p>Glad the article was helpful Robert, I&#8217;ll have to revisit my settings in light of your findings as see what I get.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Snmpd filling up /var/log/messages by robert</title>
		<link>http://raetsel.wordpress.com/2008/02/15/snmpd-filling-up-varlogmessages/#comment-2350</link>
		<dc:creator>robert</dc:creator>
		<pubDate>Fri, 13 Jun 2008 13:46:29 +0000</pubDate>
		<guid isPermaLink="false">http://raetsel.wordpress.com/?p=57#comment-2350</guid>
		<description>First, I have found this article very helpful.  Thanks for writing.

I have found that the the "0-4 d" does not work.  Instead, to log messages of log level 4 or lower, you just need to have "4 d".

So, I use the following in /etc/snmp/snmpd.options:

OPTIONS="-LS 5 d -Lf /dev/null -p /var/run/snmpd.pid -a"

Level of 5 is LOG_NOTICE and does not log the annoying loopback UDP connections that are seen with level 6 (LOG_INFO).

Testing, you can see the difference in messages to /var/log/messages by incrementing the log levels and to compare the "0-4 d" to just "4 d".</description>
		<content:encoded><![CDATA[<p>First, I have found this article very helpful.  Thanks for writing.</p>
<p>I have found that the the &#8220;0-4 d&#8221; does not work.  Instead, to log messages of log level 4 or lower, you just need to have &#8220;4 d&#8221;.</p>
<p>So, I use the following in /etc/snmp/snmpd.options:</p>
<p>OPTIONS=&#8221;-LS 5 d -Lf /dev/null -p /var/run/snmpd.pid -a&#8221;</p>
<p>Level of 5 is LOG_NOTICE and does not log the annoying loopback UDP connections that are seen with level 6 (LOG_INFO).</p>
<p>Testing, you can see the difference in messages to /var/log/messages by incrementing the log levels and to compare the &#8220;0-4 d&#8221; to just &#8220;4 d&#8221;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on KDE4 Save Current Session - DBUS to the Rescue by raetsel</title>
		<link>http://raetsel.wordpress.com/2008/04/25/kde4-save-current-session-dbus-to-the-rescue/#comment-2347</link>
		<dc:creator>raetsel</dc:creator>
		<pubDate>Tue, 13 May 2008 15:24:28 +0000</pubDate>
		<guid isPermaLink="false">http://raetsel.wordpress.com/?p=61#comment-2347</guid>
		<description>Hi Edney,

I haven't really done anything with passing parameters to dbus-send etc. but a couple of things spring to mind.

Firstly would using the system bus work rather than the session bus :-

&lt;code&gt;dbus-send --system --type etc etc.&lt;/code&gt;

Or failing that can you find out the name of the user logged in and use the su -c command as root to send the info as that user? (Not ideal but might work):-

&lt;code&gt;LOGUSER=[ some code to work out the user ]
su - $LOGUSER -c dbus-send --system --type etc etc
&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>Hi Edney,</p>
<p>I haven&#8217;t really done anything with passing parameters to dbus-send etc. but a couple of things spring to mind.</p>
<p>Firstly would using the system bus work rather than the session bus :-</p>
<p><code>dbus-send --system --type etc etc.</code></p>
<p>Or failing that can you find out the name of the user logged in and use the su -c command as root to send the info as that user? (Not ideal but might work):-</p>
<p><code>LOGUSER=[ some code to work out the user ]<br />
su - $LOGUSER -c dbus-send &#8211;system &#8211;type etc etc<br />
</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on KDE4 Save Current Session - DBUS to the Rescue by Edney</title>
		<link>http://raetsel.wordpress.com/2008/04/25/kde4-save-current-session-dbus-to-the-rescue/#comment-2346</link>
		<dc:creator>Edney</dc:creator>
		<pubDate>Tue, 13 May 2008 02:58:03 +0000</pubDate>
		<guid isPermaLink="false">http://raetsel.wordpress.com/?p=61#comment-2346</guid>
		<description>Hi!

Nice article! I'm trying to grow from it to custom my acpi power button event to ask user to shutdown when button pressed. But I can't handle the fact that root can't send message to other users.I'm using

#usr/bin/dbus-send --session --type=method_call --dest=org.kde.ksmserver /KSMServer org.kde.KSMServerInterface.logout int32:1 int32:2 int32:0

this works fine when called from the user logged in, but not from root.

Do you know how to handle this situation?

Thanks.</description>
		<content:encoded><![CDATA[<p>Hi!</p>
<p>Nice article! I&#8217;m trying to grow from it to custom my acpi power button event to ask user to shutdown when button pressed. But I can&#8217;t handle the fact that root can&#8217;t send message to other users.I&#8217;m using</p>
<p>#usr/bin/dbus-send &#8211;session &#8211;type=method_call &#8211;dest=org.kde.ksmserver /KSMServer org.kde.KSMServerInterface.logout int32:1 int32:2 int32:0</p>
<p>this works fine when called from the user logged in, but not from root.</p>
<p>Do you know how to handle this situation?</p>
<p>Thanks.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
