pStartupShutdownSound 1.4-1

Window managers, icon programs, widgets, etc.
Message
Author
Dromeno
Posts: 534
Joined: Fri 12 Sep 2008, 07:01

pStartupShutdownSound works in puppy 4.2.1 too

#21 Post by Dromeno »

thanks for the new addition! The shutdown sound works in 4.2.1 too!

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

#22 Post by trio »

Dromeno,

:D :lol: :D :lol: :D :lol:

Dromeno
Posts: 534
Joined: Fri 12 Sep 2008, 07:01

Shutdownsound installs in 421 but does not work

#23 Post by Dromeno »

see subject line

I can install it and testing the sound works (but I have to rename
Windows XP Shutdown.wav to Windows_XP_Shutdown.wav or it can not recognize the file name)

but... it does not work when I actually perform a shutdown.

All in puppy 421... I will testit on 431 when I am back home

thanks for your effords so far

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

#24 Post by trio »

Dromeno,

I can't duplicate your problem, I'm on 431 and all work fine. As for file names with spaces between words, yes, it can't be recognized, unless some modifications are made when sorting files in the /usr/share/audio directory. Linux file names don't use spaces.

Can you upload your sound file? and I will also test in 4.2.1 later

Reg,

Trio

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

#25 Post by trio »

Dromeno,

I tried your XP sound, it works for shutdown in 431, but it doesn't work in 4.2.1 and I know why. Shutdown and reboot in 4.3 calls the scripts by the name of /usr/bin/wmreboot and /usr/bin/wmpoweroff, and 4.2.1 calls something else (I haven't got the time to check yet)..when I have it, I will post or PM you on how to modify it.

That's all for now

Edit:
1. Use the latest vrsion 1.4-1
2. In 4.2.1 they are /usr/X11R7/bin/wmpoweroff & /usr/X11R7/bin/wmreboot
You can modify these two files by putting this line

Code: Select all

/usr/local/pshutdownsound/sound
just in the 4th (empty) line, before any other commands

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

#26 Post by trio »

Version 1.4-1 uploaded, see main post
Modified Shutdown sound so it will play until it finishes the sound

itzme
Posts: 15
Joined: Fri 29 Jan 2010, 01:32

#27 Post by itzme »

I have a issue with the restart and shutdown in 4.31NOP, if I use a short sound such as 2barks it works fine,

but if the sound file is longer such as windows shutdown wav, it gos to the console and if I log back in using xwin and restart or shutdown again it works.

So I'm wondering if there is a limitation to the length of the sound that can be used, the sound I used runs for 2.5 seconds

other than this small problem I like this app very much

itzme

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

Update

#28 Post by abushcrafter »

I have made a new version which has lots little of changes.

Change Log:

Code: Select all

#ChangeLog ----------------------------------------------------------------------
#2010-06-15-Tue  Alexander .S.T. Ross (abushcrafter) Email: <http://www.google.com/recaptcha/mailhide/d?k=01uNeUuXxeNm9FA3Zciuoqzw==&c=nVfKeb7kjqZVVIQanqJwEC2DP5zrALkSERTopYvj_pU=>
#		* 1.5: Added reboot sound.
#		* 1.5: Tidyed up comments at the beginning of script (This info.).
#		* 1.5: The startup sound is now genarated into "/usr/local/pbootsound/startup-sound" with the link "~/Startup/0_sound" pointing to it.
#		* 1.5: Moved the genarated scripts that are now named "startup/shutdown/reboot-sound" that contant the startup/shutdown/reboot sound all into the folder "/usr/local/pbootsound/".
#		* 1.5: New name of "pBootsound".
#		* 1.5: Fixed spelling error/typo of "yor" to "your".
#		* 1.5: The program name and version can be changed by the "name" and "version" variables.
#		* 1.5: In the "Choose * sound & click OK" and the "Your * sound is now deactivated" sentence the word startup/shutdown/reboot is in caps.
#		* 1.5: Rewitten the GUI titles.

#2010-07-11-Sun  Alexander .S.T. Ross (abushcrafter) Email: <http://www.google.com/recaptcha/mailhide/d?k=01uNeUuXxeNm9FA3Zciuoqzw==&c=nVfKeb7kjqZVVIQanqJwEC2DP5zrALkSERTopYvj_pU=>
#		* 1.6: Added the word "and a" to the description.

#2010-07-14-Wed 17:47:40  Alexander .S.T. Ross (abushcrafter) Email: <http://www.google.com/recaptcha/mailhide/d?k=01uNeUuXxeNm9FA3Zciuoqzw==&c=nVfKeb7kjqZVVIQanqJwEC2DP5zrALkSERTopYvj_pU=>
#		* 1.7: Corrected a bunch of minor mistakes.
Attachments
pBootSound-1.7.pet
(2.77 KiB) Downloaded 791 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
d4rkn1ght
Posts: 55
Joined: Wed 20 Jan 2010, 00:47
Contact:

Lucid Puppy

#29 Post by d4rkn1ght »

Just came upon this thread. Does this support Lucid Puppy 5.x :?:

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

#30 Post by abushcrafter »

Do not install it! It will/might(?) muck up your system. Use the new PET I attached to this post which should work on any version of Puppy Linux. The only thing I changed is the install script which before was only for 4.3.1/4.3.2 v3 by ttuuxxx.
Attachments
pBootSound_ImprovedInstallScript-1.7.pet
(2.34 KiB) Downloaded 672 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
d4rkn1ght
Posts: 55
Joined: Wed 20 Jan 2010, 00:47
Contact:

#31 Post by d4rkn1ght »

Thank you! It's working great! :)

Post Reply