LinuxReviws.org --get your your Linux knowledge
> Linux Reviews > Tips and Tricks >

Console beeps / PC speaker on/off

How to turn the annoying pc-speaker beeps on and off


  1. Xfree
  2. Console


1. Xfree

In Xfree you can turn the PC-speaker bell on and off with the xset commands option b - manual page

Example:

  xset b off

2. Console

To turn off the pc speaker on console mode use setterm with the argument blength - manual page

Example (turns it off):

  setterm -blength 0

thanks to igu


Copyright (c) 2000-2004 Øyvind Sæther. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled ["GNU Free Documentation License" http://www.gnu.org/licenses/fdl.html].


Meet new people