Results 1 to 7 of 7

Thread: Making PC beep for email notification [Thunderbird]

  1. #1
    Join Date
    Nov 2012
    Beans
    10

    Making PC beep for email notification [Thunderbird]

    Hi there,

    do you know a way to use the internal speaker, which e.g. beeps while initializing the BIOS, as an email notification with Thunderbird?

    I'm still on Kubuntu 10.04.

    Thanks for your help,
    resruta

  2. #2

    Re: Making PC beep for email notification [Thunderbird]

    Tbird > Edit > Preferences >
    Attached Images Attached Images
    • File Type: png 1.png (62.3 KB, 25 views)
    Windows assumes the user is an idiot.
    Linux demands proof.

  3. #3
    Join Date
    Nov 2012
    Beans
    10

    Re: Making PC beep for email notification [Thunderbird]

    Hi and thank you for your answer.

    Deactivating both ckeckboxes as shown on your screenshot does not give me any kind of sound when recieving an email. I indeed have to admit that I do not understand why it should.

    By the way,
    Code:
    printf "\a"
    does neither return an error nor a sound, so their might be a problem in my configuration in general. However the board beeps while booting, so it should not be a problem with the hardware.

    resruta

  4. #4
    Join Date
    Nov 2008
    Location
    Boston MetroWest
    Beans
    16,326

    Re: Making PC beep for email notification [Thunderbird]

    You have to check the box to make Thunderbird play a sound.
    If you ask for help, do not abandon your request. Please have the courtesy to check for responses and thank the people who helped you.

    Blog · Linode System Administration Guides · Android Apps for Ubuntu Users

  5. #5
    Join Date
    Nov 2012
    Beans
    10

    Re: Making PC beep for email notification [Thunderbird]

    I'm sorry, I misunderstood the picture.
    Using "Default system sound for new email" I ain't get any sound at all.
    With "Use the following sound file" I get the chosen file playd via my soundcard, but that's not what I want. I want the internal little speaker on the mainboard to beep so that I get notified even if there are headphones plugged in or if my HiFi (which is the only device connected to my soundcard) is in a different channel.

  6. #6
    Join Date
    Jun 2006
    Beans
    109
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Making PC beep for email notification [Thunderbird]

    Can you get the internal speaker to beep at all?

    Rather than using
    Code:
    printf "\a"
    I use a program beep on the command line to access the internal speaker.

    Also I forget when ubuntu started to do this but the internal speaker kernel module got blacklisted a while back because too many people were getting nasty beeps during boot up. To check either use lsmod to look for the speaker module
    Code:
    lsmod | grep pcspkr
    or look at /etc/modprobe/blacklist.conf and look for a line like
    Code:
    # ugly and loud noise, getting on everyone's nerves; this should be done by a
    # nice pulseaudio bing (Ubuntu: #77010)
    blacklist pcspkr
    To get around this following some guide or another I edited rc.local file (which will be run at start up
    Code:
    #!/bin/sh -e
    #
    # rc.local
    #
    # This script is executed at the end of each multiuser runlevel.
    # Make sure that the script will "exit 0" on success or any other
    # value on error.
    #
    # In order to enable or disable this script just change the execution
    # bits.
    #
    # By default this script does nothing.
    
    #enable pcspeaker kernel module late enough so it works
    modprobe pcspkr || true
    exit 0
    For a one off event you can run
    Code:
    sudo modprobe pcspkr || true
    I can't help with getting thunderbird to beep though.

  7. #7
    Join Date
    Nov 2012
    Beans
    10

    Re: Making PC beep for email notification [Thunderbird]

    Hi,

    thank you for your suggestion!
    I tried to access the speaker with beep but that did not work, too.

    pcspkr is not blacklisted.

    Code:
    $ lsmod | grep pcspkr
    pcspkr                  1699  0
    Code:
    sudo modprobe pcspkr || true
    Of course does not return an error, the module is loaded.

    resruta

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
  •