Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] "New message" alert in Thunderbird
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
charles17
Advocate
Advocate


Joined: 02 Mar 2008
Posts: 3664

PostPosted: Thu Dec 09, 2010 12:41 pm    Post subject: [SOLVED] "New message" alert in Thunderbird Reply with quote

Does someone have mail-client/thunderbird-3.1.6 with "New message" alert working??
Mine doesn't play sounds nor does it show a popup notification :-(

Is there some unknown dependency for showing/playing notification?


Last edited by charles17 on Fri Dec 17, 2010 11:38 am; edited 1 time in total
Back to top
View user's profile Send private message
audiodef
Watchman
Watchman


Joined: 06 Jul 2005
Posts: 6639
Location: The soundosphere

PostPosted: Thu Dec 09, 2010 10:05 pm    Post subject: Reply with quote

I don't remember which one I have, but there is more than one message notification plugin for Thunderbird. The one I would have preferred didn't work so I just tried different ones until one worked. What worked for me was one that simply flashes the Thunderbird taskbar icon.

In other words, try more than one. You just want to not have to actually check Thunderbird all the time, right?
_________________
decibel Linux: https://decibellinux.org
Github: https://github.com/Gentoo-Music-and-Audio-Technology
Facebook: https://www.facebook.com/decibellinux
Discord: https://discord.gg/73XV24dNPN
Back to top
View user's profile Send private message
paulj
Guru
Guru


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

PostPosted: Thu Dec 09, 2010 11:11 pm    Post subject: Reply with quote

Which window manager are you using? I have a popup in mine, but I didn't configure anything to get it. The popup is not the standard kde notification method though, even though I am using kde.
Back to top
View user's profile Send private message
charles17
Advocate
Advocate


Joined: 02 Mar 2008
Posts: 3664

PostPosted: Fri Dec 10, 2010 10:23 am    Post subject: Reply with quote

@audiodef
audiodef wrote:
[...] In other words, try more than one. [...]
Not sure what you mean. I already have all options selected ( See my screenshot).

@paulj
My wm is fluxbox. Do you think such feature inside thunderbird depends on capability of the wm I selected? As you are using KDE, I assume KDE provides some library which would be needed by thunderbird but isn't pulled in.

