How to disable system sounds on Ubuntu 9.10

Asked by philippe

I installed Ubuntu 9.10 and can't disable some system sounds like the one when the computer starts.

I added "rmmod pcspkr " in fichier /etc/rc.local, I also added "blacklist pcspkr" in /etc/modprobe.d/blacklist and selected the "no sound" sound scheme.

Under 9.04 that had solved the problem but with 9.10 I just can't get rid of that stupid tambourine when the computers starts up.

By the way, could somebody at Ubuntu try to fix that not forcing us to always try to find a way to get rid of those silly sounds ? Something like "turn off speaker for system beeps".

If anyone knows how to mute those system beeps, you're welcome.

Philippe

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Luis F. Lopez
Solved:
Last query:
Last reply:
Revision history for this message
Best Luis F. Lopez (luis.lopez) said :
#1

Phillipe,

Quick and dirty solution: remove ubuntu-sounds package. On the terminal execute:

sudo apt-get remove ubuntu-sounds

Other more elegant ways are:

Remove the sound events from gnome. On the terminal execute:

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

Or

Disable the “login ready” sound. Edit your /etc/gdm/custom.conf file.

sudo gedit /etc/gdm/custom.conf

Under the [greeter] section add the line:

SoundOnLogin=false

Hope this helps

Luis

Revision history for this message
philippe (pmespace-subs) said :
#2

Thanks for that Luis.
I checked the /etc/gdm/custom.conf and the greeter section already contains SoundOnLogin=false

I might need to remove the ubuntu sound package or the sound events but I'm in fact not a power user of Ubuntu, more sort of a stupid user... It worries me to remove those packages like that when that SHOULD normally be something (easily) configurable (that's my point of view at least).

Is it really safe to do what you suggest ? Won't there be any drawback od any kind ?

Revision history for this message
Davide Notaristefano (mokmo) said :
#3

Hi Luis,

you might simply want to remove "Gnome Login Sound" from the startup applications. You can find it in System->Preferences->Startup (or something like that: I'm using an Italian Gnome, so words are different, but it shouldn't be hard to find).
Anyways, I'm sure that you have to remove "Gnome Login Sound" from the login applications. ;)

Bye
Davide

Revision history for this message
philippe (pmespace-subs) said :
#4

I finally ran the following command (as suggested by Luis, thanks Luis)
    sudo -u gdm gconftool-2 --set /desktop/gnome/sound/event_sounds --type bool false
And the sounds are gone.

I, as a standard user, must say that make such modification only to remove some system sounds isn't that user friendly (especially since I had to do something else on 9.04 and eventually will have to do something else with next version).

Thanks to you all.

Revision history for this message
philippe (pmespace-subs) said :
#5

Thanks Luis F. Lopez, that solved my question.

Revision history for this message
philippe (pmespace-subs) said :
#6

The very bad thing is, an Ubuntu update re-installed the package ! I have to now de-install it again !

Revision history for this message
philippe (pmespace-subs) said :
#7

The very bad thing is, an Ubuntu update re-installed the package ! I have to now de-install it again !