I hadn’t heard about hybrid suspend until reading this article at WebUPD8.org. I’d used the standard sleep mode most of the time. I enabled hibernate on my laptop as I mentioned here.

This hybrid sleep is pretty great. I put the laptop to sleep normally, either by command or closing the lid while unplugged from power. After 15 minutes by default the laptop will go into hibernation, saving battery power.

Some comments on the original post have mentioned there could be a risk if you have a traditional hard drive versus SSD. This could indeed cause an issue if your laptop is moving (in a bad, under an arm, etc.) while it transitions into hibernation mode. Use at your own risk.

Also, you must have a swap partition of sufficient size. If you followed the default at install you’re probably safe. If you opted for no swap (a mistake in my opinion) this will not work.

Here are the steps, paraphrased from WebUPD8.org:

From the CLI, execute:

sudo pm-is-supported --suspend-hybrid && echo "hybrid suspend is supported" || echo "your system doesn't support hybrid suspend"

Depending on how the command returns you can proceed.

You need to create a file as root called

/etc/pm/config.d/00-use-suspend-hybrid

Here’s what you need to put in it:

# Always use suspend_hybrid instead of suspend
if [ "$METHOD" = "suspend" ]; then
METHOD=suspend_hybrid
fi
# time in seconds until hibernate (suspend to disk) occurs; 900 means 15 minutes
# Edit this value to your preferred delay
PM_HIBERNATE_DELAY=900

And that’s it! If your laptop doesn’t support hibernation at all this will not work.

Some folks in the comments thread mentioned a risk of overheating, but I’m skeptical that there is any real concern there.

Let me know how it goes for you!

I use Pidgin for IM. I really like that it has an IBM/Lotus SameTime integration plugin called “MeanWhile”.

It’s not perfect. Pidgin’s MeanWhile doesn’t handle logged in users properly.

To fix that on Ubuntu, go here, and download the package for your install – 32-bit or 64-bit. Then execute

sudo dpkg -i libmeanwhile1-1.0.2-3*

… and restart Pidgin. You may need to hold or lock the libmeanwhile package from an update.

There’s an outstanding issue about file transfers that still requires a solution.

No spoilers, I think.

I caught a showing of Wes Anderson’s ‘Moonrise Kingdom’. “Its the story of two twelve-year-olds who fall in love, make a secret pact, and run away together into the wilderness.” (Rotten Tomatoes)

What a wonderful movie. I was caught off guard. What Boy Scout nerd wouldn’t be taken by this film, even two decades plus removed from the scouts?

I liked the Wes Anderson-isms – the long pregnant pauses, the animation, the scene construction, the characters, the use of sound and music. The 12-year-old me I imperfectly archive reveled in this film.

See this movie.

The steps for a multi-head display I laid out do, in fact, work. I have run two external DisplayPort displays plus the laptop’s built-in display in Ubuntu 12.04. This worked okay in Unity, not so well in KDE (the Display app, while powerful, can’t do simple things easily), and nearly flawlessly in Gnome.

Multi-head display doesn’t work all of the time, however. Black displays, where the screen is lit black and the monitor is detected but nothing shows, happens. There’s no reconfiguration short of a power off that fixes this.

That’s where hibernation seems to come in.

UPDATE: I have a better way to test for and enable hibernation.

In a cli, execute:

sudo pm-is-supported --hibernate && echo "hibernation is supported" || echo "your system doesn't support hibernation"

If it says “hibernation is supported” you can proceed.

As root using your favorite editor edit the following file:

/etc/polkit-1/localauthority/50-local.d/com.ubuntu.enable-hibernate.pkla

Add the following to the file:

[Enable Hibernate]
 Identity=unix-user:*
 Action=org.freedesktop.upower.hibernate
 ResultActive=yes

Save the file. Log out and log back in again. Hibernate should now be an option in your system menu.

For more information and context read the steps from the How-To Geek on Re-Enabling Hibernate in Ubuntu 12.04 (which I borrowed from).

If you can enable hibernate, do so.

This recipe has worked for me at work several times without me having to lose work.

Note that I have two older Acer brand displays at home that don’t seem to play nice with any configuration. If you possess similar kit you may encounter the same hurdles.

Let me know if this works for you, or if you have a better approach like my post on enabling hybrid suspend here.