Howto Enable system sound in Ubuntu Intrepid
Step 1: Install the newer libcanberra
Edit /etc/apt/sources.list file using the following command
sudo gedit /etc/apt/sources.list
add the following lines at the bottom
# PPA for Gert Kulyk (to fix system sound problem)
deb http://ppa.launchpad.net/gkulyk/ubuntu intrepid main
deb-src http://ppa.launchpad.net/gkulyk/ubuntu intrepid main
Add the GPG key using the following command
sudo apt-key adv
--keyserver keyserver.ubuntu.com DBF1CA1622460E60
then update the repository
sudo apt-get update
after that, update manager will prompt updates for libcanberra, just install all of them and reboot.
Step 2: Enable system sound
open System -> Preferences -> Sound Effects -> Sound Effects , check the ‘Play alerts and sound effects', and assign the sounds for every particular sound effects, now the system sound should work normally.
Step 3: Enable shutdown/logout sound
Although we enable the sound effects, however the logout sound is still missing, the solution is:
sudo gedit /etc/gdm/PostSession/Default
add the following line before ‘exit 0' and then save the file
now, you could hear the shutdown/logout sound when you shutdown/logout Ubuntu.