Skip to content

Instantly share code, notes, and snippets.

@py7hon
Created July 28, 2019 20:05
Show Gist options
  • Save py7hon/04e5aba14c09fe2176562e8191b08d1d to your computer and use it in GitHub Desktop.
Save py7hon/04e5aba14c09fe2176562e8191b08d1d to your computer and use it in GitHub Desktop.
How to disable the annoying speaker beep in Arch Linux

How to disable the annoying speaker beep in Arch Linux

This has been driving me crazy for a while, but I never did anything about it: Whenever I use the keyboard to delete a file in the file manager using the DEL key, or go back a directory using BACKSPACE, or some everyday task like that, the computer beeps really loud, and almost makes me jump out of my chair. Disabling the speaker in ALSA Mixer does not work, and setting the volume to zero also does not help. So here is how to get rid of that beep:

In a terminal, write:

$ xset -b

You can of course also put this in your startup script (.bashrc or something) to make it permanent.

@TuringTux
Copy link

In KDE, you should be also able to disable the PC speaker beep via the System Settings GUI: https://wiki.archlinux.org/title/PC_speaker#KDE_Plasma

(the linked article also describes even more methods of disabling it)

@TheCustomFHD
Copy link

Or doing
rmmod pcspkr

Or creating something like
/etc/modprobe.d/nobeep.conf
With the content
blacklist pcspkr

@Malte-Gr
Copy link

From the Bottom of my heart I thank you.

The Beep is finnaly gone

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment