Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to
LinuxQuestions.org , a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free.
Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please
contact us . If you need to reset your password,
click here .
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
10-10-2005, 02:12 AM
#1
Member
Registered: Jun 2005
Location: Washington
Distribution: Debian 6 (64 bit)
Posts: 784
Rep:
Simple Alarm Clock
Look at this simple command for an alarm clock I found, haha.
sleep FOOh && watch -n 1 aplay /usr/share/sounds/gaim/redalert.wav
Just replace the "FOO" with a number that will equal the number of hours before it goes off, and replace the redalert.wav with your own personal sound file.
Last edited by dudeman41465; 10-10-2005 at 02:34 AM .
10-10-2005, 03:42 AM
#2
Senior Member
Registered: Oct 2004
Posts: 1,183
Rep:
You could alsu use cron to have an alarm go off ever <insert regular time interval here>
10-12-2005, 09:40 AM
#3
Senior Member
Registered: Oct 2003
Location: Bonaire
Distribution: Debian Etch/Lenny/Squeeze
Posts: 3,485
Or "at" if you want to wake up only once.
Now who invents the "snooze" button?
jlinkels
10-12-2005, 10:02 AM
#4
Senior Member
Registered: Dec 2004
Location: Herzliyya, Israel
Distribution: SuSE 10.1; Testing Distros
Posts: 1,834
Rep:
nice command line! But I prefer xmms-alarm plugin
10-12-2005, 11:40 AM
#5
Member
Registered: Feb 2005
Location: Ontario, Canada
Distribution: Gentoo, Slackware
Posts: 345
Rep:
I like it!
It's slick.
10-12-2005, 11:47 AM
#6
Senior Member
Registered: Dec 2004
Location: Herzliyya, Israel
Distribution: SuSE 10.1; Testing Distros
Posts: 1,834
Rep:
Code:
slackerlx@linux:~> sleep F01h && watch -n 1 aplay /usr/share/sounds/gaim/redalert.wav
sleep: invalid time interval `F01h'
slackerlx@linux:~>
Care to give ab example of using F00
10-12-2005, 12:42 PM
#7
Member
Registered: Feb 2005
Location: Ontario, Canada
Distribution: Gentoo, Slackware
Posts: 345
Rep:
I think you're taking him too literally.
Replace FOO with your number.
So use
Quote:
sleep 1h && watch -n 1 aplay /usr/share/sounds/gaim/redalert.wav
10-12-2005, 01:03 PM
#8
Senior Member
Registered: Dec 2004
Location: Herzliyya, Israel
Distribution: SuSE 10.1; Testing Distros
Posts: 1,834
Rep:
tnx
Hmmm... I still think xmmx-alarm is better. Has exact time with minutes to set and playlist to choose. Starts sound with 25% and go up
Last edited by SlackerLX; 10-12-2005 at 01:05 PM .
10-12-2005, 01:08 PM
#9
Member
Registered: May 2005
Location: München, Germany
Distribution: Slackware
Posts: 386
Rep:
I use KAlarm (from Gnome
). Never failed to wake me up, EVER.
(I sleep like a corpse)
-A
10-12-2005, 01:37 PM
#10
Senior Member
Registered: Oct 2003
Posts: 3,057
Rep:
I have my sweetums wake me up and she's not built like Tux either.
Kinda like that song...
Wake me up early, be good to my dogs and teach my children to pray....
12-12-2005, 07:04 PM
#11
Member
Registered: Feb 2003
Location: Netherlands
Distribution: debian (sid)
Posts: 693
Rep:
i think the credit for that line up there goes to:
'jon "desplesda" manning" (
http://www.ids.org.au/~jam6/?m=200507 )
nice indeed though
10-06-2006, 11:33 PM
#12
Senior Member
Registered: Dec 2004
Location: Herzliyya, Israel
Distribution: SuSE 10.1; Testing Distros
Posts: 1,834
Rep:
Well, actually built-in alarm script in Amarok works exclusively good.
Thread Tools
Search this Thread
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
All times are GMT -5. The time now is 03:14 AM .
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know .
Latest Threads
LQ News