Page 2 of 2

pStartupShutdownSound works in puppy 4.2.1 too

Posted: Sun 03 Jan 2010, 12:55
by Dromeno
thanks for the new addition! The shutdown sound works in 4.2.1 too!

Posted: Sun 03 Jan 2010, 13:49
by trio
Dromeno,

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

Shutdownsound installs in 421 but does not work

Posted: Sun 03 Jan 2010, 14:02
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

Posted: Mon 04 Jan 2010, 02:03
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

Posted: Tue 05 Jan 2010, 13:34
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

Posted: Tue 05 Jan 2010, 14:45
by trio
Version 1.4-1 uploaded, see main post
Modified Shutdown sound so it will play until it finishes the sound

Posted: Tue 09 Mar 2010, 02:00
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

Update

Posted: Wed 14 Jul 2010, 17:10
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.

Lucid Puppy

Posted: Tue 05 Oct 2010, 21:35
by d4rkn1ght
Just came upon this thread. Does this support Lucid Puppy 5.x :?:

Posted: Wed 06 Oct 2010, 16:44
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.

Posted: Wed 06 Oct 2010, 19:13
by d4rkn1ght
Thank you! It's working great! :)