Ximi1970 / systray-x

SysTray-X: A system tray extension for Thunderbird. Needs both the addon AND the companion app installed to work. Will not work with TB flatpaks or snaps.
Mozilla Public License 2.0
213 stars 15 forks source link

Workarounds #159

Open Ximi1970 opened 10 months ago

Ximi1970 commented 10 months ago

KDE auto start problems

If you have KDE auto start problems, use the following setup: Switch to "manually saved sessions":

System Settings -> Workspace -> Startup and Shutdown -> Desktop Session -> select: ...manually saved...

Disable the use of systemd for KDE auto start: https://old.reddit.com/r/archlinux/comments/ves6mh/kde_autostart_mostly_no_longer_working/inf2mwq/

kwriteconfig5 --file startkderc --group General --key systemdBoot false

Create a bash script called thunderbird.sh like this:

#!/bin/bash
#
#
bash -c 'sleep 30; LC_TIME=en_GB.utf8 /usr/bin/thunderbird' &

and put it in your home dir. I needed the 30 sec delay for the Wifi to connect. Then add a file named "thunderbird.sh.desktop" into the ~/.config/autostart directory containing this:

[Desktop Entry]
Exec=/home/<user>/thunderbird.sh
Icon=dialog-scripts
Name=thunderbird.sh
Path=
Type=Application
X-KDE-AutostartScript=true

change into your used username.

Save your current session WITHOUT Thunderbird running.

Ximi1970 commented 10 months ago

Wayland

You need to force Thunderbird to use X11.

Starting from a shell:

env GDK_BACKEND=x11 thunderbird

or find the .desktop file for Thunderbird:

/usr/share/applications/thunderbird.desktop

and change the Exec line into this:

Exec=env GDK_BACKEND=x11 thunderbird %u
iamstonecutter commented 1 week ago

Am I missing something here?

I am using Arch with KDE Wayland and downloaded thunderbird-bin from the AUR which is version 129.

I then edited the desktop entry to Exec=env GDK_BACKEND=x11 thunderbird %u but systray-x-kde still doesn't run.

Is this expected, or am I doing something wrong here?

Ximi1970 commented 1 week ago

You are using a third party thunderbird package. I do not know how or where the files are installed for this one. If you select systray-x to install, it will install the default thunderbird and auto install the add-on into that version. You can try to install the addon manually using the Addon and themes dialog, install from file option. The current release should work for at least TB 130 but no garantuees with the betas. You can find the addon here:

/usr/lib/thunderbird/distribution/extensions/systray-x@Ximi1970.xpi