PCountdown - countdown timer

Stuff that has yet to be sorted into a category.
Message
Author
User avatar
01micko
Posts: 8741
Joined: Sat 11 Oct 2008, 13:39
Location: qld
Contact:

PCountdown - countdown timer

#1 Post by 01micko »

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_pa ... 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.. :)

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 :oops: - 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. :)
Attachments
PCountdown-2.0.pet
requires gtkdialog4
(4.51 KiB) Downloaded 687 times
pcountdown-2.0.jpg
New version snap shot
(56.59 KiB) Downloaded 1281 times
timer48.png
nice icon from ttuuxxx
(3.3 KiB) Downloaded 2371 times
clock-timer-alarm.png
(4.12 KiB) Downloaded 2715 times
pcountdown.jpg
(49.59 KiB) Downloaded 2573 times
PCountdown-1.1.pet
(4.31 KiB) Downloaded 1107 times
Last edited by 01micko on Sun 11 Sep 2011, 00:43, edited 15 times in total.
Puppy Linux Blog - contact me for access

User avatar
trapster
Posts: 2117
Joined: Mon 28 Nov 2005, 23:14
Location: Maine, USA
Contact:

#2 Post by trapster »

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

Asus eeepc 1005HA PU1X-BK
Frugal install: Slacko
Currently using full install: DebianDog

davesurrey
Posts: 1198
Joined: Tue 05 Aug 2008, 18:12
Location: UK

#3 Post by davesurrey »

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

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#4 Post by zigbert »

Mick

Nice App !!!


Sigmund

tlchost
Posts: 2057
Joined: Sun 05 Aug 2007, 23:26
Location: Baltimore, Maryland USA
Contact:

Senior Use

#5 Post by tlchost »

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

Jim1911
Posts: 2460
Joined: Mon 19 May 2008, 20:39
Location: Texas, USA

#6 Post by Jim1911 »

Super!!

Consider having it remember last location.

Thanks,
Jim

User avatar
01micko
Posts: 8741
Joined: Sat 11 Oct 2008, 13:39
Location: qld
Contact:

#7 Post by 01micko »

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 :P (..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
Puppy Linux Blog - contact me for access

User avatar
Lobster
Official Crustacean
Posts: 15522
Joined: Wed 04 May 2005, 06:06
Location: Paradox Realm
Contact:

#8 Post by Lobster »

Looking at this it seems to have a countdown timer - any use 8)
http://www.murga-linux.com/puppy/viewto ... 08&t=27496
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

User avatar
01micko
Posts: 8741
Joined: Sat 11 Oct 2008, 13:39
Location: qld
Contact:

#9 Post by 01micko »

Hi Lobster

Yes, saw that. From the current gui master himself :lol:

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: )
Puppy Linux Blog - contact me for access

User avatar
01micko
Posts: 8741
Joined: Sat 11 Oct 2008, 13:39
Location: qld
Contact:

#10 Post by 01micko »

Ok, Now up to version 0.1.1 ( :shock: ) :lol:

Some requests catered for...

See Main Post
Puppy Linux Blog - contact me for access

User avatar
Lobster
Official Crustacean
Posts: 15522
Joined: Wed 04 May 2005, 06:06
Location: Paradox Realm
Contact:

#11 Post by Lobster »

countdown actually counts up though
:oops:

got it
Will use this as a meditation timer
might improve my mind to the point where it starts working
:)
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

Jim1911
Posts: 2460
Joined: Mon 19 May 2008, 20:39
Location: Texas, USA

#12 Post by Jim1911 »

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.
:(

User avatar
01micko
Posts: 8741
Joined: Sat 11 Oct 2008, 13:39
Location: qld
Contact:

#13 Post by 01micko »

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
Puppy Linux Blog - contact me for access

Jim1911
Posts: 2460
Joined: Mon 19 May 2008, 20:39
Location: Texas, USA

#14 Post by Jim1911 »

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

User avatar
01micko
Posts: 8741
Joined: Sat 11 Oct 2008, 13:39
Location: qld
Contact:

#15 Post by 01micko »

Jim1911,

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

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

Cheers

Bug fix version removed, incorporated in main version

See Main Post
Last edited by 01micko on Fri 16 Oct 2009, 21:00, edited 1 time in total.
Puppy Linux Blog - contact me for access

Jim1911
Posts: 2460
Joined: Mon 19 May 2008, 20:39
Location: Texas, USA

#16 Post by Jim1911 »

Works fine!

davesurrey
Posts: 1198
Joined: Tue 05 Aug 2008, 18:12
Location: UK

#17 Post by davesurrey »

01micko wrote
davesurrey, re visible warning.. do you want an option for that? It could timeout any time you choose or not at all ...
Hi and sorry for delayed reply but my partner's PC HDD crashed so tryng to recover the data. Bit of an emergency.

For me it would be great to have the option that it continued to give a visible warning until it was reset but for others it might be better if that is optional.

Thanks as ever
Dave

tlchost
Posts: 2057
Joined: Sun 05 Aug 2007, 23:26
Location: Baltimore, Maryland USA
Contact:

#18 Post by tlchost »

01micko wrote: Try this one, experimental, but without experiments our knowledge can not grow :)
It works fine.....but, when it went off, I had to wonder....if I had set it to remind me to do something....it doesn't tell me what to do.

Maybe a field to enter the task? right now, it goes off, and in a senior moment, I have to ask myself what I am being reminded to do.

User avatar
01micko
Posts: 8741
Joined: Sat 11 Oct 2008, 13:39
Location: qld
Contact:

#19 Post by 01micko »

tclhost,

Ok, should be able to do that, add a field for the "task". Maybe I could add it to the splash? Would that be suitable?

Cheers
Puppy Linux Blog - contact me for access

tlchost
Posts: 2057
Joined: Sun 05 Aug 2007, 23:26
Location: Baltimore, Maryland USA
Contact:

#20 Post by tlchost »

01micko wrote: Ok, should be able to do that, add a field for the "task". Maybe I could add it to the splash? Would that be suitable?
I think that would be fantastic!

Thanks
Thom

Post Reply