Page 1 of 2 12 LastLast
Results 1 to 10 of 12

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

  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!

  2. #2
    Join Date
    Oct 2005
    Beans
    475

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

    Worked perfectly. Thanks.

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

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

    Quote Originally Posted by rossjman1 View Post
    Worked perfectly. Thanks.
    What version are you running may I ask?
    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!

  4. #4
    Join Date
    Apr 2008
    Beans
    286

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

    Worked perfect, many thanks.

    I'm on Hardy.
    Code:
    roccivic@roccivic-office-pc:~$ uname --all
    Linux roccivic-office-pc 2.6.24-22-generic #1 SMP Mon Nov 24 18:32:42 UTC 2008 i686 GNU/Linux

  5. #5
    Join Date
    Jun 2008
    Location
    Sin City
    Beans
    588
    Distro
    Ubuntu UNR

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

    Huh. My method is a tad simpler, really.

    Code:
    Pop case.
    Yank cable.
    Done. Even works for Windows!
    Warning: Any code examples I write are probably untested and contain bugs. Do not execute directly. Look for intent, not accuracy, please!
    L.A.G. - Jobs Dissembles - 2010/4/29

  6. #6
    Join Date
    Nov 2007
    Location
    NC, USA
    Beans
    829
    Distro
    Ubuntu 12.04 Precise Pangolin

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

    Quote Originally Posted by Greyed View Post
    Huh. My method is a tad simpler, really.

    Code:
    Pop case.
    Yank cable.
    Done. Even works for Windows!

    Not in a laptop.
    Linux User #460341 || Ubuntu User #19510 || Unanswered Posts Team

  7. #7
    Join Date
    Feb 2007
    Beans
    771
    Distro
    Ubuntu Development Release

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

    This works for 2.6.27-9-generic Release 8.10 (Intrepid) on Dell 4200
    To err is human, but not uniquely so.

  8. #8
    Join Date
    Nov 2005
    Location
    Bordeaux, France
    Beans
    11,294
    Distro
    Ubuntu 12.04 Precise Pangolin

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

    And if you want to avoid a reboot, just unload the module manually:

    Code:
    sudo modprobe -r pcspkr
    「明後日の夕方には帰ってるからね。」


  9. #9
    Join Date
    Sep 2009
    Location
    UK
    Beans
    33
    Distro
    Ubuntu 13.04 Raring Ringtail

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

    THANKS steveydoteu. after updating to 9.10 the beep started but fortunately it has been banned now....

  10. #10
    Join Date
    Apr 2007
    Beans
    63
    Distro
    Ubuntu 9.04 Jaunty Jackalope

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

    Thank you steveydoteu!

    This worked under Ubuntu 9.04

    GiveLove

Page 1 of 2 12 LastLast

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
  •