Gnome Linux Disable / Turn Off Hardware Beep Sound For Terminal

https://w‮w‬w.lautturi.com
Gnome Linux Disable / Turn Off Hardware Beep Sound For Terminal

To disable the hardware beep sound for the terminal in Gnome Linux, follow these steps:

  1. Open the terminal and run the following command:
gsettings set org.gnome.desktop.wm.preferences audible-bell false

This will disable the hardware beep sound for all Gnome applications, including the terminal.

  1. To disable the hardware beep sound for the terminal only, open the terminal and run the following command:
echo "set bell-style none" >> ~/.inputrc

This will add the set bell-style none line to the ~/.inputrc file, which is the configuration file for the readline library used by the terminal. This will disable the hardware beep sound for the terminal only.

  1. To make the changes take effect, close and reopen the terminal. The hardware beep sound should now be disabled.

That's it! The hardware beep sound for the terminal is now disabled in Gnome Linux. Note that this change may not take effect for all terminal applications, as some may not use the readline library. In that case, you may need to disable the hardware beep sound for those applications separately.

Created Time:2017-10-16 14:38:42  Author:lautturi