Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Cannot make Thunderbird beep
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
mhodak
Veteran
Veteran


Joined: 15 Nov 2003
Posts: 1200

PostPosted: Wed Nov 21, 2012 10:01 am    Post subject: Cannot make Thunderbird beep Reply with quote

I would like my computer to beep - using built-in PC speaker (not speakers connected to soundcard, I use headphones most of the time) when receiving new email in Thunderbird, but I cannot get it to work. After some searching I found Mailbox Alert extension, which can execute command (/usr/bin/beep) when a new email is received, but somehow this does not work - there is no "beep" generated, even though /usr/bin/beep works just fine on its own. This is pretty frustrating since I can get an arbitrary command executed - including mplayer playing a file or opening an application - but /usr/bin/beep does nothing from the Mailbox Alert extension.

Does anyone has any insight into this, or can somebody at least try this to see if it works for them?

Thanks.
Back to top
View user's profile Send private message
paulj
Guru
Guru


Joined: 30 Sep 2004
Posts: 338
Location: Wales, UK

PostPosted: Wed Nov 28, 2012 8:50 pm    Post subject: Reply with quote

Well, I have just recompiled my kernel to add PC Speaker support and emerged beep only to find I seem to have built my PC without a speaker!

Anyway, some thoughts:
  • How about running Thunderbird from a shell to see if there are any error messages posted when the command is called?
  • Do you need to run the command in a shell (/bin/sh -c /usr/bin/beep) rather than directly?

I just tried Thunderbird in the shell, and although I haven't got a speaker konsole popped up the 'Bell in Session "Shell" ' which suggests it is signalling properly when testing the alert feature. However, if I execute the command directly in konsole, it doesn't.....

Sorry I can't be more helpful

edit - fixed formatting and spelling!


Last edited by paulj on Thu Nov 29, 2012 12:33 pm; edited 1 time in total
Back to top
View user's profile Send private message
mhodak
Veteran
Veteran


Joined: 15 Nov 2003
Posts: 1200

PostPosted: Thu Nov 29, 2012 7:22 am    Post subject: Reply with quote

Actually, your suggestion has been very helpful !!! Strangely, beeping when thunderbird is started from a terminal, but not otherwise. I do not understand why, maybe related to XFCE desktop I am using.

Still, a great find, for now I made a workaround where I call "/usr/bin/xterm -e /usr/bin/beep", which works. Your suggestion of calling a shell "/bin/sh -c /usr/bin/beep" does not work.

So things work now, but I would still like to understand what exactly is going on.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum