![]() |
ubuntu.com - launchpad.net - ubuntu help
|
|
|||||||
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 |
|
|
#1 |
|
Just Give Me the Beans!
![]() |
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 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. Last edited by WolfJay_83; April 2nd, 2007 at 11:58 AM.. Reason: Added clarification note |
|
|
|
|
|
#2 | |
|
Quad Shot of Ubuntu
![]() |
Re: Turn off (mute) system beep
Quote:
__________________
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 |
|
|
|
|
|
|
#3 |
|
Just Give Me the Beans!
![]() 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.
|
|
|
|
|
|
#4 |
|
Just Give Me the Beans!
![]() |
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 |
|
|
|
|
|
#5 |
|
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. |
|
|
|
|
|
#6 |
|
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! |
|
|
|
|
|
#7 |
|
A Carafe of Ubuntu
![]() 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. |
|
|
|
|
|
#8 |
|
Grande Half-n-Half Cinnamon Ubuntu
![]() Join Date: Nov 2005
Location: Texas
Beans: 938
Ubuntu 9.10 Karmic Koala
|
Put a strip of tape over the internal speaker, then you get a muted beep
|
|
|
|
|
|
#9 | |
|
First Cup of Ubuntu
![]() Join Date: Jul 2005
Beans: 6
|
Quote:
|
|
|
|
|
|
|
#10 |
|
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 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.. |
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|