Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
UN10: Disabling the system bell / beep
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Frequently Asked Questions
View previous topic :: View next topic  
Author Message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20048

PostPosted: Tue Dec 27, 2005 7:02 pm    Post subject: UN10: Disabling the system bell / beep Reply with quote

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:
Code:
setterm -blength 0


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
Code:
xset -b


Disabling speaker at startup:
Code:
xset b 0 0 0

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?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Frequently Asked Questions All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum