By default, Ubuntu 12.04 doesn’t play a sound when you log in. You can easily enable the log-in sound by adding a startup application. Here’s the steps:

  • 1. Launch “Startup Applicaitons” from top right corner.

  • 2. Click Add to add a start up app.

    • name: Gnome Login Sound
    • command: /usr/bin/canberra-gtk-play --id="desktop-login" --description="GNOME Login sound"
    • comment: Play a sound at login
  • 3. Save and make sure it’s been checked on.

Now, the login sound should work. The code in command area can be changed, test running it in a terminal window:

/usr/bin/canberra-gtk-play --id="desktop-login" --description="GNOME Login sound" --volume=10


paplay /usr/share/sounds/ubuntu/stereo/desktop-login.ogg