Posts: 1,081
OU812
Joined: 29 Sep 2007
#1
1. The first step is find some sounds that you like. Here is a good place to start:


========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://www.xfce-look.org/index.php?xcontentmode=25&PHPSES"
linktext was:"http://www.xfce-look.org/index.php?xcon ... 5000677028"
====================================


Make sure you get the .wav format.

2. As root copy the startup and logout sounds to /usr/share/sounds/

3. To add a startup sound, add a line like this to the top of ~/.xinitrc

Code: Select all

aplay /usr/share/sounds/startup.wav &
4. To add logout sounds, edit /usr/bin/logout.sh (as root) as follows:

Code: Select all

sudo reboot & aplay /usr/share/sounds/shutdown.wav
sudo halt & aplay /usr/share/sounds/shutdown.wav
5. Reboot and enjoy.

john

Note: The ideas presented here were taken from the mintfb project.
Posts: 61
thinkpada21
Joined: 13 Sep 2007
#2
Thanks!
Posts: 1,081
OU812
Joined: 29 Sep 2007
#3
You're welcome! Startup sounds and desktop icons seem to be pretty controversial subjects; I wasn't sure if anyone else would dig it as much as I do. Glad you like it. Also, when the next antix is released we'll be using a new logout script, but don't worry, you can edit that file to get sounds also (same tweak by the way).

Glad I could help.

john
harii
Posts: 138
harii
Joined: 14 Nov 2007
#4
Thank you
I was just looking into that at ubuntu forums:

========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://ubuntuforums.org/showthread.php?t=834437"
linktext was:"http://ubuntuforums.org/showthread.php?t=834437"
====================================
__{{emoticon}}__
Posts: 1,081
OU812
Joined: 29 Sep 2007
#5
Thanks, Harii. That's an interesting thread. The underlying solution is the same: write a script that plays a sound and then launches the app. I never thought of applying the solution to applications. Pretty cool. Good find!

john
Posts: 8
Dr.U
Joined: 15 Aug 2008
#6
OU812 wrote:Startup sounds and desktop icons seem to be pretty controversial subjects; I wasn't sure if anyone else would dig it as much as I do. Glad you like it. Also, when the next antix is released we'll be using a new logout script, but don't worry, you can edit that file to get sounds also (same tweak by the way).
O.K., I give up __{{emoticon}}__ Where is the new logout script __{{emoticon}}__ BTW: I'm using antiX M7.2

Regards,
-- Dr. U
Posts: 609
dark-D
Joined: 02 Jun 2008
#7
it's in antiX 7.5, check it out:

========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"antix.freeforu ms.org/antix-m7-5-goes-final-t997.html"
linktext was:"antix.freeforu ms.org/antix-m7-5- ... -t997.html"
====================================
Posts: 1,081
OU812
Joined: 29 Sep 2007
#8
For 7.5

/usr/local/bin/exitantix.sh

For the 7.2 script, the path is the same, but I forgot the name of the logout script. Just look around in /usr/local/bin and look for a file that sounds like a logout script.

john
Posts: 138
harii
Joined: 14 Nov 2007
#9
if you would like speech?:

========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://www.research.att.com/~ttsweb/tts/demo.php"
linktext was:"http://www.research.att.com/~ttsweb/tts/demo.php"
====================================


it gets old fast--but its cool!