On Fri, Jul 16, 2010 at 7:21 AM, 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.
>
> tried googling, but came across too many outofcontext pages.
>
> how about a simple cli command as below
$ sudo shutdown 8:00
[sudo] password for user:
Broadcast message from u...@klpt
(/dev/pts/0) at 7:36 ...
The system is going down for maintenance in 24 minutes!
**
so the command basically is
sudo shutdown "at whatever time"
and the machine will shutdown any open programmes and the computer
ram
--
ubuntu-in mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-in