This simple tutorial will show you how to enable Startup (login desktop) sound which is disabled by default Ubuntu 12.04 precise. ...
1.Click Control Gear then click Startup Applications…
2.In the Startup Applications Preferences window ,click Add to add an entry
3.Then fill below lines as Command
/usr/bin/canberra-gtk-play --id="desktop-login" --description="play login sound" |
4.You are done,logout then login,you will listen the startup sound
Note:If the above steps do not work for you.
you can try replace the command in step 3 with
/usr/bin/paplay /usr/share/sounds/ubuntu/stereo/desktop-login.ogg |
/usr/bin/canberra-gtk-play --id="desktop-login" --description="play login sound" --volume=10 |