Skip to content

A thunderbird tray icon and notification popup addon for linux

Notifications You must be signed in to change notification settings

JackDinn/tbtray

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TBtray

A Thunderbird tray addon for linux built with PyQt5

I only built it because we did'nt have any TB tray integration after Thunderbird 60+. Keep in mind im just a hobbyist, Im doing this to try and learn a little about using git and github.

Installation

you will need to install these packages on your system first

python 3.6+

xdotool
wmctrl                                          [these 2 control the window manager]
python3-pyqt5.qtmultimedia (or qt5-multimedia)  [One of these are for the sound]

Then clone the repo 
git clone https://github.com/JackDinn/tbtray.git

Run with
tbtray/tbtray.py

After installing and running TBtray select your INBOX.msf files for your accounts. Find (or manually enter) the path to your INBOX.msf files in the top bar of the settings and click "add" to put them into your profile list box.

example of INBOX.msf :- /home/user/.thunderbird/tzvg3gbn.default/ImapMail/imap.gmail.com/INBOX.msf

You can not use the unified (Smart-mail) inbox.

This does not mean you can not use the unified mail box with Thunderbird, just that you will need to setup each account individually in TBtray.

Features :-

  • Minimize to tray
  • Click tray icon to show/hide TB
  • Show unread count on tray icon
  • set icons (one for default (no unread), another for the notification
  • Allow TBtray to take over the popup notification & sound from TB
  • You can also click on the popup notification to show the TB window
  • You can also use the shortcut launch icon to hide/show TB (if you have made one)
  • Set opacity of popup
  • popup duration control
  • Popup option to Show favicons alongside individual emails (these are scraped once & then cached locally)
  • Very low idle CPU & Memory.

Tray icon

Popup window

Basic Settings

General usage

TBtray executes TB so i advise creating a launcher that runs TBtray to replace your TB launcher.

It can sometimes take upto 1 second for TBtray to hide TB, this is unavoidable.

You can close both TBtray and TB together via the tray icon.

You can run TBtray after TB is already running and it will work but you may need to "synchronize" it by clicking the tray icon.

I can not figure a way to intercept the TB close signal so i can not have TBtray minimize TB when you click close on TB. The best i can do is to close both TB and TBtray if you close TB.

TBtray (PyQt5) does not seem to work well on Wayland.

Removal of TBtray

just delete the tbtray folder and the settings folder found at ~/.config/tbtray

About

A thunderbird tray icon and notification popup addon for linux

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages