Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

To disable sound in the Ubuntu terminal, you can follow these steps:

Open the terminal on your Ubuntu system.

Type the following command to open the configuration file for the terminal:

nano ~/.bashrc

Scroll to the end of the file and add the following line:

xset -b

Save the changes to the file by pressing "Ctrl + X", then "Y", and then "Enter".

Close the terminal and reopen it for the changes to take effect.

This command will disable the system bell, which is responsible for producing sounds in the terminal. By adding this command to the .bashrc file, the setting will be applied automatically every time you open a new terminal session.