Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Other Community Discussions > Tutorials & Tips
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Ubuntu 9.10 is out!!!

When downloading Ubuntu 9.10 please consider using bittorrent to get your copy of Ubuntu.

The Ubuntu Developers Summit for Lucid Lynx will be held the week of 16-Nov-2009 till 20-Nov-2009 in Dallas, TX USA. Visit the the Ubuntu wiki for more information about UDS and how to participate remotely.

Tutorials & Tips
The place to find Ubuntu related Tips & Tricks.

 
Thread Tools Display Modes
Old February 7th, 2006   #1
WolfJay_83
Just Give Me the Beans!
 
WolfJay_83's Avatar
 
Join Date: Jul 2005
Location: Waterloo, Canada
Beans: 42
Send a message via MSN to WolfJay_83
Turn off (mute) system beep

For anyone with a laptop who works in a library or other quiet area, system beeps every time you press the backspace key one too many times, or just using emacs, can be quite disturbing.

To shut them off:
open an xterm or terminal, and enter the two lines
Code:
xset b off
xset b 0 0 0
Hope this helps.

note: this does not work if run before X. To have it run as default, you can place it in your .xinitrc before the windowmanager. If you're using Gnome or KDE, it is probably easier to just turn off the "System Bell" or set it to "Visable Only" in your respective settings manager.
__________________
Jason Locklin
Undergraduate Psychology Student, University of Waterloo
Homepage

Last edited by WolfJay_83; April 2nd, 2007 at 11:58 AM.. Reason: Added clarification note
WolfJay_83 is offline   Reply With Quote
Old February 7th, 2006   #2
zachtib
Quad Shot of Ubuntu
 
zachtib's Avatar
 
Join Date: Dec 2004
Location: Louisville, KY
Beans: 401
Ubuntu 9.04 Jaunty Jackalope
Send a message via AIM to zachtib
Re: Turn off (mute) system beep

Quote:
Originally Posted by WolfJay_83
For anyone with a laptop who works in a library or other quiet area, system beeps every time you press the backspace key one too many times, or just using emacs, can be quite disturbing.

To shut them off:
open an xterm or terminal, and enter the two lines
Code:
xset b off
xset b 0 0 0
Hope this helps.
will this disable it permanently, or do i need to run this every time i boot up?
__________________
Thinkpad T61p: 15.4" WUXGA Screen, Core 2 Duo T9300, 4GB DDR2, 512MB Quadro 570M, 160GB 7200RPM HDD, DVD+RW, Intel 4965AGN+Bluetooth, 9 Cell Battery
http://blog.zachtib.com
zachtib is offline   Reply With Quote
Old February 7th, 2006   #3
Parkotron
Just Give Me the Beans!
 
Parkotron's Avatar
 
Join Date: Aug 2005
Location: London, Canada
Beans: 75
Re: Turn off (mute) system beep

I've always just unplugged the internal speaker all together. I guess this solution is a little less drastic.
Parkotron is offline   Reply With Quote
Old February 7th, 2006   #4
WolfJay_83
Just Give Me the Beans!
 
WolfJay_83's Avatar
 
Join Date: Jul 2005
Location: Waterloo, Canada
Beans: 42
Send a message via MSN to WolfJay_83
Re: Turn off (mute) system beep

It appears to turn it off temporarily (I've been using it just when in the library). I suppose if you put it in a script to be run on bootup, you could make it perminent. I will have to put together instructions when I do that myself.

note: its kindof hard to disconnect the pc speaker in a laptop. Also, on a PC, if your video or ram gets messed up, you won't know whats going on on bootup without the post beep.

regards
__________________
Jason Locklin
Undergraduate Psychology Student, University of Waterloo
Homepage
WolfJay_83 is offline   Reply With Quote
Old February 7th, 2006   #5
art
Quad Shot of Ubuntu
 
Join Date: Apr 2005
Beans: 430
Re: Turn off (mute) system beep

You can disable system bell if in the Terminal you go to Edit->Current Profile->General and uncheck the Terminal Bell
Or in the Configuration editor go to apps->Gnome-Terminal->Profiles->default check silent Bell.
art is offline   Reply With Quote
Old February 7th, 2006   #6
i3dmaster
Ubuntu Espresso Roast
 
Join Date: Nov 2004
Beans: 177
Dapper Drake
Re: Turn off (mute) system beep

wouldn't do any good for console beep.
__________________
Linux user #392733
-------------------------------------
You want to know what a computer really is, try Linux!
i3dmaster is offline   Reply With Quote
Old February 7th, 2006   #7
dbw
A Carafe of Ubuntu
 
dbw's Avatar
 
Join Date: Oct 2005
Location: Berkeley, California
Beans: 111
Xubuntu 6.06
Re: Turn off (mute) system beep

Alternatively, (in gnome) you can change the System>Preferences>Sound>System Bell setting to either off or to a visual alert. I like the visual alert, which will invert the colors of the application frame briefly. This is a strong option because:
it allows beeps pre-Gnome, so I know if anything goes awry
I don't find the flashing border obnoxious
The information is still presented, just in case.

This definately changes terminal and emacs beeps.
dbw is offline   Reply With Quote
Old February 7th, 2006   #8
rfruth
Grande Half-n-Half Cinnamon Ubuntu
 
rfruth's Avatar
 
Join Date: Nov 2005
Location: Texas
Beans: 938
Ubuntu 9.10 Karmic Koala
Wink Re: Turn off (mute) system beep

Put a strip of tape over the internal speaker, then you get a muted beep
rfruth is offline   Reply With Quote
Old March 22nd, 2006   #9
llimllib
First Cup of Ubuntu
 
Join Date: Jul 2005
Beans: 6
Talking Re: Turn off (mute) system beep

Quote:
Originally Posted by WolfJay_83
For anyone with a laptop who works in a library or other quiet area, system beeps every time you press the backspace key one too many times, or just using emacs, can be quite disturbing.

To shut them off:
open an xterm or terminal, and enter the two lines
Code:
xset b off
xset b 0 0 0
Hope this helps.
Many thanks! works like a charm.
llimllib is offline   Reply With Quote
Old April 15th, 2006   #10
geofs
First Cup of Ubuntu
 
Join Date: Apr 2006
Location: Brussels
Beans: 4
Dapper Drake Testing/
Re: Turn off (mute) system beep

Do not unplug your internal speaker or make boot scripts

Edit the .inputrc file in your home directory (create it if needed) and add the line

Code:
set bell-style visible
this will replace the beep by a flashing screen. You can replace 'visible' by 'none' to get nothing at all.

You can also add (or uncomment) this line in the general /etc/inputrc file to set the bell-style for all users (overriden in ~/.inputrc).

You have to log out to enable this setting.

PS: this also works in xterm/konsole/gnome-terminal

Last edited by geofs; April 15th, 2006 at 08:04 PM..
geofs is offline   Reply With Quote

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 02:42 AM.


vBulletin ©2000 - 2009, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. lingonberry