boardix


Post New Topic  New Poll  Post A Reply
my profile | directory login | | search | faq | forum home
  next oldest topic   next newest topic
» boardix   » Groups   » Codecrave   » Gnome Alarm Clock 0.0.1 for Linux

 - UBBFriend: Email this page to someone!    
Author Topic: Gnome Alarm Clock 0.0.1 for Linux
Princevermont
Workin Man
Member # 4

 - posted      Profile for Princevermont     Send New Private Message       Edit/Delete Post   Reply With Quote 
I have started tinkering around with C in linux in hopes of creating a very nice alarm program. I have searched around and really didnt find anything that did what I wanted. Although I am calling this Gnome Alarm Clock because I was unable to find any other program with that name, and I am going to be using GTK for the GUI, therefore making it more gnome specific, it does not currently utilize a GUI so dont be expecting one.
Current features:
-sounds an alarm at specified time
-12 hour time format only
-utilizes MPG123 to play the sound(MP3) file

Dream features:
-can play Wav, mp3 or many other types
-can do buzzing alarm also
-spacebar turns it off / adjustable snooze
-12/24 hour time format choice
-an actual GUI
-scheduling (different alarm times each day of the week)
-gnome notification area integration
-save/restore preferences/alarms/etc so you dont have to enter the stuff each time

here it is, in all 63 lines of coded glory:
https://netfiles.uiuc.edu/areinke/www/gnome-alarm-clock-0.0.1.tar.gz

NOTE:!!! it doesnt create its own folder when you uncompress it, so make a folder and then drop the tar.gz in there then untar/gz it.

-must type in 2 digits for hour, for example 8AM alarm wanted must be typed as "08"
-no spaces in mp3 name ( it will work if you do that crazy slashes before spaces thing though)

--------------------
Ubuntu 10.10 ::: 10/10/10
 -

Posts: 884 | From: Lisle, IL | Registered: Apr 2002  |  IP: Logged
Princevermont
Workin Man
Member # 4

 - posted      Profile for Princevermont     Send New Private Message       Edit/Delete Post   Reply With Quote 
ooh also you need to have mpg123 installed and somewhere in the PATH (slackware since 8.0 do I know)

--------------------
Ubuntu 10.10 ::: 10/10/10
 -

Posts: 884 | From: Lisle, IL | Registered: Apr 2002  |  IP: Logged
Princevermont
Workin Man
Member # 4

 - posted      Profile for Princevermont     Send New Private Message       Edit/Delete Post   Reply With Quote 
well, that crap from before sucked. now i have real GUI (using GTK+-2.0). This was mainly a learning experience for me, but now the program is actually usable for others. Please let me know of any bugs you find. It is simple enough (~500 lines) that i shouldnt have too many, but you never know.

Here is a screenshot

 -

features:
*plays MP3 of your choice.
*adjustable snooze
*nice large digital-looking time
*alarm will only go off if "active" is clicked
*uses free mpg123 program to play file
*any key becomes snooze button when alarm is going off (mainly for the spacebar) except ESC and a few others.

this release is for LINUX, type "make" in the folder after unzipping to build. make executable if necessary, and ./gnome-alarm-clock to run. There is no installer yet. Programmed on Slackware 10.1 with GTK+-2.0 (C++ and C mixed), compile as C++. get it here:

https://netfiles.uiuc.edu/areinke/www/gac-0.14.tar.gz?uniq=-8mh006

--------------------
Ubuntu 10.10 ::: 10/10/10
 -

Posts: 884 | From: Lisle, IL | Registered: Apr 2002  |  IP: Logged
Griegs
Member
Member # 119

 - posted      Profile for Griegs     Send New Private Message       Edit/Delete Post   Reply With Quote 
I use a program like this, but you can set many at a time and more imporantly for different dates. However, it lacks the snooze function, I just usually smack my laptop like any other alarm clock and it usually stops.

--------------------
"Okay---so what is your point in doing any of this? Most people would sooner kill a person than an animal---most of us know that, I don't see that you're saying anything new or original."

Posts: 1931 | From: Champaign | Registered: Sep 2003  |  IP: Logged


 
Post New Topic  New Poll  Post A Reply Close Topic   Feature Topic   Move Topic   Delete Topic next oldest topic   next newest topic
 - Printer-friendly view of this topic
Hop To:

kordix.com

(C)2000-2011 The Boardix Community

Powered by Infopop Corporation
UBB.classicTM 6.5.0