Ultimate Edition Guides and TutorialsHow to enable "Shutdown Sound" in Ubuntu 12.04 and up !

All Guides are listed here
Forum rules
All jurisdictions allow some limited uses of copyrighted material without permission. CC licenses do not affect the rights of users under those copyright limitations and exceptions, such as fair use and fair dealing where applicable. Some tutorials are copied form http://www.webupd8.org/ for which we thank for allowing us to do so. Thanks go to any other authors for all other tutorials not mentioned herein.
User avatar

Topic Author
Status: Offline
Forum Moderator
Forum Moderator
Posts: 925
Joined: Sun Dec 20, 2009 6:20 pm
Been thanked: 1 time

How to enable "Shutdown Sound" in Ubuntu 12.04 and up !

Postby JOHNNYG » Fri May 10, 2013 2:51 am

Here is an easy way to add Shutdown sound to ubuntu and it's off shoot's !

Code: Select all

sudo apt-get install music123

Code: Select all

sudo gedit /etc/init.d/K99shutdownsound.sh

Code: Select all

## play shutdown sound
/usr/bin/music123 /path/to/your/shutdown.mp3

Code: Select all

sudo chmod +x /etc/init.d/K99shutdownsound.sh

Code: Select all

sudo ln -s /etc/init.d/K99shutdownsound.sh /etc/rc0.d/K99shutdownsound.sh

Code: Select all

sudo ln -s /etc/init.d/K99shutdownsound.sh /etc/rc6.d/K99shutdownsound.sh

And now you have a shutdown sound. Just make sure you're not going to play a 5 minute mp3 file, since the system won't halt until it finishes streaming the file. plays .mp3, ogg, wave, and .oga files ypu can install vorbis-tools

Code: Select all

sudo apt-get install vorbis-tools

to play other types of sound files !

Enjoy ! ;grin

Custom tower(Along the lines of Alienware)
Elitegroup P4M800PRO-M 64Bit - M/B (VIA Technologies)
Intel Pentium 4 processor
2x512 Kingston DDR
Maxtor Diamondmax 200 gig/Maxtor maxline 80 gig
ATI 9600 series (RV350 AQ)graphics card
Sony DVD/CD Rewritable Drive DOUBLE LAYER DRU-820A/Sony DRU-800A CD DVD±RW Dual DVD Recorder
Admin. At
Ultimate Edition

Return to “Ultimate Edition Guides and Tutorials”

Who is online

Users browsing this forum: No registered users and 0 guests