Results 1 to 10 of 12

Thread: HOWTO: Disable The PC (internal/system) Speaker

Threaded View

  1. #1
    Join Date
    Aug 2008
    Location
    127.0.0.1
    Beans
    91
    Distro
    Ubuntu 9.10 Karmic Koala

    Arrow HOWTO: Disable The PC (internal/system) Speaker

    Preamble

    This may also be referred to as the system beep. Ubuntu utilizes this function found on the majority of computers rather a lot, and it can, for some become an irritation.

    A guide does already exist, but on reading seems tailored to laptop users: http://ubuntuforums.org/showthread.php?t=126746

    You may find suggestions else where that instruct you on how to remove the module, or indeed disable the terminal bell. For the purposes of this guide though we will be blacklisting the module as it is the more elegant means of disabling the internal speaker. The module will not even be loaded at boot time.

    This has been tested and verified under the following, if you have success in other releases, please let me know and I can add to the list:

    • Karmic (9.10)
    • Intrepid (Beta, RC and 8.10)
    • Hardy (8.04 and also 8.04.1)


    Blacklisting the module

    This method requires basic knowledge of the terminal, but is still very simple.

    Fire up a terminal session (Applications > Accessories > Terminal) and proceed with the following command:

    Code:
    sudo gedit /etc/modprobe.d/blacklist
    Enter your password when prompted, it will not display any input.

    At the very bottom of the file that is now open in Gedit append the following:

    Code:
    blacklist pcspkr
    Save and close. Next boot, the module will not be loaded and your annoyance ceases.

    If you do not want to reboot to initiate the effects of the file, you can manually disable the module using:

    Code:
    sudo modprobe -r pcspkr
    Bare in mind that this piece of code will only disable the module until next boot, if you do not use the above blacklisting method.

    To reverse the process follow the same steps as above, but remove the line you added to the blacklist file.
    Last edited by steveydoteu; January 1st, 2010 at 01:14 AM.
    Internets //<http://www.stevey.eu>
    Advice given with no warranty implied. Results are the users own responsibility.
    Paragraphs, spelling, and grammar. All very useful, please use them. It makes reading much easier.
    Disable the PC Speaker!

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •