You are not logged in.

#1 2022-12-17 19:58:02

mdcclxv
Member
Registered: 2022-04-26
Posts: 207

[SOLVED] Disable backspace sound in terminal

Hi again,

I've been trying for the last couple of hours to disable the sound that I get pressing backspace in the terminal when there's nothing to delete ... to no avail. Using KDE's System Settings -> Accessibility -> Bell -> Audible Bell setting is not working, it has no effect whatsoever. Blacklisting the pcspkr kernel module not working either, which doesn't make sense anyway since my sound is coming via soundcard, but tried it nevertheless. Disabling System Sounds in Volume Control does work but I don't want that, I do want message boxes and other system events to make sounds. I just need the terminal to shut up.

Also tried setting the following in .bashrc, not working either.

xset b off
xset b 0 0 0

Thanks in advance.

Last edited by mdcclxv (2022-12-17 20:38:16)

Offline

#2 2022-12-17 20:34:28

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,314

Re: [SOLVED] Disable backspace sound in terminal

What terminal emulator do you use? Konsole? xterm?

Instead of disabling the bell entirely, does https://unix.stackexchange.com/question … b-complete help you?

Offline

#3 2022-12-17 20:35:44

mdcclxv
Member
Registered: 2022-04-26
Posts: 207

Re: [SOLVED] Disable backspace sound in terminal

Finally found it: /etc/inputrc, uncomment

set bell-style none

Offline

#4 2022-12-17 20:37:56

mdcclxv
Member
Registered: 2022-04-26
Posts: 207

Re: [SOLVED] Disable backspace sound in terminal

seth wrote:

What terminal emulator do you use? Konsole? xterm?

Instead of disabling the bell entirely, does https://unix.stackexchange.com/question … b-complete help you?

Found the exact same solution you provided before actually reading your reply, but thank you for your time smile

Offline

#5 2022-12-24 16:37:27

gafenton
Member
Registered: 2022-12-24
Posts: 1

Re: [SOLVED] Disable backspace sound in terminal

I had the same problem after upgrading to fedora37. My xterm started making this annoying audible bell ("boink!") when backspacing too far, etc. None of the above solutions worked (i.e., none of "xset b off", "set bell-style none", rmmod pcspkr made any difference).
Turned out it was actually my tcsh shell! Solution: I put "set nobeep" into my ~/.tcshrc file. Now no more beeps.

Offline

Board footer

Powered by FluxBB