Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Thu 30 Oct 2014, 14:23
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Unsorted
PCountdown - countdown timer
Moderators: deshlab, Flash, GuestToo, Ian, JohnMurga, Lobster
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 4 Posts_count   Goto page: 1, 2, 3, 4 Next
Author Message
01micko


Joined: 11 Oct 2008
Posts: 7840
Location: qld

PostPosted: Thu 15 Oct 2009, 09:29    Post_subject:  PCountdown - countdown timer
Sub_title: 10 9 8 7 6 5 4 3 2 1 0 >-- .. what's next is up to you..
 

This is the first stand alone app I wrote

I gave it a bit of an update for the new gtkdialog, requires at least r224 (I think, has spin buttons)

Wary version: (may work in many puppies *no guarantee) http://distro.ibiblio.org/quirky/pet_packages-common/gtkdialog4-246-w5.pet

There is a check so if it fails you get a splash message instead of bewilderment.

Have fun!

Original post
Hello Puppians,

This work is a classic example of Puppians cooperating with Puppians hence it's inception.

PCountdown

Yes, I've gone with the "P" prefix, seems like the Puppy thing to do.. Smile

This is a simple, easy to use timer for short term periods (< 24hrs). It is highly configurable in the sense that you can adjust the amount of time to wait (of course!), where you would like the timer placed (9 options), what noise you want to hear, what colour you want to see the timer, and how long you want the thing to play noise at you.

