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

As every time i boot into ubuntu it makes sound, i want to assign a custom sound on startup as well as on log off and shutdown.

Is it possible??

share|improve this question

migrated from Nov 25 '13 at 10:34

This question came from our discussion, support, and feature requests site for Ubuntu users and developers.

If you want another sound during login you can do it this way from a terminal sesson:

cd /usr/share/sounds/ubuntu/stereo

replace the file desktop-login.ogg with the soundfile you want. You can do it like this (including backup):

$ sudo cp desktop-login.ogg desktop-login.ogg.old
$ sudo cp ~/Downloads/dekstop-login.ogg

If your new file is inside your home's Download directory. I have not seen a default application where you can do this.

And yes, you can create a custom sound from for instance a music clip with audacity. Just make sure you save it as ogg and do not make it too long.

You can also do it like this. From command line

$ gksu nautilus

This will open Nautilus as root. Now navigate to your new file, right click and copy it. Navigate to


and click on desktop-login.ogg, press F2, and add .old to the name. Then click on some free space, right click and choose paste.

share|improve this answer
one more thing i came to know after exploring /usr/share/sounds/ubuntu/stereo that by default only one sounds is being played for last two months thats system-ready.ogg out of those , nothing else.desktop-login.ogg and desktop-logout.ogg has never played.Why so? – Sushantp606 Nov 25 '13 at 11:12
see the issue is even desktop-login.ogg is not working .. after starting only drumming tone plays nothing else , no login sounds,shutdown tone nothing at all. – Sushantp606 Nov 30 '13 at 13:51

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.