setting beep on linux system
Hi,
I have a query about turning on the beep on the Linux Fedora 8 machine. I gave following commands to turn the beep on : $ xset b on $ xset b 100 2000 100 and tried to test it while tab completion, but its not producing any beep at all. Output of "xset q" does show settings getting accepted properly : bell percent: 100 bell pitch: 2000 bell duration: 100 Does anybody know any reason for beep not working? Also, can I know which application make use of various settings shown by "xset q"? Regards, Girish |
If you want to set the system beep in CLI you should use setterm:
Code:
setterm -blength 100 |
Hi,
Thanks for the reply. I want to set the beep on the X server itself. What I want is, when I keep on pressing <TAB> key on the xterm then it gives me a list of commands but it should also give me a beep at least once. I tried 'setterm -blength 100' and 'setterm -bfreq 100' on the terminal but it's also not giving me any sound. I also tried to set the System beep through UI (System-->Preferences-->Hardware-->Sound-->System Beep) but it's not producing any beep. I checked on Redhat 9 system and both 'setterm' and 'xset' are working as expected. Is there any reason why same commands are not working on FC8? Regards, Girish |
Make sure the speaker is working and it's connected to the mainboard.
Check if the pcspkr module is loaded into the kernel Code:
lsmod|grep pcspkr Code:
modprobe pcspkr Code:
grep pcspkr /etc/modprobe.d/blacklist |
On RH9,
even though 'pcspkr' is not there I can hear the sound. But, on FC8, I inserted 'pcspkr' but still I am not able to hear any sound. I did check the speaker connection on FC8 machine and it is fine. 'pcspkr' is not there in /etc/modprobe.d/blacklist Regards, Girish |
Check /etc/inputrc to see if you have "set bell-style none" and change it to "set bell-style audible".
Also if you're using gnome or kde you can use their tools to setup system bell. |
Hi,
In the morning today I boot the system and the sound is working when I open/close any application on X-server. I noticed that 'pcspkr' is already inserted automatically. In /etc/inputrc, following line was still commented : #set bell-style none But, still Ctrl-G (I think this produces a beep when pressed on xterm) is not working. Also, even if I change values using "xset b ...." then it is not affecting the sound. OR if I use "xset b 0 0 0" then it is also not turning off the beep. I even tried "rmmod pcspkr" or uncommented above line in /etc/inputrc to turn off the beep, but beep is still there. I am not able to make it clear which thing exactly affects the beep and also turns it on/off. I am using Gnome and if I use the checkbox (System-->Preferences-->Hardware-->Sound-->System Beep-->Enable System beep) to enable or disable then this is also not affecting beep in any way. Regards, Girish |
It might worth trying the solution posted here:
Quote:
|
Thanks for the link.
On my FC8 system enabling/disabling PCM from gnome-volume-control (version 2.20.1, System->Preferences->Hardware->Volume Control) turns the beep on/off. Now I am not sure if it is a beep or the sound files that are being played when I open/close applications on X-server because Ctrl-G on xterm is still not able to give me any sound, or 'xset b ....' or 'xset b 0 0 0' does not have any effect on this sound. I did not select AUX. Also presence of 'pcspkr' does not seem to matter. |
Moved: This thread is more suitable in Fedora and has been moved accordingly to help your thread/question get the exposure it deserves.
|
All times are GMT -5. The time now is 11:07 PM. |