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:

#41 Post by 01micko »

Hi ttuuxxx

Thanks for that. I posted it in the main post, let the user decide :)

It is very handy as a desktop app this, especially if you have a computer in the Out house, great for timing that fancy dish to perfection. :lol: my wife's machine is in the Out house and we actually use this app for this purpose, and with a desktop icon.

Cheers
Puppy Linux Blog - contact me for access

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

#42 Post by trapster »

my wife's machine is in the Out house and we actually use this app for this purpose, and with a desktop icon
I always thought a laptop mounted on a Out house cupboard door with a GOOD recipe app would be sweet!!
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

#43 Post by davesurrey »

Hi 01micko,
Thanks for this version. I like the fact the GUI disappears whilst counting down but I do feel the countdown clock seems a bit small for my personal liking. Not sure how I could adjust the font size?

Can you point me in the right direction pls.
Thanks as ever
Dave

User avatar
trio
Posts: 2076
Joined: Sun 21 Dec 2008, 15:50
Location: अनà¥￾मोदना

#44 Post by trio »

trapster wrote:
my wife's machine is in the Out house and we actually use this app for this purpose, and with a desktop icon
I always thought a laptop mounted on a Out house cupboard door with a GOOD recipe app would be sweet!!
while dancing with wify? :wink:

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

#45 Post by 01micko »

davesurrey wrote:Hi 01micko,
Thanks for this version. I like the fact the GUI disappears whilst counting down but I do feel the countdown clock seems a bit small for my personal liking. Not sure how I could adjust the font size?

Can you point me in the right direction pls.
Thanks as ever
Dave
Hi Dave

Sorry for late reply, missed it..

It seems yaf splash can only do 12x24 with the default font. With other fonts it seems it is font dependant. I will look for a suitable font that is in most puppy systems that shows the best. May even make it a choice in the gui.

Cheers
Puppy Linux Blog - contact me for access

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

#46 Post by davesurrey »

Hi 01micko
Did you manage to find anything suitable?
Cheers
Dave

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

#47 Post by 01micko »

Dave, new version is out, should be to your liking :wink:

Ver 1.1

See main post
Puppy Linux Blog - contact me for access

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

#48 Post by davesurrey »

V1.1
Perfect, as tested on 431 and 214X-RC3 :-)
As ever thanks for all your efforts micko.
Much appreciated.
Cheers
Dave

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

#49 Post by 01micko »

Big enough I hope Dave.. I can make more and quite larger options if necessary. I know the method now.

Cheers
Puppy Linux Blog - contact me for access

User avatar
abushcrafter
Posts: 1418
Joined: Fri 30 Oct 2009, 16:57
Location: England
Contact:

#50 Post by abushcrafter »

Code: Select all

#ChangeLog --------------------------------------------------------------------
#	2011/02/23 00:01:51 abushcrafter Email=http://www.google.com/recaptcha/mailhide/d?k=01uNeUuXxeNm9FA3Zciuoqzw==&c=nVfKeb7kjqZVVIQanqJwEC2DP5zrALkSERTopYvj_pU=
#		* 0.1.2: "pcountdown.sh": Now generates a list of the contents of "/usr/share/audio/" for the "NOISE" combo box. For this I nicked some code from Pbootsound.
#		* 0.1.2: "func"         : Now uses "defaultsoundplayer" for playing "NOISE". Any audio format is now aloud in the "NOISE" combo box.
#		* 0.1.2: "pcountdown.sh": Checks if "defaultsoundplayer" is in the "$PATH". If not gives error but does not exit.
#		* 0.1.2: "pcountdown.sh": Tweaked "PCountdown Timer" GUI text.
#		* 0.1.2: "pcountdown.sh": Corrected legal stuff. Added Michael Amadio (01micko) email.
#		* 0.1.2: "pcountdown.sh": The real name of 01micko is now used for copyright.
#		* 0.1.2: "pcountdown.sh","func" : Settings are now in "$XDG_CONFIG_HOME".
I have also moved some files to the correct (I think.) locations and replaced the luncher which a syslink. I have also used the new icon by ttuuxxx and edited the ".desktop" file to my liking.

A new dependency: defaultsoundplayer-0.0.1

For the icon in the menu to work. You need to add a some paths to a XML config file.

Strings to add:

Code: Select all

	<IconPath>/usr/share/icons</IconPath>
	<IconPath>/usr/share/icons/locolor/16x16/apps</IconPath>
	<IconPath>/usr/share/icons/locolor/48x48/apps</IconPath>
	<IconPath>/usr/share/icons/hicolor/16x16/apps</IconPath>
	<IconPath>/usr/share/icons/hicolor/48x48/apps</IconPath>
XML config file to add string to:

Code: Select all

/etc/xdg/templates/_root_.jwmrc
The section you need to add it to:

Code: Select all

    <!-- <Icons> -->
    <!-- <IconPath>$HOME/.icons</IconPath> -->
	<IconPath>/usr/local/lib/X11/mini-icons</IconPath>
	<IconPath>/usr/local/lib/X11/pixmaps</IconPath>
	<IconPath>/usr/share/pixmaps</IconPath>
	<IconPath>/usr/local/share/pixmaps</IconPath>
    <!-- </Icons> -->
The results you are aiming for:

Code: Select all

    <!-- <Icons> -->
    <!-- <IconPath>$HOME/.icons</IconPath> -->
	<IconPath>/usr/local/lib/X11/mini-icons</IconPath>
	<IconPath>/usr/local/lib/X11/pixmaps</IconPath>
	<IconPath>/usr/local/share/pixmaps</IconPath>
	<IconPath>/usr/share/pixmaps</IconPath>
	<IconPath>/usr/share/icons</IconPath>
	<IconPath>/usr/share/icons/locolor/16x16/apps</IconPath>
	<IconPath>/usr/share/icons/locolor/48x48/apps</IconPath>
	<IconPath>/usr/share/icons/hicolor/16x16/apps</IconPath>
	<IconPath>/usr/share/icons/hicolor/48x48/apps</IconPath>
    <!-- </Icons> -->
Attachments
PCountdown-1.3.pet
(22.12 KiB) Downloaded 504 times
[url=http://www.adobe.com/flashplatform/]adobe flash is rubbish![/url]
My Quote:"Humans are stupid, though some are clever but stupid." http://www.dependent.de/media/audio/mp3/System_Syn_Heres_to_You.zip http://www.systemsyn.com/

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

#51 Post by 01micko »

New version.. see main post
Puppy Linux Blog - contact me for access

Post Reply