systray-x icon indicating copy to clipboard operation
systray-x copied to clipboard

Workarounds

Open Ximi1970 opened this issue 1 year ago • 3 comments

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 avatar Oct 12 '23 08:10 Ximi1970

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

If GDK_BACKEND=x11 doesn't work, one could try the following instead (@Antiz96) :

env MOZ_ENABLE_WAYLAND=0 thunderbird

Ximi1970 avatar Oct 21 '23 22:10 Ximi1970

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?

LinuxMason avatar Aug 11 '24 02:08 LinuxMason

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/[email protected]

Ximi1970 avatar Aug 11 '24 07:08 Ximi1970