How do I disable the login sound?

I have tried all guides on the internet I can find, but they are for previous versions and I can't find an option anywhere.

link|improve this question
feedback

8 Answers

For 12.04

By default, it is turned off, and as of right now, there is no way to turn it back on.

For 11.10

Type on a terminal gksudo gedit /usr/share/gnome/autostart/libcanberra-login-sound.desktop and change the value NoDisplay from true to false:

enter image description here

Now go to your startup applications and you should see and be able to disable the necessary option:

enter image description here

link|improve this answer
feedback

Quick solution

Open a terminal and run the command

sudo mv /usr/share/sounds/ubuntu/stereo/desktop-login{,-disabled}.ogg  

The lightdm drum sound for system ready can be disabled in a similar fashion

sudo mv /usr/share/sounds/ubuntu/stereo/system-ready{,-disabled}.ogg  
link|improve this answer
Hey thanks, can you throw a link for some more info on the {...} syntax? It's really neat :) – benjaoming May 7 at 9:29
1  
feedback

From webupd8: "Some applications/services that used to be in the Startup Applications dialog are no longer there. That's because they are hidden now but you can still find them under /etc/xdg/autostart . So if you want to remove the startup sound or other hidden applications from starting automatically, remove their .desktop files from /etc/xdg/autostart (you'll have to run Nautilus as root: "gksu nautilus"). But make sure you make a backup of the files you want to remove firstly!"

so i suggest deleting/moving file responsible for login sound. should be easy

link|improve this answer
1  
"Should be easy" doesn't explain exactly how to do it. Which file is the culprit? – Seb Oct 22 '11 at 22:43
feedback

For removing the startup sound :

mv /usr/share/sounds/ubuntu/stereo/system-ready.ogg /usr/share/sounds/ubuntu/stereo/system-ready.ogg.old 

For enabling the startup sound

mv /usr/share/sounds/ubuntu/stereo/system-ready.ogg.old /usr/share/sounds/ubuntu/stereo/system-ready.ogg

For removing the Login Sound (After you login) :

mv /usr/share/sounds/ubuntu/stereo/desktop-login.ogg /usr/share/sounds/ubuntu/stereo/desktop-login.ogg.old

For enabling it again :

mv /usr/share/sounds/ubuntu/stereo/desktop-login.ogg.old /usr/share/sounds/ubuntu/stereo/desktop-login.ogg
link|improve this answer
feedback

This should work for you.

gksudo gedit /usr/share/gnome/autostart/libcanberra-login-sound.desktop

Then change the NoDisplay= to false, ect.

or to remove it:

sudo rm /usr/share/sounds/ubuntu/stereo/system-ready.ogg
link|improve this answer
feedback

Open the Startup Applications Preferences by searching in the Dash,

Dash search

Or from the cog,

Cog

Find the entry for GNOME Login Sound and remove the tick from the box to disable it or select it to enable it then close out.

Startup Applications

link|improve this answer
well, this turns off the sound after the login, i want to turn off the sound on the login screen – tom Mar 7 at 11:07
@tom - you are correct, I misunderstood your question. To disable or remove the system ready sound (the drum beats) you need to follow the steps in the other posted answers, either one will work. – Mark Rooney Mar 7 at 21:29
feedback

For 11.04 and earlier:

Run this command in a terminal?

sudo -u gdm gconftool-2 --set /desktop/gnome/sound/event_sounds --type bool false

link|improve this answer
feedback

the lightdm bongo sound cannot be disabled via any gui option in 12.04, and there is a bug report here https://bugs.launchpad.net/ubuntu/+source/unity-greeter/+bug/949782 about this the command line methods above can disable it.

the sound after login can easily be disabled with the answers above.

sorry this is more of a commend than an answer, but i dont have enough rep to comment yet and i wanted to bring light to the bug report. if it affects you please add yourself to the affected list! things only get patched when people are affected by them!

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.