No Login Sound on Ubuntu 12.04

Asked by Lina Pug on 2012-05-02

And there isn't no option to choise at "Startup Applications".
Is this a bug?
Is the solution that presented at Question #175222 (2011-10-19)?
And the new theme? Where is it?
Don't let the music die!!! ; )

Question information

English Edit question
Ubuntu libcanberra Edit question
No assignee Edit question
Last query:
Last reply:

Its a startup item, access startup items from dash and it will be there

Sam_ (and-sam) said : #2

Login sound was disabled.

To display the .desktop file in startup applications you need to edit


Afaik no new theme yet but admit sound is disabled here.

Lina Pug (linapug) said : #3

Hi Sam! Thanks for your reply.

I did what you advised, but it only made appear the option of to choose or not to play the startup sound in the Startup Application window, and in the Edition window is written:

Name: GNOME Login Sound
Command: /usr/bin/canberra-gtk-play --id="desktop-login" --description="GNOME Login"
Comment: Plays a sound whenever you log in

Any other suggestions?

Best Regards!

Sam_ (and-sam) said : #4

Did you reboot?

Sam_ (and-sam) said : #5

If reboot doesn't help, copy the .desktop file to ~/.config/autostart and test again.

Lina Pug (linapug) said : #6

Hi Sam!

Yes, I have rebooted, but nothing changed.

I didn't understand what I must copy into ~/.config/autostart:

1- /usr/share/gnome/autostart/libcanberra-login-sound.desktop ?

2- /usr/bin/canberra-gtk-play --id="desktop-login" --description="GNOME Login" ?

3- "[Desktop Entry]
Name=GNOME Login Sound
Comment=Plays a sound whenever you log in
Exec=/usr/bin/canberra-gtk-play --id="desktop-login" --description="GNOME Login"
AutostartCondition=GSettings org.gnome.desktop.sound event-sounds
NoDisplay=false" ?

I already tried the 2ยบ option and rebooted, but nothing changed.

Best Regards

Sam_ (and-sam) said : #7

> copy the .desktop file to ~/.config/autostart

This is the .desktop file we talk about:

Try this.
sudo cp /usr/share/gnome/autostart/libcanberra-login-sound.desktop ~/.config/autostart/libcanberra-login-sound.desktop
cd ~/.config/autostart
sudo chown <user>:<user> libcanberra-login-sound.desktop

## Obviously replace <user> with your username.

To verify permissions of the file enter in the current directory:
ls -al libcanberra-login-sound.desktop

Lina Pug (linapug) said : #8

Hi Sam!

Nothig results...

These are the file permissions:
-rw-r--r-- 1 lina lina 381 Mai 4 23:13 libcanberra-login-sound.desktop

What else?
I "suppose"'s maybe a Pulseaudio problem. But when I had installed Ubutntu 12.04 Beta2 I had login sound.

See you soon!

My Notebook:
Samsung model 300E4A-AD1
Intel Core i5 2450M
Ubuntu 12.04 64bits
Graphic Processor Intel GMA HD
Chipset Intel HM65

Sam_ (and-sam) said : #9

Gnome login sound is visible in startup applications and is checked? Also verify by click on edit where it points to, if the cmd is correct. Maybe untick and retick helps?

Lina Pug (linapug) said : #10

Hi Sam...!

Answering the first question: Yes, it was the only thing that changed, with the help of your first reply.
Second question: cmd is correct. I also tried the suggestion given in the above link you write, adding the word "sound"... nothing results.
Your suggestion of untik/retick... didn't help.

More suggestions?

Best Regards

Sam_ (and-sam) said : #11

> More suggestions?

Not really. Remove reinstall pulseaudio?

> GSettings org.gnome.desktop.sound event-sounds

Did you verify that 'event-sounds' are activated in dconf?
## Needs pkg dconf-tools, then alt+f2 to run dconf-editor

Lina Pug (linapug) said : #12

Hi Sam!

I ran dconf-editor and event-sounds is activated.

All sounds are playing in my laptop since I installed Ubuntu,
the only sound that i still have not heard is the sound login.
That drum was the revenge sound: I'm here!

I want the drum back!!! ...snif...
Mister Mark Shuttleworth .... please.... I implore!!!


Lina Pug (linapug) said : #13

Hi Sam! Hi All!

I gave a radical solution to this problem: I downloaded a new Ubuntu12.04 64bit ISO and reinstalled. The first thing I did was:
- Correct the brightness function keys;
- Bring up all the startup applications

        cd /etc/xdg/autostart/
        sudo sed --in-place 's/NoDisplay=true/NoDisplay=false/g' *.desktop

and then added the Gnome login sound.

At this point, because of a typing error, I realized that the boot got a bit faster filling out the form "command" in this way:

        /usr/bin/canberra-gtk-play --id="desktop-login" --


Best Regards

Can you help with this problem?

Provide an answer of your own, or ask Lina Pug for more information if necessary.

To post a message you must log in.