How can I use my laptop as an Alarm Clock?
I have an old compaq laptop that had XP on it and currently has linux mint 17 on it.
I like to use it as an alarm clock - using alarm-clock-applet. I have it set to start rhythmbox and automatically shuffle my music. Is there a similar way that I can set that up with slackware? I've found the website for the program and could try compiling the program on slackware, but before I do that I figured I see if there's another way to do that. |
Are you using KDE on Slackware? If so, you can use kalarm. Type kalarm or /usr/bin/kalarm in a terminal to open it. If you get no response, it's not installed. If you are not using KDE, you didn't indicate what you are using so...?
|
Quote:
|
Not sure what you mean by 'simple was to set up', but depending upon your music files you can use a combination of at(1) and ogg123(1) to play a music file at a specified date/time. Maybe create a script to pass a shuffled playlist into ogg123 or another command line music player. Or even better use crontab(1) entries instead of at(1)
John |
You can use the Lightning plugin for Thunderbird. It has a calendar as well as an alarm function.
|
alarm.py
Code:
#!/usr/bin/python |
Quote:
Thanks guys for all of your advice and help. |
Quote:
|
I would suggest using this as the alarm sound:
# aplay /dev/sda |
Quote:
Code:
#!/usr/bin/python |
When I need an alarm in seven hours, I keep it simple:
Code:
# sleep 25200 ; xine something_raucous.mp3 |
If you'd prefer to not have to install anything and you don't mind a bit of Flash, you can use http://onlinealarmclock.ms/
|
If you're going to use Xfce, there's a panel plugin that I've written: xfce4-timer-plugin. You can set it to run a specific command.
|
To have a Real Alarm Clock (TM), the victim computer should have the ability to wake-up from stand-by, at specified time, a task available in some BIOS-es...
Then, after your Slack was booted at the right time, enter in the game Your Patented Noise System (TM). Or, you will leave the computer on, beyond the night? :p |
Wake Up! This is Unix.
Run:
Code:
$ arecord > /path/to/wakeUp.wav Code:
$ crontab -e Code:
0 7 * * * aplay /path/to/wakeUp.wav (All of you should wake up.) |
All times are GMT -5. The time now is 02:26 PM. |