Special thanks to 'davesurrey' and 'Lobster' ('davesurrey's' idea.. he could not find a decent countdown app in Linux)
Special thanks to vovchik for tips with gtkdialog

Cheers and enjoy


NOTE: This is still in development. If your machine decides to get up and ride your motorbike, bad luck (check the Seamonkey svg plugin Wink ). I can not accept responsibility. If you can improve it do so, and share. Still work to be done

Changelog
PCountdown-2.0
now using spin buttons
PCountdown-1.1
Adjustable size of timer font- thanks Dave
PCountdown-1.0
improved yaf-splash fonts - thanks CatDude
kills gui while counting down
PCountdown-0.2.0
Fixed 24 hour bug... only use 23h 59m 59s as maximum
PCountdown-0.1.7
improved gtkdialog code - thanks vovchik
added 16x16 menu icon - thanks vovchik
PCountdown-0.1.6
Improved gui code - thanks vovchik
PCountdown-0.1.5
fixed (really, I hope this time) the 0800 to 0959 bug, new code
changed 'icon' to 'stock' in gui code - thanks vovchik
PCountdown-0.1.2
Bugfix, no timer Embarassed - thanks Jim1911
Added - "Task" feild - thanks tclhost
Rearranged gui a little
PCountdown-0.1.1
Remembers values - thanks davesurrey, Jim1911, (zigbert)
Can vary splash screen time - thanks davesurrey

Footnote: Vovchik has supplied a nice icon which I attached. You can use it on the desktop. I put a smaller icon in the default package. If you want to use this icon on your desktop (I know my wife will, she hates to use the menu), first, save the attached icon in /usr/share/pcountdown, then just go to /usr/share/applications and drag PCoundown.desktop to your desktop. Right click, select >> File 'PCountdown.desktop' >>Set Icon, then drag the icon to the box. Then right click, select >> Edit Item and edit the text to be displayed under the icon.

ttuuxxx has supplied an alternate icon.. the choice is yours. Smile
PCountdown-2.0.pet
Description  requires gtkdialog4
pet

 Download 
Filename  PCountdown-2.0.pet 
Filesize  4.51 KB 
Downloaded  335 Time(s) 
pcountdown-2.0.jpg
 Description   New version snap shot
 Filesize   56.59 KB
 Viewed   937 Time(s)

pcountdown-2.0.jpg

PCountdown-1.1.pet
Description 
pet

 Download 
Filename  PCountdown-1.1.pet 
Filesize  4.31 KB 
Downloaded  737 Time(s) 
timer48.png
 Description   nice icon from ttuuxxx
 Filesize   3.3 KB
 Viewed   2162 Time(s)

timer48.png

clock-timer-alarm.png
 Description   
 Filesize   4.12 KB
 Viewed   2429 Time(s)

clock-timer-alarm.png

pcountdown.jpg
 Description   
 Filesize   49.59 KB
 Viewed   2354 Time(s)

pcountdown.jpg


_________________
Woof Mailing List | keep the faith Cool |

Edited_times_total
Back to top
View user's profile Send_private_message Visit_website 
trapster


Joined: 28 Nov 2005
Posts: 2012
Location: Maine, USA

PostPosted: Thu 15 Oct 2009, 09:58    Post_subject:  

Any chance of a "snooze" button? 5 or 10 minute reminders?
_________________
trapster
Maine, USA

Asus eeepc 1005HA PU1X-BK
Frugal install: Puppeee4.31 + 1.0, Puppy4.10 + Lupu52
Currently using Slacko AND lupu52 w/ fluxbox
Back to top
View user's profile Send_private_message Visit_website 
davesurrey

Joined: 05 Aug 2008
Posts: 1201
Location: UK

PostPosted: Thu 15 Oct 2009, 11:03    Post_subject:  

Once more 01micko many thanks for this. It's just what I wanted.

It seems a bit crass to ask for more, when you have produced such a nice app already, but ....

It's good it gives a nice visable warning at the time-out. But this only seems to last for 5 secs. Any chance of this lasting until reset, in case folks are away from their desk when it times out? Is this what trapster is calling the snooze function?

And as I metioned in the other thread if the settings (position, colour etc) could be made persistent that would be great.

Cheers
Dave
Back to top
View user's profile Send_private_message 
zigbert


Joined: 29 Mar 2006
Posts: 5760
Location: Valåmoen, Norway

PostPosted: Thu 15 Oct 2009, 12:40    Post_subject:  

Mick

Nice App !!!


Sigmund

_________________
Stardust resources
Back to top
View user's profile Send_private_message Visit_website 
tlchost

Joined: 05 Aug 2007
Posts: 1728
Location: Baltimore, Maryland USA

PostPosted: Thu 15 Oct 2009, 12:51    Post_subject: Senior Use  

For those of us that really need reminders, could you allow the app to count down to the next day.

It would be great to have it tell me tomorrow where I parked the car tonight...and keep me from wandering the neighborhood looking for it.

thanks

Thom
Back to top
View user's profile Send_private_message Visit_website 
Jim1911

Joined: 19 May 2008
Posts: 2457
Location: Texas, USA

PostPosted: Thu 15 Oct 2009, 13:29    Post_subject:  

Super!!

Consider having it remember last location.

Thanks,
Jim
Back to top
View user's profile Send_private_message 
01micko


Joined: 11 Oct 2008
Posts: 7840
Location: qld

PostPosted: Fri 16 Oct 2009, 04:45    Post_subject:  

Thanks for feedback everybody.

trapster, snooze is certainly possible, though at this stage not a priority.

davesurrey, re visible warning.. do you want an option for that? It could timeout any time you choose or not at all ...

tclhost Razz (..and if you want more than 24 hrs use the "reminder" Pwidget Wink )

Jim1911, yes, remembering previous configuration is on the "to do" list. A simple 'config' file will take care of that.

Cheers

_________________
Woof Mailing List | keep the faith Cool |
Back to top
View user's profile Send_private_message Visit_website 
Lobster
Official Crustacean


Joined: 04 May 2005
Posts: 15117
Location: Paradox Realm

PostPosted: Fri 16 Oct 2009, 07:36    Post_subject:  

Looking at this it seems to have a countdown timer - any use Cool
http://www.murga-linux.com/puppy/viewtopic.php?search_id=1052414608&t=27496

_________________
Puppy WIKI
Back to top
View user's profile Send_private_message Visit_website 
01micko


Joined: 11 Oct 2008
Posts: 7840
Location: qld

PostPosted: Fri 16 Oct 2009, 08:04    Post_subject:  

Hi Lobster

Yes, saw that. From the current gui master himself Laughing

The countdown actually counts up though. That's why I used 'yaf-splash', (built-in countdown). Still, plenty of code in there that may give me ideas Idea

Cheers

(..update soon, testing atm Wink )

_________________
Woof Mailing List | keep the faith Cool |
Back to top
View user's profile Send_private_message Visit_website 
01micko


Joined: 11 Oct 2008
Posts: 7840
Location: qld

PostPosted: Fri 16 Oct 2009, 09:06    Post_subject:  

Ok, Now up to version 0.1.1 ( Shocked ) Laughing

Some requests catered for...

See Main Post

_________________
Woof Mailing List | keep the faith Cool |
Back to top
View user's profile Send_private_message Visit_website 
Lobster
Official Crustacean


Joined: 04 May 2005
Posts: 15117
Location: Paradox Realm

PostPosted: Fri 16 Oct 2009, 09:09    Post_subject:  

Quote:
countdown actually counts up though
Embarassed

got it
Will use this as a meditation timer
might improve my mind to the point where it starts working
Smile

_________________
Puppy WIKI
Back to top
View user's profile Send_private_message Visit_website 
Jim1911

Joined: 19 May 2008
Posts: 2457
Location: Texas, USA

PostPosted: Fri 16 Oct 2009, 09:32    Post_subject:  

Uninstalled 0.1 and installed 0.1.1 on 431. It remembers position setting but now doesn't count down regardless of time entered, Times Up comes up immediately.
Sad
Back to top
View user's profile Send_private_message 
01micko


Joined: 11 Oct 2008
Posts: 7840
Location: qld

PostPosted: Fri 16 Oct 2009, 10:17    Post_subject:  

Jim1911

I can confirm the bug, but reproducing it is very intermittent. I tried on 2 other systems. It may be a timing issue. Were you on a fast or slow machine?

I'll wait for other reports, see if we can narrow it down.

Cheers, thanks for reporting.

Mick

_________________
Woof Mailing List | keep the faith Cool |
Back to top
View user's profile Send_private_message Visit_website 
Jim1911

Joined: 19 May 2008
Posts: 2457
Location: Texas, USA

PostPosted: Fri 16 Oct 2009, 10:20    Post_subject:  

This is my System: BFG NVIDIA Geforce 8400 GS 512MB, Asus P6T Motherboard, Intel core i7-920 (8MB Cache, 2.66 GHz), DDR3 3GB 1333MHz ram, Pioneer DVR-2910 DVD+-RW Dual Layer Burner, Realtek ALC1200 Audio, HP Photosmart 5280 All-in-One, Printer-Scanner-Copier
Back to top
View user's profile Send_private_message 
01micko


Joined: 11 Oct 2008
Posts: 7840
Location: qld

PostPosted: Fri 16 Oct 2009, 10:36    Post_subject:  

Jim1911,

Try this one, experimental, but without experiments our knowledge can not grow Smile

I added a sleep value in between the timer and the splash.

Cheers

Bug fix version removed, incorporated in main version

See Main Post

_________________
Woof Mailing List | keep the faith Cool |

Edited_time_total
Back to top
View user's profile Send_private_message Visit_website 
Display_posts:   Sort by:   
Page 1 of 4 Posts_count   Goto page: 1, 2, 3, 4 Next
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Unsorted
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0870s ][ Queries: 13 (0.0080s) ][ GZIP on ]