PCountdown - countdown timer

Stuff that has yet to be sorted into a category.
Message
Author
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