SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2010-07-09 11:03:24

framling
New Member
From: London
Registered: 2010-07-06
Posts: 2

Turning off system beeps

Hi,


first post. Here's how remove all bleeping system beeps. Should work on most versions.


First things first, remove the damn pc speaker completely:


echo 'blacklist pcspkr' | sudo tee -a /etc/modprobe.d/pcspkr.conf
sudo rmmod pcspkr

Then, remove gtk apps beep:

echo "gtk-error-bell = 0 " >> ~/.gtkrc-2.0.mine 


then, the readline/bash beeps:

echo "set bell-style none" >> ~/.inputrc

even better, put the above line into /etc/inputrc

remove all console beeps in X:

echo "xset b off" >> ~/.config/openbox/autostart.sh

remove all console beeps from system console:

echo "setterm -blength 0" >> ~/.profile
echo "setterm -bfreq 0"  >> ~/.profile 

or /etc/profile.



then, gdm:

 sudo vi /etc/gdm/gdm.conf
[greeter]
SoundOnLogin=false

or run

sudo gdmsetup

and untick the sound there.


finally, if you have this in under /etc/default/grub, (carefuly) comment it out like so:

#GRUB_INIT_TUNE="480 440 1"

I've still got this loading at boot time:

[    6.763225] input: HDA Digital PCBeep as /devices/pci0000:00/0000:00:1b.0/input/input11

but I don't think it's doing anything that bleeps me off. yet.



Statler; great release guys. Loving my desktop again.



edit: heading fixed, global inputrc, path fix
edit: found more beeps. going mad now.


if vim beeps add this to ~/.vimrc

set vb t_vb=

if your man pages and other things beep:

amixer set 'PC Speaker' 0% mute
amixer set 'PC Beep' 0% mute

esentially, the pcskr blacklist and the amixer muting should end all beeps, so do those first.

Last edited by framling (2010-07-15 20:03:53)

Offline

Help fund CrunchBang, donate to the project!

#2 2010-07-14 15:30:15

valbaca
Member
From: Texas
Registered: 2010-07-14
Posts: 47
Website

Re: Turning off system beeps

This is bleeping great. Thanks.


For the love of freedom.
Thinkpad X200s CrunchBang 10a2 amd64
Get Counted  #498874

Offline

#3 2010-07-14 17:55:33

Andreas
#! Junkie
Registered: 2010-01-26
Posts: 277

Re: Turning off system beeps

that much? My beeps were fixed with adding pcspkr and sndpcsp to some modprobe blacklist and everything was solved...


Meh. Interested for a Dropbox alternative? Go to https://launchpad.net/tart

Offline

#4 2010-07-15 06:49:02

framling
New Member
From: London
Registered: 2010-07-06
Posts: 2

Re: Turning off system beeps

When I did just that I still had the beeps going through my soundcard; so it was even louder.

I still had an odd beep going through when i sudo, so the inputrc entry above should go into /etc/inputrc. That seems to get rid of all terminal beeps.

btw, this is on statler. I haven't seen this much beeping in a long time.

Offline

#5 2010-07-15 07:49:01

mattatron
#! Member
From: London
Registered: 2009-07-19
Posts: 96

Re: Turning off system beeps

I think this:

echo "xset b off" >> /.config/openbox/autostart.sh

should actually be this:

echo "xset b off" >> ~/.config/openbox/autostart.sh

Thanks for the fix!


Registered Linux user #503837

Offline

#6 2010-07-15 14:31:34

saneks
#! Die Hard
Registered: 2009-10-01
Posts: 998

Re: Turning off system beeps

could you change the thread title to "no system beeps" or sth? easier to find.


eee701 user & other lap/desktops

Offline

#7 2010-10-26 10:15:10

Erik
#! CrunchBanger
From: Fort Worth, TX
Registered: 2009-03-28
Posts: 192

Re: Turning off system beeps

I tried your solution above, and the logout beep is gone, but I'm still left with these two:

1) Thunar beeps (using the speakers!) whenever I delete a file
2) Programs (like gedit) beep (using the speakers) when I backspace and hit the start of the line

This beeping has been pretty much my only problem with statler, but it's slowly driving me crazy... please help!

Offline

#8 2010-10-26 13:11:39

achristoffersen
#! Junkie
Registered: 2009-03-23
Posts: 354

Re: Turning off system beeps

How about:
1Ndf.png http://imm.io/1Ndf

Offline

#9 2010-10-26 20:27:13

shueddue
Member
Registered: 2010-08-17
Posts: 25

Re: Turning off system beeps

lol

Offline

#10 2010-10-26 22:26:12

Erik
#! CrunchBanger
From: Fort Worth, TX
Registered: 2009-03-28
Posts: 192

Re: Turning off system beeps

achristoffersen wrote:

How about:

AWESOME! You just made my day!!

Offline

#11 2010-10-27 07:37:58

titan
#! Member
Registered: 2010-08-06
Posts: 64

Re: Turning off system beeps

I just turned mine off in the bios setup

Offline

#12 2011-06-03 16:02:08

cwgtex
New Member
Registered: 2011-05-20
Posts: 6

Re: Turning off system beeps

Thanks for this!

Offline

#13 2011-07-01 03:22:17

akshay_d
New Member
Registered: 2011-07-01
Posts: 1

Re: Turning off system beeps

I made a script using all these commands. See link below for script and instructions.

Link

Please let me know if you have issues and if you can help me make the script better.

Offline

#14 2011-07-01 17:50:42

nmk
Member
From: Sao Paulo - SP - Brazil
Registered: 2011-04-27
Posts: 13

Re: Turning off system beeps

I installed alsamixergui and in it, checked the PC BEEP box.

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.

Debian Logo