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/
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
ReplyDeleteOpen terminal and then :
ReplyDeletesudo mv desktop-login.ogg /usr/share/sounds
Hi Eric that doesn't work Message says,
ReplyDeletemv:cannot stat'desktop.login.ogg no such file or directory
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.
DeleteE.g your file is in Downloads then in a terminal : cd Downloads and then : sudo mv desktop-login.ogg /usr/share/sounds
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?
DeleteThanks Tim (I really like elementary os Luna)
I was not talking about a "cd", I was talking about the command "cd"......cd=change directory.
DeleteI understand. However I tried and that didn't work. Why cant I paste the .ogg fill in /usr/share/sounds?
DeleteI'm sorry if I'm not getting what you say?
I have put some extra info in the post to make it easier...
DeleteThanks 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.
ReplyDeleteGlad it worked...
DeleteMethod is effective 100%
ReplyDeleteThank you very much for the explanation beautiful :)
if you copy desktop-login.ogg to /usr/bin/canberra-gtk-play then id must stay like it is --id="desktop-login" :)
ReplyDeletesorry to /usr/share/sounds (not to /usr/bin/canberra-gtk-play; my mistake)
DeleteIs there a way to do this on Freya?
ReplyDeleteHave not tried it yet, did you ?
ReplyDeleteYes I did, the add to startup doesn't work.
ReplyDeleteI'll have a look at it. Can't promise that it will work somehow.
ReplyDeleteThanks!!
ReplyDelete