pjp Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
![](images/avatars/1154772887439692d88303b.jpg)
Joined: 16 Apr 2002 Posts: 20329
|
Posted: Tue Dec 27, 2005 7:02 pm Post subject: UN10: Disabling the system bell / beep |
|
|
Navigation: [Uncategorized] [Table of Contents]
Disabling the system bell / beep
Note: The following methods are untested (by me) to ensure clear instruction for usage, and were obtained from the thread listed at the bottom. Testing is on my list of things to do. Others are welcome to do so, and submit an update.
Console
To disable tab completion and backspace beeping (anything else?), while allowing system beeps (such as emerge output), add the following to /etc/inputrc:
Code: | set bell-style none |
- or -
Code: | set bell-style visual |
To disable console beeping for the current console:
To disable console beeping for another terminal than the one you are currently in (where <num> is the number of the terminal to disable beeping):
Code: | setterm -blength 0 > /dev/vc/<num> |
X Windows
Disabling speaker at startup:
Code: | xset -b b 0' to /etc/conf.d/local.start |
Kernel
With 2.6 kernels, a module can be used for the PC speaker.
Location: Code: | Device Drivers --->
Input device support --->
[*] Misc
< > PC Speaker support |
Load and unload module:: Code: | /sbin/modprobe pcspkr
/sbin/rmmod pcspkr |
Compiled from various threads, now merged. _________________ Quis separabit? Quo animo? |
|