<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress.com" -->
<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/"
	>

<channel>
	<title>s2disk &amp;laquo; WordPress.com Tag Feed</title>
	<link>http://en.wordpress.com/tag/s2disk/</link>
	<description>Feed of posts on WordPress.com tagged "s2disk"</description>
	<pubDate>Sat, 02 Jan 2010 13:47:37 +0000</pubDate>

	<generator>http://en.wordpress.com/tags/</generator>
	<language>en</language>

<item>
<title><![CDATA[Fixing suspend and hibernation in ubuntu....]]></title>
<link>http://readthisaloud.wordpress.com/2007/12/20/fixing-suspend-and-hibernation-in-ubuntu/</link>
<pubDate>Thu, 20 Dec 2007 21:21:53 +0000</pubDate>
<dc:creator>Rock &#39;n Snap</dc:creator>
<guid>http://readthisaloud.wordpress.com/2007/12/20/fixing-suspend-and-hibernation-in-ubuntu/</guid>
<description><![CDATA[You might have noticed that the suspend and hibernation function in ubuntu/kubuntu won&#8217;t work.]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>You might have noticed that the suspend and hibernation function in ubuntu/kubuntu won&#8217;t work. While there&#8217;s no official fix, you might find this work around helpful, hope you enjoy!</p>
<p>Most people need hibernation for their laptops.<br />
step is to install a tool called «uswsusp»</p>
<ol>
<blockquote><p>sudo apt-get install uswsusp</p></blockquote>
</ol>
<p>And by typing the below command you check if the <b>suspend</b> function works now&#8230;.<br />
<code> sudo s2ram </code><br />
Same goes for <b>hibernation</b></p>
<p><code> sudo s2disk</code></p>
<p><!--more--><br />
Now once this is done, and all of the above commands work, they can be replaced with the old non-working commands that come with ubuntu.</p>
<p>But attention, before editing the system files, always make sure you back up the files in case something goes completely wrong.</p>
<p align="left"><code> sudo cp /usr/lib/hal/scripts/linux/hal-system-power-suspend-linux /usr/lib/hal/scripts/linux/hal-system-power-suspend-linux.bak</code></p>
<p align="left"><code>sudo cp /usr/lib/hal/scripts/linux/hal-system-power-hibernate-linux /usr/lib/hal/scripts/linux/hal-system-power-hibernate-linux.bak</code></p>
<p>2. step is to replace the old commands with the new commands in</p>
<p><b>hal-system-power-suspend-linux</b></p>
<p align="left"><code> sudo nano /usr/lib/hal/scripts/linux/hal-system-power-suspend-linux</code></p>
<p>paste the following:</p>
<ol>
<blockquote><p> #!/bin/sh<br />
/sbin/s2ram &#8211;force</p></blockquote>
</ol>
<p><b>hal-system-power-hibernate-linux</b></p>
<div align="left"><code>sudo nano /usr/lib/hal/scripts/linux/hal-system-power-hibernate-linux</code></div>
<p>paste the following again:</p>
<ol>
<blockquote><p> #!/bin/sh<br />
/sbin/s2disk</p></blockquote>
</ol>
<p>Good Luck, let me know if you come across any problems!</p>
</div>]]></content:encoded>
</item>

</channel>
</rss>
