pStartupShutdownSound 1.4-1

Window managers, icon programs, widgets, etc.
Message
Author
User avatar
trio
Posts: 2076
Joined: Sun 21 Dec 2008, 15:50
Location: अनà¥￾मोदना

pStartupShutdownSound 1.4-1

#1 Post by trio »

Hi,

We often read questions in beginners & how to sections, about how to play a sound at startup, well here's a startup sound maker, very simple and small

- menu entry under multimedia group
- default dir is /usr/share/audio
- if you want other than standard sounds, just put it in default dir
- default sound is 2barks.au
- run fixmenus & retstart window manager (refresh menus) after install

WARNING - IT IS MADE AND TESTED IN PUPPY 4.3.1 - I don't know if it is compatible with other (or older) series
No warranty whatsoever


Updated to v 1.4-1 - Modified shutdown sound so it plays until finished
Updated to v 1.4 - Added - shutdown sound
Updated to v 1.3 - Added - stop sound function
Updated to v 1.2 - warning to use only .wav & .au
Updated to v 1.1 - default dir is /usr/share/audio
Attachments
pStartupShutdownSound-1.4-1.pet
(1.71 KiB) Downloaded 1761 times
pstartupsound.jpg
(13.23 KiB) Downloaded 2927 times
Last edited by trio on Tue 05 Jan 2010, 14:31, edited 9 times in total.

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

#2 Post by Lobster »

:) I like it

free sounds here (I now have a Gregorian chant as my load sound)
http://www.partnersinrhyme.com/pir/PIRsfx.shtml

suggestions
menu /desktop is where the prog should locate
a random
and loop button (the loop button can be used with tranquil sounds)

Many thanks trio :D
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

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

#3 Post by trio »

Hi Mr. Crustacean,

:lol:

Anyway, it's made with a very simple basic Xdialog..not many functions can be added, for that I have to use gtkdialog (which will be bigger), so I'll let this tiny app as is.

Thanks for using it

User avatar
craftybear
Posts: 62
Joined: Tue 16 Jun 2009, 10:20
Location: East Coast Oz in God's Country

#4 Post by craftybear »

trio wrote:Anyway, it's made with a very simple basic Xdialog..not many functions can be added, for that I have to use gtkdialog (which will be bigger), so I'll let this tiny app as is.
This is good but it gives me a problem. When I add music files in .wav format to the /usr/share/audio directory, the program doesn't know they are there. Only the files in the directory when the program was first run will show up in the list of choices. Can you help?

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

#5 Post by trio »

Crafty bear,

Shouldn't the directory be /usr/share/sounds ?

Cheers

User avatar
craftybear
Posts: 62
Joined: Tue 16 Jun 2009, 10:20
Location: East Coast Oz in God's Country

#6 Post by craftybear »

trio wrote:Crafty bear,

Shouldn't the directory be /usr/share/sounds ?

Cheers
On my Upup-476, that directory only has links to /usr/share/audio and I don't know how to easily add links??? Wouldn't it be better to use the source directory? Just asking. Please don't be offended as I like your program and I want it to work for old guys like me.

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

#7 Post by trio »

Hmm,

I don't have dpup. But, you may try to search (pfind) 2barks.au for example, and see where it is, then you can put your audio file there

User avatar
craftybear
Posts: 62
Joined: Tue 16 Jun 2009, 10:20
Location: East Coast Oz in God's Country

#8 Post by craftybear »

trio wrote:I don't have dpup. But, you may try to search (pfind) 2barks.au for example, and see where it is, then you can put your audio file there
No it's Upup I have and I found the audio files in /usr/share/audio with links in /usr/share/sounds. Seems like /usr/share/audio should be the default directory for your app, trio? Can you confirm this on the puppy version that you run?

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

#9 Post by trio »

ahh, you're right. it should be /usr/share/audio for the default

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

#10 Post by trio »

Updated to v 1.2 - warning to use only .wav & .au
updated to v 1.1 - change default dir to /usr/share/audio - thanks crafty bear

see main post

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

#11 Post by Lobster »

Thanks for using it
no probs
I tried modifying it
using madplay instead of aplay (it has th ability to repeat and use a random play)
However my code locked up my machine
messed up my startup
and meant I had to reinstall Puppy
- or rather set it up from CD
only a few minutes work

Ah well :oops:
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

panzerpuppy
Posts: 632
Joined: Tue 02 Oct 2007, 07:39

#12 Post by panzerpuppy »

Startup Sound Maker ?

LOL XD
Last edited by panzerpuppy on Thu 20 Aug 2009, 08:08, edited 2 times in total.

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

#13 Post by trio »

panzerpuppy wrote:Startup Sound Maker

ROFL XD

Can you really make your own sounds from scratch with this app?

:D :D :D
:?: It makes a sound at startup, so what?

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

#14 Post by 01micko »

maybe panzer wants something more fancy... "Puppy Sound At Startup Re-doer" :lol:
Puppy Linux Blog - contact me for access

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

#15 Post by trio »

Updated to v 1.3 - Added, stop sound function

see main post

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

How do I manage the other sounds?

#16 Post by Dromeno »

The Puppy which I share most with other people is one which very much looks&feels like Windows XP (much thanks to WhoDo's icewm packages and such).

Now I would like to add all the typical windows sounds. Adding the startup sound is easy thanks to this little app.


But now the rest - critical battery sound, logoff sound etc etc. It would be nice to have a simple interface to add/remove sounds to certain events similar to what XP does.

Does something like that exist or can Pstartupsond be expanded into a complete Psoundmanager?

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

#17 Post by abushcrafter »

Thanks. Any good sounds for puppy?

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

Re: How do I manage the other sounds?

#18 Post by trio »

Dromeno wrote:The Puppy which I share most with other people is one which very much looks&feels like Windows XP (much thanks to WhoDo's icewm packages and such).

Now I would like to add all the typical windows sounds. Adding the startup sound is easy thanks to this little app.


But now the rest - critical battery sound, logoff sound etc etc. It would be nice to have a simple interface to add/remove sounds to certain events similar to what XP does.

Does something like that exist or can Pstartupsond be expanded into a complete Psoundmanager?
For now - I added shutdown sound - see main post

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

#19 Post by abushcrafter »

Thanks again startup and shutdown sounds are just what I wanted! :D

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

#20 Post by trio »

abushcrafter

You are welcome :lol:

Post Reply