Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Can sound files be assigned to system events in Ubuntu 12.04? In Win, I could play .wav files at startup, shutdown, new mail, exclamation, etc. I read somewhere about Ubuntu-Tweak & installed, it, without realizing it only works with Gnome desktop. Is there a similar program for Unity desktop? There are similar questions posted here, but they are unanswered

share|improve this question

The only thing I can find is to replace the sounds in this folder /usr/share/sounds/ubuntu/stereo with other sound files with the same name.

share|improve this answer
I tried this, but Terminal will not allow me to rename the original sound files. The error message I get is: chunkydrew@ubuntu:/usr/share/sounds/ubuntu/stereo$ sudo rename desktop-logout.ogg desktop-lougout.hld [sudo] password for chunkydrew: Bareword "desktop" not allowed while "strict subs" in use at (eval 1) line 1. Bareword "logout" not allowed while "strict subs" in use at (eval 1) line 1. Bareword "ogg" not allowed while "strict subs" in use at (eval 1) line 1. chunkydrew@ubuntu:/usr/share/sounds/ubuntu/stereo$ – ChunkyDrew Dec 4 '12 at 23:25
I have no idea what "strict subs" is – ChunkyDrew Dec 4 '12 at 23:28
I did some research and found the 'mv' works better than 'rename' in Nautilus. Using that, I was able to change my login & logout sounds. – ChunkyDrew Dec 4 '12 at 23:48

No, not yet. Compiz, the default does not supports sounds the same way windows does. There is currently no UI available by default either.

However, there is one if the works. You can tinker if you wish. A good starting point might be this site.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.