22

I newly installed xfce on Arch Linux. xfce makes a beep noise every time I press the delete button or backspace, which is really annoying. How can I disable this?

I tried un-commenting set bell-style none, but that didn't work.

  • 1
    Did you reload ~/.inputrc after uncommenting set bell-style none (reload command: bind -f ~/.inputrc)? If yes, then try one of the mentioned methods. E.g. by unloading pcspkr module: rmmod pcspkr or by xset b off. – patryk.beza Jul 8 '15 at 15:28
  • 1
    Might I recommend this? – HalosGhost Jul 9 '15 at 3:54
27

To disable the bell for all X applications:

xset b off 
11

Go to SETTINGS → SESSION → STARTUP, button ADD, type: name "beep" and in last field type "xset b off".

0

This Arch Wiki page lists all the options to disable PC speaker (beep) very nicely: https://wiki.archlinux.org/index.php/PC_speaker

For instance, as mentioned by @SauceMcBoss, you can set:

xset -b

(or xset b off) to disable it in Xorg (which will solve your problem). To make the change permanent, add this line to either your .xinitrc or xprofile file.

Or, to disable the PC speaker globally within one session, the pcspkr kernel module can be unloaded with:

rmmod pcspkr

To prevent its loading by udev at boot, you can blacklist it in a .conf file in /etc/modprobe.d/. For instance:

echo "blacklist pcspkr" > /etc/modprobe.d/blacklist.conf

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.