rss feed Twitter Page Facebook Page Github Page Stack Over Flow Page

Disable the drum beat sound in Ubuntu

Posted on Saturday March 02, 2013 by Eric Potvin

If you are like me and do not like the Ubuntu login sound, here's a quick tip on how to disable it.

For 12.04 (LightDM)

You can simply remove the login sound by overriding the Unity Greeter.

sudo vi /usr/share/glib-2.0/schemas/50_unity-greeter.gschema.override

Add these lines:

[com.canonical.unity-greeter]
play-ready-sound = false

Save the file and compile it:

sudo glib-compile-schemas /usr/share/glib-2.0/schemas/

Next time you reboot, the sound will be disable.

For all other versions

All the sounds can be disable by changing the file name:

Disable the login sound:
sudo mv /usr/share/sounds/ubuntu/stereo/desktop-login.ogg /usr/share/sounds/ubuntu/stereo/desktop-login.ogg.old
sudo mv /usr/share/sounds/ubuntu/stereo/system-ready.ogg /usr/share/sounds/ubuntu/stereo/system-ready.ogg.old