------------------------------------------------------------------------------- Methods for disable the X windows beep.. Why * To stop the annoying terminal bell EG: echo -n $'\a' But for specific programs... + vim Add to your vimrc set belloff=all " turn of the bell for everything + shell tab completion, and delete on empty line Add to your "~/.inputrc" set bell-style none And to re-read run bind -f ~/.inputrc * Stop for screen capture (such as game auto-key screen capture/search) (No solution known) --- This was enabled on upgrade to Fedora 36... Seems the sound is enabled by the "pipewire" audio daemon vi /usr/share/pipewire/pipewire.conf ... # Use libcanberra to play X11 Bell { name = libpipewire-module-x11-bell args = { #sink.name = "" #sample.name = "bell-window-system" #x11.display = null #x11.xauthority = null } } ... Commenting out this whole section will disable X11 beeps completely! This was uncommented as part of an upstream pipewire change. from Pipewire version 0.3.60 https://github.com/PipeWire/pipewire/blob/master/NEWS Gnome gets the current system bell sound setting from /home/anthony/.local/share/sounds/__custom/ But this does not seem to effect the sound "pipewire" is using! ---- Global Methods * xset b off This does NOT effect terminal bell or screen capture! * Disable pc speaker kernal module in /etc/modprobe.d/blacklist.conf or /etc/modprobe.d/99-nobeep.conf blacklist pcspkr blacklist snd_pcsp This is default in many distros OR from a root CLI rmmod pcspkr (does not work for "pipewire") * setterm -bfreq 0 for individual terminals (add to /etc/profile for all) (does not work for "pipewire") * For consoles for i in 1 2 3 4 5 6; do setterm -blength 0 > /dev/tty$i done * Reduce "System Sounds" to zero This WORKS in "pipewire" for BOTH capture and bell globally * Disable in gnome... gsettings set org.gnome.desktop.wm.preferences audible-bell false -------------------------------------------------------------------------------