Page 1 of 2
MX 17 & 18 Repository: the birdtray thread
Posted: Tue Dec 11, 2018 8:24 pm
by mmikeinsantarosa
birdtray-1.4-1 is now available for download from the test repo.
Birdtray is a free system tray notification for new mail for Thunderbird. Its primary platform is Linux/X Windows.
basic setup:
Launch the ./birdtray executable from the local directory. It will show Thunderbird icon in system tray. Right-click on this icon, and click Settings. Go to Monitoring tab and select the Thunderbird MSF file for the mailbox you'd like to monitor.
Check out the comments on the authors
github page for more info.
- mike
Re: MX 17 & 18 Repository: the birdtray thread
Posted: Tue Jun 25, 2019 10:21 pm
by JayM
I can't configure Birdtray for my mail account. The monitoring tab wants me to point to the location of an .msf file but that's inside of my ~/.thunderbird/835jtufd.default/ directory. There's no way in Birdtray to allow it to access hidden directories, and if I copy/paste the absolute path from Thunar into Birdtray's configuration the "Open" button is still greyed out. I also have a ~/Mail directory but it doesn't contain the mail index .msf file that Birdtray wants. I don't know if it's related to the Thunderbird version 60.7.2 upgrade or not, but I doubt it. T-bird's working but how do I use Birdtray with it?
Re: MX 17 & 18 Repository: the birdtray thread
Posted: Wed Jun 26, 2019 1:10 am
by JayM
Unless someone else has figured this out I'd say Birdtray's inability to be able to access Thunderbird profiles where the inbox is stored is a bug. I downloaded the source for the latest version, 1.6.0, and compiled it but it's the same. I'd file an issue on its github page but I don't have an account and it won't let me create one for some reason. It doesn't seem to like my email provider.
Re: MX 17 & 18 Repository: the birdtray thread
Posted: Wed Jun 26, 2019 1:37 am
by JayM
OK, I figured out a work-around to get it configured. I copied the contents of .thunderbird to Mail (in my home directory), renamed .thunderbird to .thunderbird-save, created a symlink to Mail and named it .thunderbird. Thunderbird can find its profile by following the symlink and is happy, and Birdtray can be pointed to the Inbox.msf file it needs that's inside of the non-hidden Mail directory. I still don't know if it actually works or not though: I sent a test mail from a webmail mailbox I have for mailing list subscriptions but it hasn't arrived yet. This was kind of a pain in the butt to configure.
Re: MX 17 & 18 Repository: the birdtray thread
Posted: Wed Jun 26, 2019 2:33 am
by JayM
Well, it sort of works. A small part of the Birdtray icon turned green when the new message arrived, just a large green "1" superimposed on the white Birdtray icon. It's not really very easy to notice though and can easily be overlooked. I tried changing the notification color to bright red and it's better, but still easy to overlook. It would be better if the entire icon turned green (or red.)
I found that if I changed the "blinking speed" from the default value of none then the icon alternates between the regular white icon and a red 1, which is better. You can also change the default icon, but you have to manually point it at the replacement icon which must be a .png. I ended up using the 24x24 mail-read.png icon from Adwaita. I also set it to use mail-unread.png for unread mail, so I have a white envelope with a red dot that alternates with a large green 1 (I changed the notification back to the default color) when there's a new unread message.
I found also that I have to stop and restart Birdtray before some configuration changes are seen. Also, Thunderbird has to be running, then Birdtray started, in that order. I don't know whether items in Application Autostart start in the order they're in or not...may have to start them from within .profile and perhaps add a sleep value between starting T-bird and Birdtray.
You can right-click on Birdtray and have it hide Thunderbird. Left-clicking/double-clicking on Birdtray doesn't do anything, you have to right-click and show Thunderbird to get to your email. Thunderbird has to always be running in the background which consumes extra resources vs. a stand-alone mail notification widget that only starts T-bird when clicked.. Birdtray seems to basically just put a Thunderbird icon for the notification area rather than just a windows button when T-bird is running minimized.
With some configuration and tweaking Birdtray could be sort-of useful but it's definitely not for newbies as it doesn't "just work" OOTB. I could write a Tips&Tricks post for setting it up if anyone wants me to. I'd still have to test autostarting first though.
Edit: Birdtray won't autostart after being added to Settings/Session and Startup/Application Autostart. It only runs if I manually start it from Whisker Menu every time after I log in, and then I have to right-click and hide T-bird each time too. Birdtray is not useful at all IMHO. Maybe later when (if) it's more mature but not now.
Re: MX 17 & 18 Repository: the birdtray thread
Posted: Wed Jun 26, 2019 3:21 am
by Eadwine Rose
Another option, instead of birdtray, is xul-ext-firetray. It works just peachy with TB. Of course you might not want this, but I am just throwing it out here, in case :)
Re: MX 17 & 18 Repository: the birdtray thread
Posted: Wed Jun 26, 2019 4:47 am
by JayM
Eadwine Rose wrote: Wed Jun 26, 2019 3:21 am
Another option, instead of birdtray, is xul-ext-firetray. It works just peachy with TB. Of course you might not want this, but I am just throwing it out here, in case :)
Thanks, but I want to see if I can get Birdtray working properly first. I'm stubborn. :)
I've solved most of its issues. If you go to it settings and select
everything on the Hiding tab, it automatically opens Thunderbird and hides it when you run Birdtray. Left-clicking on the Birdtray icon unhides T-bird and doing so again hides it again. So other than T-bird running constantly in the background Birdtray works like other stand-alone new mail notifiers.
Now, if I could only get it to autostart when I log in. I'm still working on that.
Re: MX 17 & 18 Repository: the birdtray thread
Posted: Wed Jun 26, 2019 5:08 am
by JayM
I GOT IT TO WORK!
I created a script named birdtray_autostart containing this:
Code: Select all
#!/bin/sh
sleep 30s
birdtray
# EOF
made it executable and copied it to /usr/bin, then in Settings/Session and Startup I added an autostart item on the Application Autostart tab, named it Birdtray, and pointed it at that shell script, and Robert was my avuncular! Finally! Apparently it doesn't like being started very soon after login. There must be other things still running when proggies are autostarting that it either needs or that prevent it from running. That's why I added a 30 second delay.
So now that I know how to make this little piglet a functional email notifier, my offer to create a Tips&Tricks post on configuring it to work properly stands IF anybody's actually interested in using Birdtray, otherwise I may not bother. OTOH maybe I should while everything's still fresh in my mind, in case I forget.
But I got it working for MEEEE!

That was kind of a fun way to spend a rainy afternoon.
Re: MX 17 & 18 Repository: the birdtray thread
Posted: Wed Jun 26, 2019 6:31 am
by Eadwine Rose
Congrats!!
Re: MX 17 & 18 Repository: the birdtray thread
Posted: Wed Jun 26, 2019 11:03 am
by mmikeinsantarosa
JayM wrote: Wed Jun 26, 2019 1:10 am
Unless someone else has figured this out I'd say Birdtray's inability to be able to access Thunderbird profiles where the inbox is stored is a bug. I downloaded the source for the latest version, 1.6.0, and compiled it but it's the same. I'd file an issue on its github page but I don't have an account and it won't let me create one for some reason. It doesn't seem to like my email provider.
There is a birdtray-1.5-1 in buster I could try to backport after work today. Maybe that'll help. Stay tuned. - mike