Disabling Beep in MATE Terminal
Home |
Table of Contents
1 Disabling Beep in MATE Terminal
1.1 Open MATE Terminal:
Launch your terminal application.
1.2 Access Terminal Preferences:
- Go to the terminal menu, usually found at the top of the window.
- Select Edit and then Profile Preferences or just Preferences depending on your version.
1.3 Modify Profile Settings:
- Navigate to the Text tab or similar, where you find settings related to the terminal’s display and behavior.
- Look for an option called Terminal bell or similar and uncheck it. This option might also be found under a General, Bell, or Sounds tab depending on your terminal version.
1.4 Save and Close:
- Save your changes and close the preferences dialog. The terminal should now stop making a beep sound when you attempt to move the cursor beyond the command line limits or when an alert needs to be made.
2 Disabling System-Wide Beep/Bell
If you want to disable the system-wide bell sound, which will affect all applications, not just the terminal, you can disable it using
command-line methods:
2.1 Disable with xset:
- Open a terminal.
- Type the following command to turn off the bell:
xset b off
- This command disables the X server bell, which is what typically handles the beep sound in GUI applications.
2.2 Make the Change Permanent:
- To ensure this setting persists across reboots, you can add the xset b off command to your .bashrc or .profile file, or potentially in a
startup script depending on how your MATE environment is set up:
echo "xset b off" >> ~/.bashrc
2.3 Adjust System Sound Settings:
- Another approach is to adjust the system sound settings via your system settings menu where you can mute or turn off alert sounds.
3 Additional Tip for Non-MATE Environments
If you're using a different environment or if the MATE Terminal does not provide an option to disable the bell in its preferences:
- Modify System Console Settings:
- For non-graphical terminals (like console sessions accessed via Ctrl+Alt+F1-F6), you might want to disable the bell in the console:
echo "setterm -blength 0" >> ~/.bashrc
After applying these settings, your system or MATE terminal should no longer make a beep sound in the scenarios described. Always make sure to test the changes by opening a new terminal window or by restarting your system to ensure the settings have taken full effect.