On Fri, Jul 16, 2010 at 4:51 PM, Linux Lingam <[email protected]> wrote: > dear all, > > i'd love to drift to sleep listening to some audio or music playing via > mplayer on my ubuntu 9.04, > but obviously, once asleep, don't want to get up to quit mplayer and > shutdown the laptop. > likewise, i'd also love to wake up to mplayer after the laptop autoboots > into ubuntu. > > any way of doing this automagically? > > the first may be easy, but the second a tad difficult > as my laptop uses rEFIT on the macbookpro.
Dont know about macworld but in PC it is possible... You can shutdown the the PC at a specific time and then use ACPI's Real Time Clock (RTC) to wake up the machine at a specific time. Wake is possible in all linux kernels from 2.6.22 onwards. Th generic instructions to configure wakeup are available in http://www.mythtv.org/wiki/ACPI_Wakeup (though instructions are for mythTV, but work on generic linux distros too) An alarm is always easier to configure :) regards Vivek -- The hidden harmony is better than the obvious!! -- ubuntu-in mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-in
