gyunaev / birdtray

new mail system tray notification icon for Thunderbird
GNU General Public License v3.0
782 stars 59 forks source link

showing thunderbird not found error #552

Open duckienome opened 1 year ago

duckienome commented 1 year ago

Fedora 38; Gnome: Bird-tray 1.9.0 compiled at Aug 7 2022 07:50:12 using Qt 5.15.5: Thunderbird 102.10.0: Installed from flatpak;

Description I installed bridtray from flatpak and in advance setting changed command to launch thubderbird from flatpak version to dnf version. At startup it's showing file/directory not found at /usr/bin/thunderbird. I tried to give access to file system but it also didn't work.

Expected behavior It should be able to launch thunderbird (which is downloaded from dnf manager) when I asked to do it from try using show/hide option.

To Reproduce

  1. open settings
  2. go to advance section
  3. From there change ThunderBird command line option from "/usr/bin/flatpak-spawn --host flatpak run org.mozilla.Thunderbird" to "/usr/bin/thunderbird"
  4. add birdtray to startup application
  5. logout and login

Screenshots

Additional context Also note that Birdtray is installed from flatpak while thunderbird is using dnf. Also i tried to use copr of birdtray by following this issue. But it is not even starting showing core dump error if I start it using terminal.

haavu commented 1 year ago

Same on a fresh install of Debian 12 / KDE Plasma Thunderbird 102.12.0 installed from debian repositories Birdtray from flathub

Error starting Thunderbird as '/usr/bin/thunderbird':

execvp: No such file or directory

As a workaround I'll use a simple shell script for starting Thunderbird:

#!/bin/bash
/usr/bin/thunderbird & (sleep 5 && flatpak run com.ulduzsoft.Birdtray )

(Pretty noob at scripting but that seems to do the job)