<?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: Enabling the Sleep button on a Dell laptop in Kubuntu Karmic</title>
	<atom:link href="http://www.tolaris.com/2009/11/10/enabling-the-sleep-button-on-a-dell-laptop-in-kubuntu-karmic/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.tolaris.com/2009/11/10/enabling-the-sleep-button-on-a-dell-laptop-in-kubuntu-karmic/</link>
	<description>Back off, man. I'm a scientist.</description>
	<lastBuildDate>Wed, 03 Mar 2010 22:54:18 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: tyler</title>
		<link>http://www.tolaris.com/2009/11/10/enabling-the-sleep-button-on-a-dell-laptop-in-kubuntu-karmic/comment-page-1/#comment-151</link>
		<dc:creator>tyler</dc:creator>
		<pubDate>Tue, 02 Mar 2010 10:38:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.tolaris.com/?p=609#comment-151</guid>
		<description>Thanks, Juliano.  That is indeed better.</description>
		<content:encoded><![CDATA[<p>Thanks, Juliano.  That is indeed better.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Juliano</title>
		<link>http://www.tolaris.com/2009/11/10/enabling-the-sleep-button-on-a-dell-laptop-in-kubuntu-karmic/comment-page-1/#comment-150</link>
		<dc:creator>Juliano</dc:creator>
		<pubDate>Tue, 02 Mar 2010 02:28:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.tolaris.com/?p=609#comment-150</guid>
		<description>There is a much simpler way of doing that, without sudo, helper scripts, etc... it also plays nice with the desktop environment (it has time to disconnect online services before calling pm-suspend).

1. Go to System Settings -&gt; Input Actions.
2. Click Edit -&gt; New -&gt; Global Shortcut -&gt; D-Bus Command.
3. Set a name for this action, assign the trigger to the &quot;Sleep&quot; button.
4. Set the D-Bus action to:

  Remote application: org.freedesktop.PowerManagement
  Remote object: /org/freedesktop/PowerManagement
  Function: org.freedesktop.PowerManagement.Suspend
  Arguments:

Save and test.</description>
		<content:encoded><![CDATA[<p>There is a much simpler way of doing that, without sudo, helper scripts, etc&#8230; it also plays nice with the desktop environment (it has time to disconnect online services before calling pm-suspend).</p>
<p>1. Go to System Settings -&gt; Input Actions.<br />
2. Click Edit -&gt; New -&gt; Global Shortcut -&gt; D-Bus Command.<br />
3. Set a name for this action, assign the trigger to the &#8220;Sleep&#8221; button.<br />
4. Set the D-Bus action to:</p>
<p>  Remote application: org.freedesktop.PowerManagement<br />
  Remote object: /org/freedesktop/PowerManagement<br />
  Function: org.freedesktop.PowerManagement.Suspend<br />
  Arguments:</p>
<p>Save and test.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tyler</title>
		<link>http://www.tolaris.com/2009/11/10/enabling-the-sleep-button-on-a-dell-laptop-in-kubuntu-karmic/comment-page-1/#comment-137</link>
		<dc:creator>tyler</dc:creator>
		<pubDate>Mon, 25 Jan 2010 04:52:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.tolaris.com/?p=609#comment-137</guid>
		<description>Gabor, it sounds like you don&#039;t have the sudo permissions working.  If you run it in Konsole and it works after prompting you for your password, then this is the problem.  Most likely when you run it from the KDE menu, it is hanging on the sudo prompt.</description>
		<content:encoded><![CDATA[<p>Gabor, it sounds like you don&#8217;t have the sudo permissions working.  If you run it in Konsole and it works after prompting you for your password, then this is the problem.  Most likely when you run it from the KDE menu, it is hanging on the sudo prompt.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gabor</title>
		<link>http://www.tolaris.com/2009/11/10/enabling-the-sleep-button-on-a-dell-laptop-in-kubuntu-karmic/comment-page-1/#comment-136</link>
		<dc:creator>Gabor</dc:creator>
		<pubDate>Sun, 24 Jan 2010 20:46:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.tolaris.com/?p=609#comment-136</guid>
		<description>Strange, but it does not work for me. I made everything you wrote, but when I lunch either the script, or &quot;sudo /usr/sbin/pm-suspend&quot; from KDE menu, it doesn&#039;t do anything. In contrast, I can run it from Konsol, and it is OK, suspends/hibernates correctly without asking the password. Do you have an idea, what&#039;s wrong? (KDE 4.3.2, Kubuntu 9.10 Karmic)</description>
		<content:encoded><![CDATA[<p>Strange, but it does not work for me. I made everything you wrote, but when I lunch either the script, or &#8220;sudo /usr/sbin/pm-suspend&#8221; from KDE menu, it doesn&#8217;t do anything. In contrast, I can run it from Konsol, and it is OK, suspends/hibernates correctly without asking the password. Do you have an idea, what&#8217;s wrong? (KDE 4.3.2, Kubuntu 9.10 Karmic)</p>
]]></content:encoded>
	</item>
</channel>
</rss>
