I added this section to my bashrc (although it never really worked in my configuration).
In console You can add this command in /etc/profile or a dedicated file like /etc/profile.d/disable-beep.sh (must be executable): setterm -blength 0
However, the code remained in a test section of my local config. Earlier this month after an util-linux update, bash started complaining. Here's a post with a similar error.
Add 'enable' settings, too?
- The beep is enabled by default, though, or do you have a specific issue in mind? -- Alad (talk) 03:39, 10 March 2015 (UTC)
Adding startup/boot sound
- From Xfce. Trivial, but possibly useful if we go with the above suggestion. -- Alad (talk) 20:12, 30 March 2015 (UTC)
Arch does not have a built-in startup sound configuration tool, but there is a workaround by adding the following command to your Application Autostart settings:
The file location and filename can be whatever you want, but naming it descriptively and putting it in /boot keeps things tidy.