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

I don't like the current log-in sound in 11.04 and I want my own sound.

Can I change the log-in sound?

share|improve this question

Make an .ogg file and put it in /usr/share/sounds/ubuntu/stereo/

Go into Start-up applications and change the login sound id to the one you want:

/usr/bin/canberra-gtk-play -–id=”desktop-login” -–description=”GNOME Login”
share|improve this answer
How does this command know what file to play? – Stefano Palazzo Jul 6 '11 at 14:03
what if the sound is mono? – Alvar Jul 6 '11 at 14:32
the file must replace one called desktop-login.ogg – Alvar Jul 6 '11 at 14:33

In the startup applications, search for Gnome Login Sound and replace the command by this: canberra-gtk-play --file X. Replace X by the file you want to have as the new login sound.

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.