LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   SUSE / openSUSE (https://www.linuxquestions.org/questions/suse-opensuse-60/)
-   -   How to remove annoying critical sound of SUSE 11.0 (https://www.linuxquestions.org/questions/suse-opensuse-60/how-to-remove-annoying-critical-sound-of-suse-11-0-a-770220/)

raju.mopidevi 11-19-2009 09:21 AM

How to remove annoying critical sound of SUSE 11.0
 
I am using SUSE 11.0 KDE 3.5 in my laptop. when my battery power becomes 10% then it makes critical beep ( which i hate ) . how to remove this sound ??

aus9 11-20-2009 07:43 AM

hi

this sound is either the pcspkr module....which can be blacklisted or

its a sound event....meaning your distro is playing a sound file. Some sound files can be found in /usr/share/sounds

if its a sound file....run commands

Code:

sudo (or su) updatedb
locate *.wav

its likely to be a small one....so play the small ones until you find it...then disable it...chmod 000 /pathway2/file.wav

raju.mopidevi 11-20-2009 04:25 PM

I had verified that folder, it contains some KDE sounds. But i didn't find that critical error sound file.

aus9 11-20-2009 07:21 PM

then it may be the pcspeaker.....a tiny speaker inside your case that can only beep.

post the output of this command pls...to see if you have it running

Code:

lsmod | grep pcspkr

(my output)
pcspkr                  2396  0

Now I do not use your distro but with root powers you can edit something "like" /etc/modprobe.d/blacklist.conf
add a line
blacklist pcspkr

reboot to test.

2) or add a line to /etc/rc.local if you can not find any blacklist file but it needs the full pathway

/sbin/rmmod pcspkr

raju.mopidevi 11-20-2009 11:37 PM

hey thanks ,it's pc speaker that makes worst sounds.

The commands given by you are not at all working for my OS, I had used GUI way of muting PC speaker.

Personal Settings -> System Bell -> "system bell" volume to "0"


All times are GMT -5. The time now is 05:12 AM.