[ubuntu-in] ubuntu lullaby timer

Ramnarayan.K ramnarayan.k at gmail.com
Fri Jul 16 12:40:02 BST 2010


On Fri, Jul 16, 2010 at 7:21 AM, Linux Lingam <linuxlingam at gmail.com> 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 user at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ubuntu.com/archives/ubuntu-in/attachments/20100716/a94836fb/attachment.htm 


More information about the ubuntu-in mailing list