tag:blogger.com,1999:blog-1514795258871703434.post5620933661237470863..comments2023-10-05T06:47:34.462-06:00Comments on Mandriva Linux Chronicles: How to wake up to music with LinuxMechatotorohttp://www.blogger.com/profile/15816943718402270287noreply@blogger.comBlogger7125tag:blogger.com,1999:blog-1514795258871703434.post-27587262471716432432010-09-19T09:08:17.061-06:002010-09-19T09:08:17.061-06:00@ Nitesh Mistry,
Yes. I have auto login enabled....@ Nitesh Mistry,<br /><br />Yes. I have auto login enabled.Mechatotorohttps://www.blogger.com/profile/15816943718402270287noreply@blogger.comtag:blogger.com,1999:blog-1514795258871703434.post-64705587731089340832010-09-19T04:43:10.149-06:002010-09-19T04:43:10.149-06:00Do you need to set up auto login for this?Do you need to set up auto login for this?Geekosopherhttps://www.blogger.com/profile/04258268158791704054noreply@blogger.comtag:blogger.com,1999:blog-1514795258871703434.post-61232142581582304012010-09-19T01:57:24.995-06:002010-09-19T01:57:24.995-06:00You might also look at rtcwake command.You might also look at rtcwake command.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-1514795258871703434.post-21759834355076453072010-09-18T21:04:34.670-06:002010-09-18T21:04:34.670-06:00You guys are certainly knowledgeable. I'm a L...You guys are certainly knowledgeable. I'm a Linux beginner and my tutorial is aimed at beginners ;-)<br /><br />But thanks for the information. I'll give it a try!Mechatotorohttps://www.blogger.com/profile/15816943718402270287noreply@blogger.comtag:blogger.com,1999:blog-1514795258871703434.post-51270698850830665802010-09-18T08:31:09.275-06:002010-09-18T08:31:09.275-06:00When I would sleep at my computer (and wake up to ...When I would sleep at my computer (and wake up to it), I'd just use sleep:<br /><br />sleep 18000; play deathmetal.oggAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-1514795258871703434.post-39762096321289386492010-09-18T02:15:37.561-06:002010-09-18T02:15:37.561-06:00Or, assuming your machine is up anyway (my worksta...Or, assuming your machine is up anyway (my workstation fetches in email every five minutes -- that keeps things awake)... You can do it all on the commandline.<br /><br />Looking around, I see that 'wavplay' might not be in the repos, but there are commandline WAV players that are, so, if you're not up for the configure-make-make_install shuffle, substitute your own where I mention 'wavplay' here.<br /><br />To get more than one thing happening as your wakeup event, script them (I use an X-10 module to turn on the lights here). Here's a sample wakeup.sh:<br />#!/bin/bash<br />/usr/local/bin/x10 a5 on &<br /># let that light soak into tired eyes for 2 mins<br /># before the noise begins...<br />sleep 120<br />/usr/local/bin/wavplay -q /usr/share/sounds/loudnoise.wav <br />/usr/local/bin/mpg123 -q /home/user/Music/thrashmetal_wakerupper.mp3<br />export DISPLAY=:0 && /usr/bin/firefox<br /><br />To run it one time, use 'at':<br />$ at 03:00<br />warning: commands will be executed using /bin/sh<br />at>/usr/local/bin/wakeup.sh<br />^D<br />job 4 at Mon Sep 20 03:00:00 2010<br /><br />To run it every weekday morning, use 'cron'. Run 'crontab -e' to add this line to your crontab:<br />00 03 * * 1-5 /usr/local/bin/wakeup.shAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-1514795258871703434.post-72291183136348921372010-09-16T09:37:07.723-06:002010-09-16T09:37:07.723-06:00Nice tutorial...I've never used that feature, ...Nice tutorial...I've never used that feature, but I'm sure it is vital for other people.Megatotorohttps://www.blogger.com/profile/02268018256762186695noreply@blogger.com