November 3, 2013

Howto Enable Login Sound

You will need a sound file in the .ogg or .wav format. Rename the file into desktop-login.ogg( wav ) and place it in the
/usr/share/sounds folder. Rightclick and choose New Window As Administrator in order to be able to place the file there :



In System Settings ( Applications > System Settings ) go to Startup Applications > Add.



Name : Login sound
Command : /usr/bin/canberra-gtk-play --id="desktop-login"

Then Add....

Download sounds from here.

More sounds : http://www.zedge.net/ringtones/0-7-1-startup%20sound/  ( download with Save Link As... ).

Knoppix sounds.

Free online audio convertor : http://audio.online-convert.com/

18 comments:

  1. When I try to paste the .ogg file into /usr/sounds a screen comes up saying I dont have the authority to do this. How do I get root privileges? Thanks Tim

    ReplyDelete
  2. Open terminal and then :
    sudo mv desktop-login.ogg /usr/share/sounds

    ReplyDelete
  3. Hi Eric that doesn't work Message says,
    mv:cannot stat'desktop.login.ogg no such file or directory

    ReplyDelete
    Replies
    1. The terminal can not find the file in the working directory. If you open a terminal the working directory is your home directory. If the file is somewhere else you first need to navigate to it with the command cd.
      E.g your file is in Downloads then in a terminal : cd Downloads and then : sudo mv desktop-login.ogg /usr/share/sounds

      Delete
    2. The login sound is an .ogg file I downloaded, not a cd. I tried what you said and it won't work. Any other thoughts?
      Thanks Tim (I really like elementary os Luna)

      Delete
    3. I was not talking about a "cd", I was talking about the command "cd"......cd=change directory.

      Delete
    4. I understand. However I tried and that didn't work. Why cant I paste the .ogg fill in /usr/share/sounds?
      I'm sorry if I'm not getting what you say?

      Delete
    5. I have put some extra info in the post to make it easier...

      Delete
  4. Thanks Eric your a star. It worked like a charm. Now when Luna starts a nice female voice says " five four three two one all systems activated" Getting Administrator privileges was the answer.

    ReplyDelete
  5. Method is effective 100%
    Thank you very much for the explanation beautiful :)

    ReplyDelete
  6. if you copy desktop-login.ogg to /usr/bin/canberra-gtk-play then id must stay like it is --id="desktop-login" :)

    ReplyDelete
    Replies
    1. sorry to /usr/share/sounds (not to /usr/bin/canberra-gtk-play; my mistake)

      Delete
  7. Is there a way to do this on Freya?

    ReplyDelete
  8. Have not tried it yet, did you ?

    ReplyDelete
  9. Yes I did, the add to startup doesn't work.

    ReplyDelete
  10. I'll have a look at it. Can't promise that it will work somehow.

    ReplyDelete