Disable the drum beat sound in Ubuntu
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 disabled.
For all other versions
All the sounds can be disabled 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