Edit
When I press the Play button in thunderbird preferences, I am receiving this error in nsconsole: (See my screenshot)
Code:
Error: uncaught exception: [Exception... "Component returned failure
code: 0x80004005 (NS_ERROR_FAILURE) [nsISound.play]"  nsresult:
"0x80004005 (NS_ERROR_FAILURE)"  location: "JS frame ::
chrome://messenger/content/preferences/general.js :: anonymous :: line
94"  data: no]
According to bug 536996 this is caused by absence of media-sound/esound. Should I file a bug for thunderbird to depend on esound?

After emerge of media-sound/esound the Play button in preferences works. But still thunderbird does not trigger any alert when mail arrives :-(
Back to top
View user's profile Send private message
paulj
Guru
Guru


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

PostPosted: Sat Dec 11, 2010 6:55 am    Post subject: Reply with quote

Here is the General settings for my installation of thunderbird: Screenshot

I haven't installed any add-ins to manage alerts, and the options selected in "Customise" are the same as yours.

I have had a look through the other settings etc, and can't see anything else which might cause this feature not to work.

I haven't got fluxbox installed, but I do have openbox - I'll try in there to see if there is a difference.

Have you tried running thunderbird from a terminal to see what messages are posted while the program is running?

Is your system currently in a consistent state? Have you run revdep-rebuild recently? In my experience these sorts of issues are often due to a missing library dependency. Have you had a look around the web? Is this issue reported elsewhere?

Sorry I can't be more helpful!
Back to top
View user's profile Send private message
charles17
Advocate
Advocate


Joined: 02 Mar 2008
Posts: 3664

PostPosted: Wed Dec 15, 2010 6:41 pm    Post subject: Reply with quote

paulj wrote:
Have you tried running thunderbird from a terminal to see what messages are posted while the program is running?
Yep, I did.
Starting thunderbird with Error Console does not show any errors after having emerged media-sound/esound. And it still does not run any alert when mail comes in. Also tried with a fresh and clean profile (thunderbird -ProfileManager), but no improvement.
paulj wrote:
Is your system currently in a consistent state? Have you run revdep-rebuild recently? In my experience these sorts of issues are often due to a missing library dependency. Have you had a look around the web? Is this issue reported elsewhere?
System is clean. Running revdep-rebuild would not even trigger esound :-( And even an emerge --emptytree thunderbird did not help.

Would I have to enable some of the disabled use flags like dbus or gnome? Presently the use flags are like
Code:
$ emerge -pvt thunderbird

These are the packages that would be merged, in reverse order:

Calculating dependencies ... done!
[ebuild R ] mail-client/thunderbird-3.1.7 USE="alsa crypt lightning startup-notification system-sqlite -bindist -custom-optimization -dbus -gnome -ldap -libnotify -mozdom -wifi" LINGUAS="en -af -ar -be -bg -bn -bn_BD -ca -cs -da -de -el -en_GB -en_US -es -es_AR -es_ES -et -eu -fi -fr -fy -fy_NL -ga -ga_IE -he -hu -id -is -it -ja -ko -lt -nb -nb_NO -nl -nn -nn_NO -pa -pa_IN -pl -pt -pt_BR -pt_PT -ro -ru -si -sk -sl -sq -sv -sv_SE -tr -uk -zh -zh_CN -zh_TW" 0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB
Back to top
View user's profile Send private message
EatMeerkats
Apprentice
Apprentice


Joined: 15 Mar 2006
Posts: 234

PostPosted: Wed Dec 15, 2010 6:44 pm    Post subject: Reply with quote

The notifications are working here with the "alsa crypt dbus gnome lightning" USE flags set. Perhaps try recompiling with "gnome"?
Back to top
View user's profile Send private message
paulj
Guru
Guru


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

PostPosted: Wed Dec 15, 2010 11:30 pm    Post subject: Reply with quote

Here is mine:
Code:
# emerge -pvt thunderbird

These are the packages that would be merged, in reverse order:

Calculating dependencies... done!
[ebuild   R   ] mail-client/thunderbird-3.1.7  USE="alsa crypt dbus gnome ldap libnotify lightning startup-notification -bindist -custom-optimization -mozdom -system-sqlite -wifi" LINGUAS="en en_GB -af -ar -be -bg -bn -bn_BD -ca -cs -da -de -el -en_US -es -es_AR -es_ES -et -eu -fi -fr -fy -fy_NL -ga -ga_IE -he -hu -id -is -it -ja -ko -lt -nb -nb_NO -nl -nn -nn_NO -pa -pa_IN -pl -pt -pt_BR -pt_PT -ro -ru -si -sk -sl -sq -sv -sv_SE -tr -uk -zh -zh_CN -zh_TW" 0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB


You could try gnome - the others shouldn't make any difference!
Back to top
View user's profile Send private message
wthrowe
Tux's lil' helper
Tux's lil' helper


Joined: 19 Aug 2009
Posts: 141

PostPosted: Thu Dec 16, 2010 4:03 am    Post subject: Reply with quote

Works here with -gnome:
Code:
[ebuild   R   ] mail-client/thunderbird-3.1.7  USE="alsa bindist crypt dbus system-sqlite -custom-optimization -gnome -ldap -libnotify -lightning -mozdom -startup-notification -wifi" LINGUAS="-af -ar -be -bg -bn -bn_BD -ca -cs -da -de -el -en -en_GB -en_US -es -es_AR -es_ES -et -eu -fi -fr -fy -fy_NL -ga -ga_IE -he -hu -id -is -it -ja -ko -lt -nb -nb_NO -nl -nn -nn_NO -pa -pa_IN -pl -pt -pt_BR -pt_PT -ro -ru -si -sk -sl -sq -sv -sv_SE -tr -uk -zh -zh_CN -zh_TW" 0 kB


I have the sound disabled, but popups do appear (although often with the wrong message displayed - but that's presumably a separate issue). For the record, I'm running FVWM.
Back to top
View user's profile Send private message
charles17
Advocate
Advocate


Joined: 02 Mar 2008
Posts: 3664

PostPosted: Fri Dec 17, 2010 11:38 am    Post subject: Reply with quote

Now, after several compilations with different use flag combinations I found my USE flags being ok. It's working also with "USE=-dbus". But does never alert for my regular profile where I use movemail box (and fetchmail) instead of ordinary mail box.

Looks like I have to cleanup my thunderbird's profile :-(
Back to top
View user's profile Send private message
mhodak
Veteran
Veteran


Joined: 15 Nov 2003
Posts: 1218

PostPosted: Thu Dec 30, 2010 8:11 am    Post subject: Sound in Thunderbird Reply with quote

Guys,

I have recently installed Thunderbird as an email client, but I cannot get any sound for incoming messages. Neither of the two options "Default system sound for new mail" or "Use the following sound file" produces any sound. Using the play button also does nothing. Other applications (vlc, Mplayer, flash videos) play sound just fine. I have tested this under both XFce and Gnome.

Anyone has come across this issue?
Back to top
View user's profile Send private message
charles17
Advocate
Advocate


Joined: 02 Mar 2008
Posts: 3664

PostPosted: Thu Dec 30, 2010 11:15 am    Post subject: Re: Sound in Thunderbird Reply with quote

To me it looks like Thunderbird is missing a certain USE flag for message notification sound.
Back to top
View user's profile Send private message
tomk
Bodhisattva
Bodhisattva


Joined: 23 Sep 2003
Posts: 7221
Location: Sat in front of my computer

PostPosted: Thu Dec 30, 2010 1:07 pm    Post subject: Reply with quote

Merged previous two posts.
_________________
Search | Read | Answer | Report | Strip
Back to top
View user's profile Send private message
mhodak
Veteran
Veteran


Joined: 15 Nov 2003
Posts: 1218

PostPosted: Tue Jan 04, 2011 9:49 am    Post subject: Reply with quote

Why is this labeled as "Solved"? I do not see any solution in there, nor do I think that the original poster has resolved his issue. Am I missing something?

BTW, my problem still remains, I cannot get any sound out of thunderbird, clicking on "Play" does nothing (when I choose to have my own wav file played) , no error message in the console. Sound in other applications works fine.

The use flags are:
Code:
[ebuild   R   ] mail-client/thunderbird-3.1.7  USE="alsa crypt dbus gnome libnotify lightning startup-notification -bindist -custom-optimization -ldap -mozdom -system-sqlite -wifi"
Back to top
View user's profile Send private message
charles17
Advocate
Advocate


Joined: 02 Mar 2008
Posts: 3664

PostPosted: Tue Jan 04, 2011 10:38 am    Post subject: Reply with quote

mhodak
This thread has been marked solved as I saw it is WFM after creating an ordinary mailbox instead of using the movemail inbox. Did you emerge media-sound/esound as mentioned in my posting above? Feel free creating a bug for the probably missing esound USE flag.

BTW
I am curious about why Thunderbird has the alsa USE flag instead of using media-sound/esound.
Back to top
View user's profile Send private message
mhodak
Veteran
Veteran


Joined: 15 Nov 2003
Posts: 1218

PostPosted: Thu Jan 06, 2011 8:35 am    Post subject: Reply with quote

charles17:
I see now. This is unfortunately of no help to me, I had esound installed to start with, but the sound has never worked for me.

Also, I am not sure if thunderbird should explicitly depend on esound, it may be that something else down the line was broken and needed esound. It is certainly not needed at compile time (otherwise you wouldn't have been able to emerge it).
Back to top
View user's profile Send private message
charles17
Advocate
Advocate


Joined: 02 Mar 2008
Posts: 3664

PostPosted: Fri Jan 07, 2011 8:37 am    Post subject: Reply with quote

mhodak wrote:
Also, I am not sure if thunderbird should explicitly depend on esound, ...
For playing any sound email notification it definitely needs media-sound/esound.
So I would expect an esound USE flag as runtime dependency for supporting the sound notification.
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