2020-01-12 17:38:19 +01:00
# SysTray-X
2020-03-31 15:11:37 +02:00
SysTray-X is a system tray extension for Thunderbird 68+. The addon uses the WebExtension API's to control an external system dependent system tray application.
2020-01-12 17:38:19 +01:00
2020-03-31 15:11:37 +02:00
The addon and system tray application can do:
2020-01-12 17:38:19 +01:00
2020-01-25 13:48:40 +01:00
- custom new mail icon
- display number of unread mails
2020-02-03 23:09:06 +01:00
- show / hide Thunderbird (minimize)
2020-11-16 11:44:32 +01:00
- minimizing hides to tray (remove Thunderbird from taskbar when minimized)
2020-02-29 20:38:26 +01:00
- minimize on startup
2020-05-11 21:20:54 +02:00
- minimize on close
2020-04-09 23:45:32 +02:00
2021-01-01 15:45:48 +01:00
Warning:
2021-01-01 16:10:29 +01:00
This add-on and companion app will NOT work with FULL Wayland desktops. No interaction between window clients is possible in Wayland.
2020-04-25 15:35:42 +02:00
## Donations
To support this project, you can make a donation to its current maintainer:
[](https://paypal.me/Ximi1970)
[](https://raw.githubusercontent.com/Ximi1970/Donate/master/bitcoin-address.txt)
2020-04-25 15:37:11 +02:00
## Contributers
Luigi Baldoni \<aloisio@gmx .com\> : Initial setup of the OpenSuSE Build Service rpm package.
2020-04-25 15:35:42 +02:00
2020-11-26 14:35:01 +01:00
## Known issues
Some Gnome status / application bars do not respect the "remove from taskbar X11 atom (_NET_WM_STATE_SKIP_TASKBAR)". So Thunderbird stays always visible when minimized.
- Ubuntu Gnome (red status dot stays visible) Please be aware that the icon always will be visible because is a launchbar also...
- CentOS Gnome (Thunderbird stays visible in the taskbar)
2020-03-08 23:29:33 +01:00
## Binaries (System)
2020-03-31 15:12:05 +02:00
These packages will install the Thunderbird addon and companion app system wide.
2020-03-08 23:29:33 +01:00
Root credentials are required.
2020-03-05 22:39:11 +01:00
2021-01-02 15:57:25 +01:00
Make shure you removed / uninstalled any SysTray-X package installed with a script installer.
You can verify this by checking the `~/.mozilla/native-messaging-hosts` directory. There should be NO SysTray-X packages or links in there. Remove them and remove the add-on from the Thunderbird add-ons page.
2020-03-05 22:39:11 +01:00
### openSuSE
2020-05-11 21:20:54 +02:00
2020-05-12 10:24:35 +02:00
#### Repository
Installing the repository:
###### Tumbleweed
2020-03-05 22:39:11 +01:00
```bash
2020-05-11 21:20:54 +02:00
sudo zypper ar -f https://download.opensuse.org/repositories/home:/Ximi1970:/Mozilla:/Add-ons/openSUSE_Tumbleweed/ SysTray-X
2020-03-05 22:39:11 +01:00
```
2020-05-12 10:24:35 +02:00
###### Leap 15.2
2020-03-05 22:39:11 +01:00
```bash
sudo zypper ar -f https://download.opensuse.org/repositories/home:/Ximi1970:/Mozilla:/Add-ons/openSUSE_Leap_15.2/ SysTray-X
```
2020-05-12 10:24:35 +02:00
###### Leap 15.1
2020-03-05 22:39:11 +01:00
```bash
2020-05-11 21:20:54 +02:00
sudo zypper ar -f https://download.opensuse.org/repositories/home:/Ximi1970:/Mozilla:/Add-ons/openSUSE_Leap_15.1/ SysTray-X
2020-03-05 22:39:11 +01:00
```
2020-05-12 10:24:35 +02:00
###### SLE 15 SP1
2020-03-05 22:39:11 +01:00
```bash
sudo zypper ar -f https://download.opensuse.org/repositories/home:/Ximi1970:/Mozilla:/Add-ons/openSUSE_SLE_15_SP1/ SysTray-X
```
2020-05-12 10:24:35 +02:00
###### SLE 15
2020-05-11 21:20:54 +02:00
```bash
sudo zypper ar -f https://download.opensuse.org/repositories/home:/Ximi1970:/Mozilla:/Add-ons/openSUSE_SLE_15/ SysTray-X
2020-05-12 10:24:35 +02:00
```
#### Package
Installing the SysTray-X addon and companion app package:
###### KDE
```bash
2020-05-11 21:20:54 +02:00
sudo zypper in systray-x
```
2020-05-12 10:24:35 +02:00
###### GNOME
```bash
sudo zypper in systray-x-gnome
```
2020-11-08 23:31:21 +01:00
###### XFCE / Others (non-KDE, non-GNOME)
2020-10-26 10:28:10 +01:00
```bash
sudo zypper in systray-x-minimal
```
2020-05-12 10:24:35 +02:00
2020-03-05 22:39:11 +01:00
### xUbuntu
2020-05-12 11:14:39 +02:00
#### Repository
Installing the repository:
2020-10-31 20:40:32 +01:00
###### 20.10
```bash
wget -q https://download.opensuse.org/repositories/home:/Ximi1970:/Mozilla:/Add-ons/xUbuntu_20.10/Release.key
2020-10-31 23:33:30 +01:00
sudo mv -f Release.key /etc/apt/trusted.gpg.d/Systray-x.Ximi1970.asc
2020-10-31 20:40:32 +01:00
sudo bash -c 'echo "deb https://download.opensuse.org/repositories/home:/Ximi1970:/Mozilla:/Add-ons/xUbuntu_20.10 ./" > /etc/apt/sources.list.d/systray-x.list'
sudo apt update
```
2020-05-12 11:14:39 +02:00
###### 20.04 LTS
2020-03-05 22:39:11 +01:00
```bash
2020-05-11 21:20:54 +02:00
wget -q https://download.opensuse.org/repositories/home:/Ximi1970:/Mozilla:/Add-ons/xUbuntu_20.04/Release.key
2020-03-05 22:39:11 +01:00
sudo apt-key add Release.key
2020-05-11 21:20:54 +02:00
sudo bash -c 'echo "deb https://download.opensuse.org/repositories/home:/Ximi1970:/Mozilla:/Add-ons/xUbuntu_20.04 ./" > /etc/apt/sources.list.d/systray-x.list'
2020-03-05 22:39:11 +01:00
sudo apt update
```
2020-05-12 11:14:39 +02:00
###### 19.10
2020-04-24 22:45:32 +02:00
```bash
2020-05-11 21:20:54 +02:00
wget -q https://download.opensuse.org/repositories/home:/Ximi1970:/Mozilla:/Add-ons/xUbuntu_19.10/Release.key
2020-04-24 22:45:32 +02:00
sudo apt-key add Release.key
2020-05-11 21:20:54 +02:00
sudo bash -c 'echo "deb https://download.opensuse.org/repositories/home:/Ximi1970:/Mozilla:/Add-ons/xUbuntu_19.10 ./" > /etc/apt/sources.list.d/systray-x.list'
2020-04-24 22:45:32 +02:00
sudo apt update
```
2020-05-12 11:14:39 +02:00
###### 18.04 LTS
2020-03-05 22:39:11 +01:00
```bash
wget -q https://download.opensuse.org/repositories/home:/Ximi1970:/Mozilla:/Add-ons/xUbuntu_18.04/Release.key
sudo apt-key add Release.key
2020-04-03 23:54:53 +02:00
sudo bash -c 'echo "deb https://download.opensuse.org/repositories/home:/Ximi1970:/Mozilla:/Add-ons/xUbuntu_18.04 ./" > /etc/apt/sources.list.d/systray-x.list'
2020-03-05 22:39:11 +01:00
sudo apt update
```
2020-05-12 11:14:39 +02:00
###### 16.04 LTS
2020-04-24 22:45:32 +02:00
```bash
2020-06-06 23:56:07 +02:00
wget -q http://download.opensuse.org/repositories/home:/Ximi1970:/Mozilla:/Add-ons/xUbuntu_16.04/Release.key
2020-04-24 22:45:32 +02:00
sudo apt-key add Release.key
2020-11-24 17:40:55 +01:00
sudo bash -c 'echo "deb http://download.opensuse.org/repositories/home:/Ximi1970:/Mozilla:/Add-ons/xUbuntu_16.04 ./" > /etc/apt/sources.list.d/systray-x.list'
2020-04-24 22:45:32 +02:00
sudo apt update
2020-05-12 11:14:39 +02:00
```
#### Package
Installing the SysTray-X addon and companion app package:
###### KDE
```bash
2020-04-24 22:45:32 +02:00
sudo apt install systray-x
```
2020-05-12 11:14:39 +02:00
###### GNOME
```bash
sudo apt install systray-x-gnome
```
2020-11-08 23:31:21 +01:00
###### Unity / XFCE / Others (non-KDE, non-GNOME)
2020-10-26 10:28:10 +01:00
```bash
sudo apt install systray-x-minimal
```
2020-05-12 11:14:39 +02:00
2020-04-15 00:00:45 +02:00
### Debian
2020-05-12 11:14:39 +02:00
#### Repository
Installing the repository:
###### 10
2020-04-15 00:00:45 +02:00
```bash
wget -q https://download.opensuse.org/repositories/home:/Ximi1970:/Mozilla:/Add-ons/Debian_10/Release.key
sudo apt-key add Release.key
sudo bash -c 'echo "deb https://download.opensuse.org/repositories/home:/Ximi1970:/Mozilla:/Add-ons/Debian_10 ./" > /etc/apt/sources.list.d/systray-x.list'
sudo apt update
2020-05-12 11:14:39 +02:00
```
#### Package
Installing the SysTray-X addon and companion app package:
###### KDE
```bash
2020-04-15 00:00:45 +02:00
sudo apt install systray-x
```
2020-05-12 11:14:39 +02:00
###### GNOME
```bash
sudo apt install systray-x-gnome
```
2020-11-08 23:31:21 +01:00
###### XFCE / Others (non-KDE, non-GNOME)
```bash
sudo apt install systray-x-minimal
```
2020-05-12 11:14:39 +02:00
2020-04-16 15:27:15 +02:00
### Fedora
2020-05-12 11:14:39 +02:00
#### Repository
Installing the repository:
2020-10-31 20:40:32 +01:00
###### 33
```bash
sudo dnf config-manager --add-repo https://download.opensuse.org/repositories/home:/Ximi1970:/Mozilla:/Add-ons/Fedora_33/home:Ximi1970:Mozilla:Add-ons.repo
sudo dnf update --refresh
```
2020-05-12 11:14:39 +02:00
###### 32
2020-05-02 12:29:53 +02:00
```bash
sudo dnf config-manager --add-repo https://download.opensuse.org/repositories/home:/Ximi1970:/Mozilla:/Add-ons/Fedora_32/home:Ximi1970:Mozilla:Add-ons.repo
sudo dnf update --refresh
```
2020-05-12 11:14:39 +02:00
###### 31
2020-04-16 15:27:15 +02:00
```bash
sudo dnf config-manager --add-repo https://download.opensuse.org/repositories/home:/Ximi1970:/Mozilla:/Add-ons/Fedora_31/home:Ximi1970:Mozilla:Add-ons.repo
sudo dnf update --refresh
2020-05-12 11:14:39 +02:00
```
#### Package
Installing the SysTray-X addon and companion app package:
###### KDE
```bash
2020-04-16 15:27:15 +02:00
sudo dnf install systray-x
```
2020-05-12 11:14:39 +02:00
###### GNOME
```bash
sudo dnf install systray-x-gnome
```
2020-11-08 23:31:21 +01:00
###### XFCE / Others (non-KDE, non-GNOME)
2020-10-26 10:28:10 +01:00
```bash
sudo dnf install systray-x-minimal
```
2020-04-16 15:27:15 +02:00
2020-11-22 12:48:19 +01:00
### Arch
2020-12-27 11:42:31 -03:00
#### AUR
A `git` package is available in the user repository (KDE Plasma version). To install it, just use some AUR helper, like yay:
`yay -S systray-x-git`
2020-11-22 12:48:19 +01:00
#### Repository
Installing the repository:
```bash
wget -q https://download.opensuse.org/repositories/home:/Ximi1970:/Mozilla:/Add-ons/Arch/x86_64/home_Ximi1970_Mozilla_Add-ons_Arch.key
sudo pacman-key --add home_Ximi1970_Mozilla_Add-ons_Arch.key
sudo pacman-key --lsign-key BEEF5C3607D86FE9
sudo echo -e "\n[home_Ximi1970_Mozilla_Add-ons_Arch]\nSigLevel = PackageOptional\nServer = https://download.opensuse.org/repositories/home:/Ximi1970:/Mozilla:/Add-ons/Arch/x86_64" | sudo tee -a /etc/pacman.conf
sudo pacman -Syyu
```
#### Package
Installing the SysTray-X addon and companion app package:
###### KDE
```bash
sudo pacman -S systray-x
```
###### GNOME
```bash
sudo pacman -S systray-x-gnome
2020-11-23 23:28:52 +01:00
sudo pacman -S gnome-tweaks
2020-11-22 12:48:19 +01:00
```
2020-11-22 20:50:15 +01:00
Please use `Tweaks` to activate the gnome shell extension `Kstatusnotifieritem/appindicator support` or reboot the system.
2020-11-22 20:15:28 +01:00
2020-11-23 23:28:52 +01:00
2020-11-22 20:15:28 +01:00
2020-11-22 12:48:19 +01:00
###### XFCE / Others (non-KDE, non-GNOME)
```bash
sudo pacman -S systray-x-minimal
```
2020-11-25 23:25:43 +01:00
### CentOS
#### Repository
Installing the repository:
###### 8 Stream
```bash
2020-11-26 14:35:01 +01:00
sudo yum-config-manager --add-repo=https://download.opensuse.org/repositories/home:/Ximi1970:/Mozilla:/Add-ons/CentOS_8_Stream/home:Ximi1970:Mozilla:Add-ons.repo
2020-11-25 23:25:43 +01:00
sudo yum update
```
###### 8
```bash
2020-11-26 14:35:01 +01:00
sudo yum-config-manager --add-repo=https://download.opensuse.org/repositories/home:/Ximi1970:/Mozilla:/Add-ons/CentOS_8/home:Ximi1970:Mozilla:Add-ons.repo
2020-11-25 23:25:43 +01:00
sudo yum update
```
###### 7
```bash
2020-11-26 14:35:01 +01:00
sudo yum-config-manager --add-repo=https://download.opensuse.org/repositories/home:/Ximi1970:/Mozilla:/Add-ons/CentOS_7/home:Ximi1970:Mozilla:Add-ons.repo
2020-11-25 23:25:43 +01:00
sudo yum update
```
#### Package
Installing the SysTray-X addon and companion app package:
###### KDE
```bash
sudo yum install systray-x-minimal
```
or
```bash
sudo yum install epel-release
sudo yum install systray-x
```
###### GNOME
```bash
sudo yum install systray-x-gnome
sudo yum install gnome-tweaks
```
Please use `Tweaks` to activate the gnome shell extension `Kstatusnotifieritem/appindicator support` or reboot the system.
2020-12-24 20:25:34 +01:00
### MX
First install the Debian latest Thunderbird version. Replace the xx.x.x with the correct version.
```bash
sudo apt install thunderbird=1:xx.x.x-1~deb10u1
```
Then add the SysTray-X Debian repository and install the SysTray-X package.
```bash
sudo apt install thunderbird=1:78.x.x-1~deb10u1
wget -q https://download.opensuse.org/repositories/home:/Ximi1970:/Mozilla:/Add-ons/Debian_10/Release.key
sudo apt-key add Release.key
sudo bash -c 'echo "deb https://download.opensuse.org/repositories/home:/Ximi1970:/Mozilla:/Add-ons/Debian_10 ./" > /etc/apt/sources.list.d/systray-x.list'
sudo apt update
sudo apt install systray-x-minimal
```
2020-11-25 23:25:43 +01:00
2020-03-08 23:29:33 +01:00
## Binaries (User)
User installable package.
No root credentials required.
2020-03-31 15:15:37 +02:00
Download the installer here (click on the assets dropdown list):
2020-03-08 23:29:33 +01:00
2020-03-31 15:11:37 +02:00
[Addon and companion app installer ](https://github.com/Ximi1970/systray-x/releases )
2020-03-08 23:29:33 +01:00
2021-01-02 15:57:25 +01:00
Please keep in mind that using the script will override the SysTray-X packages installed with a repository.
Use the `-u` option with the script installer to uninstall.
2020-12-12 22:10:24 +01:00
### Windows
Get the `SysTray-X-setup32-x.x.x.exe` or `SysTray-X-setup64-x.x.x.exe` depending on the Thunderbird version (32bit or 64bit) you are using.
Run the installer.
If you want to change the install directory, please make sure to select an empty / unused directory.
ALL files in the selected install directory will be removed when uninstalling !!
Please remove the Systray-X add-on from Thunderbird before uninstalling.
When reinstalling you need to add the add-on manually to Thunderbird again by using the `Installl Add-On From File` option in the `Add-ons manager` .
You can find add-on file in the install directory called `systray-x@Ximi1970.xpi`
2020-03-05 22:39:11 +01:00
2020-02-09 13:29:09 +01:00
## Building
### Linux
Clone the repository:
```bash
git clone https://github.com/Ximi1970/systray-x.git
```
2020-02-17 10:13:34 +01:00
Requirements:
2020-04-21 00:11:14 +02:00
- OpenSuSE:
```bash
2020-11-26 20:25:06 +01:00
sudo zypper install zip git gcc-c++ make qt5-qtbase-devel knotifications-devel
2020-04-21 00:11:14 +02:00
```
2020-11-26 20:25:06 +01:00
- Fedora/RHEL:
2020-02-17 10:13:34 +01:00
2020-04-15 00:17:47 +02:00
```bash
2020-11-26 20:25:06 +01:00
sudo dnf install qt5-qtbase-devel gnome-shell-extension-appindicator kf5-knotifications-devel
gnome-extensions enable appindicatorsupport@rgcjonas .gmail.com
```
- CentOS:
```bash
sudo yum install epel-release
sudo yum install kf5-knotifications-devel
2020-11-26 20:30:55 +01:00
sudo yum install qt5-qtbase-devel
```
2020-11-26 20:32:17 +01:00
If you want to use systray-x under Gnome you also need to add the SysTray-X repository for your CentOS version (replace the XX with your version):
2020-11-26 20:30:55 +01:00
```bash
sudo yum-config-manager --add-repo=https://download.opensuse.org/repositories/home:/Ximi1970:/Mozilla:/Add-ons/CentOS_XX/home:Ximi1970:Mozilla:Add-ons.repo
2020-11-26 20:34:06 +01:00
sudo yum update
2020-11-26 20:30:55 +01:00
sudo yum install gnome-shell-extension-appindicator
2020-04-16 15:04:27 +02:00
gnome-extensions enable appindicatorsupport@rgcjonas .gmail.com
2020-04-15 00:17:47 +02:00
```
2020-11-26 20:30:55 +01:00
2020-04-15 00:17:47 +02:00
- Ubuntu:
2020-04-25 15:25:45 +02:00
20.04 LTS
```bash
sudo apt install zip git g++ make qt5-default
gnome-extensions enable ubuntu-appindicator@ubuntu .com
```
2020-04-21 00:01:37 +02:00
19.10
```bash
sudo apt install zip git g++ make qt5-default gnome-shell-extension-appindicator
gnome-extensions enable ubuntu-appindicator@ubuntu .com
```
2020-04-24 22:45:32 +02:00
16.04 LTS / 18.04 LTS
2020-04-21 00:01:37 +02:00
2020-04-15 00:17:47 +02:00
```bash
2020-04-16 15:29:37 +02:00
sudo apt install zip git g++ make qt5-default gnome-shell-extension-appindicator
2020-04-16 15:28:49 +02:00
gnome-shell-extension-tool -e ubuntu-appindicator@ubuntu .com
2020-04-15 00:17:47 +02:00
```
- Debian:
```bash
sudo apt install zip git g++ make qt5-default gnome-shell-extension-appindicator
gnome-shell-extension-tool -e ubuntu-appindicator@ubuntu .com
```
2020-02-17 10:13:34 +01:00
2020-06-09 19:54:02 +02:00
Build (KDE):
2020-02-09 13:29:09 +01:00
```bash
cd systray-x
make
```
2020-11-26 20:25:06 +01:00
or if `knotifications` is not available:
```bash
cd systray-x
make OPTIONS="DEFINES+=NO_KDE_INTEGRATION"
```
2020-02-09 13:29:09 +01:00
2020-06-09 19:54:02 +02:00
Build (GNOME):
```bash
cd systray-x
make OPTIONS="DEFINES+=NO_KDE_INTEGRATION"
```
2020-04-25 15:34:10 +02:00
Install and run SysTray-X from the build directory in the repository:
2020-04-05 23:16:02 +02:00
```bash
mkdir -p ~/.mozilla/native-messaging-hosts
2020-04-13 22:49:18 +02:00
cp -f app/config/linux/SysTray_X.json ~/.mozilla/native-messaging-hosts/
2020-04-05 23:27:00 +02:00
cp -f systray-x@Ximi1970 .xpi ~/.thunderbird/*.default-release/extensions/
2020-04-05 23:16:02 +02:00
```
2020-04-25 15:34:10 +02:00
User install:
...
System install:
2020-02-09 13:29:09 +01:00
...
### Windows
Install:
- [Visual Studio Express 2017 ](https://aka.ms/vs/15/release/vs_WDExpress.exe )
- [Visual Code Studio ](https://code.visualstudio.com/ )
- [Git for Windows ](https://gitforwindows.org/ )
- [TortoiseGit ](https://tortoisegit.org/ )
- [PuTTY ](https://www.putty.org/ )
- [Qt ](https://www.qt.io/download-thank-you?os=windows&hsLang=en )
Clone the repository using TortoiseGit:
...
2020-11-08 22:38:53 +01:00
### Translations
2020-11-08 22:36:49 +01:00
2020-11-08 22:38:26 +01:00
de :
el : askembris
en_US :
it : lgbaldoni
nl :
pt_BR : fabianski7
ru_RU : PutinVladimir
2020-11-08 22:36:49 +01:00
2020-03-05 23:04:44 +01:00
### Remarks
Branches:
2020-04-21 21:43:29 +02:00
master : Should be stable and working for all supported systems
2020-03-05 23:04:44 +01:00
develop : Working but maybe not for all systems
feature-xxx : Experimental