Thursday, May 31, 2012

Sunday, May 27, 2012

Washing the car

Monday, May 21, 2012

Snoozin'

Saturday, May 19, 2012

Rain

Monday, May 14, 2012

Scheduling automatic startup (and shutdown) in Ubuntu

I liked the idea of having my Ubuntu machine startup in time for my arrival at the office. Here's how it's done:

1) Enable your RTC in the BIOS, setting your desired wake-up time
2) Use the rtcwake command to tell the machine when to wake up. Two variants of this:

sudo rtcwake -s 54000 -m disk

will wake the PC in 15 hours, after immediately doing a hibernate, or

sudo rtcwake -s 54000 -m no

will do a wake in 15 hours but nothing more. I like this latter way since I can then also schedule a shutdown using a package such as qshutdown

I did toy with nvram-wakeup, which is useful for setting the RTC while you're running Ubuntu.

More here http://askubuntu.com/questions/61708/automatically-sleep-and-wake-up-at-specific-times

And if you get the Grub menu after resuming, the fix is here.

Saturday, May 12, 2012

In a league of his own

Friday, May 11, 2012

5.45 am...

And I hear a faint rendition of 'Head and shoulders, knees and toes'. When Liam says 'Dada, let's get up. Pleeease.', how can I refuse?

Tuesday, May 08, 2012

Thursday, May 03, 2012

Farmer Liam