gyunaev / birdtray

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

Birdtray cannot start Thunderbird as /usr/bin/thunderbird #595

Closed ablonewolf closed 3 months ago

ablonewolf commented 3 months ago

OS: Fedora Linux 40 Linux Desktop Manager: KDE Birdtray version: 1.11.4 Thunderbird version: 115.12.1-1 Birdtray origin: From source

Description: Birdtray fails to start Thunderbird as /usr/bin/thunderbird which is the default command to start Thunderbird on any Linux Distro given that Thunderbird is installed from the official repositories. A dialog box pops up stating that Error starting Thunderbird as '/usr/bin/thunderbird' Unknown error.

Expected behavior: Birdtray should start Thunderbird using the default command without any issues.

To Reproduce:

  1. Install Thunderbird from the official repositories
  2. Install Birdtray from the source
  3. Start Birdtray and configure it initially for hiding options.
  4. Start Birdtray again

Screenshots 2024-07-03_05-42

gyunaev commented 3 months ago

Apologies as I mistead the bug report. Need more information here.

ablonewolf commented 3 months ago

Settings -> Advanced -> Thunderbird command line. Don't be lazy.

I think you did not understand my point. The field you mentioned already had the default command filled up. However, it is facing an unknown error. In my system when I type which thunderbird, I get this output: /usr/bin/thunderbird. That implies that this is the default command to run Thunderbird. However, Birdtray fails to start Thunderbird using this command.

gyunaev commented 3 months ago

I'm afraid I don't know why it cannot start Thunderbird with this commandline on your system, since all the information you provided was "Unknown error". Please do further investigation since I don't have access to your system.

ablonewolf commented 3 months ago

I'm afraid I don't know why it cannot start Thunderbird with this commandline on your system, since all the information you provided was "Unknown error". Please do further investigation since I don't have access to your system.

Could you please share some clues on how to investigate further on this issue?

gyunaev commented 3 months ago

Unfortunately it is too time consuming to do remote debugging via github tickets. Let's wait until someone else has the same issue and can figure it out.

gyunaev commented 3 months ago

Maybe your /usr/bin/thunderbird is a script? then changing the cmdline to something like /bin/bash /usr/bin/thunderbird should work.

ablonewolf commented 3 months ago

/usr/bin/thunderbird is the binary to start thunderbird; it's not a script. However, I tried setting your suggested command to run Thunderbird from Birdtray but it's not working.

gyunaev commented 3 months ago

If you run birdtray under strace, and in the (very big) text it outputs you see execve line with your thunderbird path, does it print any errors?

ablonewolf commented 3 months ago

I did not get what you meant. However, I am getting these errors now. I have found them in the log window.

2024-07-05 17:54:19 Birdtray version 1.11.4 started 
2024-07-05 17:54:19 Triggering the unread counter update 
2024-07-05 17:54:19 Window ID found: 0 
2024-07-05 17:54:19 Starting Thunderbird as '/usr/bin/flatpak-spawn --host /usr/bin/thunderbird' 
2024-07-05 17:54:20 Window ID found: 0 
2024-07-05 17:54:21 Window ID found: 0 
2024-07-05 17:54:22 Window ID found: 0 
2024-07-05 17:54:23 Window ID found: 0
gyunaev commented 3 months ago

Did you install thunderbird or birdtray from flatpak? Then you should submit the issue to the flatpac package maintainer, I don't build those packages.

ablonewolf commented 3 months ago

Did you install thunderbird or birdtray from flatpak? Then you should submit the issue to the flatpac package maintainer, I don't build those packages.

No, this is installed from the source. Also, I have installed Thunderbird from the official repository.

ablonewolf commented 3 months ago

Did you install thunderbird or birdtray from flatpak? Then you should submit the issue to the flatpac package maintainer, I don't build those packages.

No, this is installed from the source. Also, I have installed Thunderbird from the official repository.

These are the updated log messages.

2024-07-05 18:51:41 Birdtray version 1.11.4 started 
2024-07-05 18:51:41 Failed to load translation for en_US 
2024-07-05 18:51:41 Starting Thunderbird as '/usr/bin/thunderbird ' 
2024-07-05 18:51:41 Triggering the unread counter update 
ablonewolf commented 3 months ago

For how long will I have to wait to receive a solution for this? I am using the Birdtray installed from the source and Thunderbird from the official repository.

gyunaev commented 3 months ago

You will have to wait until someone else debugs the issue and either fixes it or gives enough details for me to fix it. This may happen tomorrow or it may never happen. Welcome to the world of open source.

ablonewolf commented 3 months ago

You will have to wait until someone else debugs the issue and either fixes it or gives enough details for me to fix it. This may happen tomorrow or it may never happen. Welcome to the world of open source.

How much detail do you want? What is missing in my problem description?

gyunaev commented 3 months ago

I don't know why it cannot launch Thunderbird on your system. And since nobody else reports this issue, there's a good chance it is specific to your system and not an issue in birdtray itself.

gyunaev commented 3 months ago

Run it as:

strace -f birdtray 2>&1 | grep exec

and show what it prints.

ablonewolf commented 2 months ago

Sharing the output of the command. Sorry for the delayed response; I got busy with some other work.

execve("/usr/local/bin/birdtray", ["birdtray"], 0x7ffd5592cce8 /* 85 vars */) = 0
[pid  6183] read(15, "Program (64-bit)\" executable=\"KS"..., 4096) = 4096
[pid  6183] read(15, "rs: International Society\" execu"..., 4096) = 4096
[pid  6183] read(15, "on name=\"sddm-greeter\" executabl"..., 4096) = 4096
[pid  6183] read(15, "A\" executable=\"ansa_linux_x86_64"..., 4096) = 4096
[pid  6183] read(15, "Program (64-bit)\" executable=\"KS"..., 4096) = 4096
[pid  6183] read(15, "rs: International Society\" execu"..., 4096) = 4096
[pid  6183] read(15, "on name=\"sddm-greeter\" executabl"..., 4096) = 4096
[pid  6183] read(15, "A\" executable=\"ansa_linux_x86_64"..., 4096) = 4096
[pid  6183] read(15, "Program (64-bit)\" executable=\"KS"..., 4096) = 4096
[pid  6183] read(15, "rs: International Society\" execu"..., 4096) = 4096
[pid  6183] read(15, "on name=\"sddm-greeter\" executabl"..., 4096) = 4096
[pid  6183] read(15, "A\" executable=\"ansa_linux_x86_64"..., 4096) = 4096
[pid  6183] read(16, "Program (64-bit)\" executable=\"KS"..., 4096) = 4096
[pid  6183] read(16, "rs: International Society\" execu"..., 4096) = 4096
[pid  6183] read(16, "on name=\"sddm-greeter\" executabl"..., 4096) = 4096
[pid  6183] read(16, "A\" executable=\"ansa_linux_x86_64"..., 4096) = 4096
[pid  6183] read(17, "Program (64-bit)\" executable=\"KS"..., 4096) = 4096
[pid  6183] read(17, "rs: International Society\" execu"..., 4096) = 4096
[pid  6183] read(17, "on name=\"sddm-greeter\" executabl"..., 4096) = 4096
[pid  6183] read(17, "A\" executable=\"ansa_linux_x86_64"..., 4096) = 4096
[pid  6202] execve("/usr/bin/thunderbird", ["/usr/bin/thunderbird"], 0x24aa2760 /* 87 vars */ <unfinished ...>
[pid  6202] <... execve resumed>)       = 0
[pid  6203] execve("/usr/bin/uname", ["uname", "-m"], 0x5578e1da4800 /* 87 vars */) = 0
[pid  6204] execve("/usr/bin/pidof", ["pidof", "thunderbird"], 0x5578e1da5a10 /* 93 vars */) = 0
[pid  6204] read(4, "/usr/libexec/bluetooth/bluetooth"..., 2047) = 34
[pid  6204] read(4, "/usr/libexec/power-profiles-daem"..., 2047) = 35
[pid  6204] read(4, "/usr/libexec/rtkit-daemon\0", 2047) = 26
[pid  6204] read(4, "/usr/libexec/accounts-daemon\0", 2047) = 29
[pid  6204] read(4, "/usr/libexec/switcheroo-control\0", 2047) = 32
[pid  6204] read(4, "/usr/libexec/udisks2/udisksd\0", 2047) = 29
[pid  6204] read(4, "/usr/libexec/upowerd\0", 2047) = 21
[pid  6204] read(4, "/usr/libexec/mysqld\0--basedir=/u"..., 2047) = 35
[pid  6204] read(4, "/usr/libexec/uresourced\0", 2047) = 24
[pid  6204] read(4, "/usr/libexec/sddm-helper\0--socke"..., 2047) = 195
[pid  6204] read(4, "/usr/libexec/uresourced\0--user\0", 2047) = 31
[pid  6204] readlink("/proc/2753/exe", "/usr/libexec/uresourced", 1024) = 23
[pid  6204] read(4, "/usr/libexec/kf6/baloo_file\0", 2047) = 28
[pid  6204] readlink("/proc/2765/exe", "/usr/libexec/kf6/baloo_file", 1024) = 27
[pid  6204] read(4, "/usr/libexec/xdg-desktop-portal\0", 2047) = 32
[pid  6204] readlink("/proc/2790/exe", "/usr/libexec/xdg-desktop-portal", 1024) = 31
[pid  6204] read(4, "/usr/libexec/xdg-document-portal"..., 2047) = 33
[pid  6204] readlink("/proc/2799/exe", "/usr/libexec/xdg-document-portal", 1024) = 32
[pid  6204] read(4, "/usr/libexec/xdg-permission-stor"..., 2047) = 34
[pid  6204] readlink("/proc/2806/exe", "/usr/libexec/xdg-permission-stor"..., 1024) = 33
[pid  6204] read(4, "/usr/libexec/kactivitymanagerd\0", 2047) = 31
[pid  6204] readlink("/proc/2955/exe", "/usr/libexec/kactivitymanagerd", 1024) = 30
[pid  6204] read(4, "/usr/libexec/dconf-service\0", 2047) = 27
[pid  6204] readlink("/proc/2964/exe", "/usr/libexec/dconf-service", 1024) = 26
[pid  6204] read(4, "/usr/libexec/bluetooth/obexd\0", 2047) = 29
[pid  6204] readlink("/proc/2999/exe", "/usr/libexec/bluetooth/obexd", 1024) = 28
[pid  6204] read(4, "/usr/libexec/kf6/polkit-kde-auth"..., 2047) = 51
[pid  6204] read(4, "/usr/libexec/org_kde_powerdevil\0", 2047) = 32
[pid  6204] readlink("/proc/3002/exe", "/usr/libexec/org_kde_powerdevil", 1024) = 31
[pid  6204] read(4, "/usr/libexec/xdg-desktop-portal-"..., 2047) = 36
[pid  6204] readlink("/proc/3003/exe", "/usr/libexec/xdg-desktop-portal-"..., 1024) = 35
[pid  6204] read(4, "/usr/libexec/xdg-desktop-portal-"..., 2047) = 36
[pid  6204] readlink("/proc/3076/exe", "/usr/libexec/xdg-desktop-portal-"..., 1024) = 35
[pid  6204] read(4, "/usr/libexec/at-spi-bus-launcher"..., 2047) = 33
[pid  6204] readlink("/proc/3108/exe", "/usr/libexec/at-spi-bus-launcher", 1024) = 32
[pid  6204] read(4, "/usr/libexec/at-spi2-registryd\0-"..., 2047) = 51
[pid  6204] readlink("/proc/3117/exe", "/usr/libexec/at-spi2-registryd", 1024) = 30
[pid  6204] read(4, "/usr/libexec/geoclue-2.0/demos/a"..., 2047) = 37
[pid  6204] readlink("/proc/3361/exe", "/usr/libexec/geoclue-2.0/demos/a"..., 1024) = 36
[pid  6204] read(4, "/usr/libexec/DiscoverNotifier\0", 2047) = 30
[pid  6204] readlink("/proc/3370/exe", "/usr/libexec/DiscoverNotifier", 1024) = 29
[pid  6204] read(4, "/usr/libexec/packagekitd\0", 2047) = 25
[pid  6204] read(4, "/usr/libexec/imsettings-daemon\0", 2047) = 31
[pid  6204] readlink("/proc/3561/exe", "/usr/libexec/imsettings-daemon", 1024) = 30
[pid  6204] read(4, "/usr/libexec/flatpak-system-help"..., 2047) = 35
[pid  6204] read(4, "/usr/libexec/baloorunner\0", 2047) = 25
[pid  6204] readlink("/proc/4183/exe", "/usr/libexec/baloorunner", 1024) = 24
[pid  6204] read(4, "grep\0--color=auto\0exec\0", 2047) = 23
[pid  6205] execve("/usr/bin/mkdir", ["mkdir", "-p", "/home/ablonewolf/.mozilla/extens"...], 0x5578e1da5a10 /* 93 vars */) = 0
[pid  6208] execve("/usr/bin/sed", ["sed", "s|_\\([^.]*\\).*||g"], 0x5578e1da5a10 /* 93 vars */) = 0
[pid  6211] execve("/usr/bin/sed", ["sed", "s|_\\([^.]*\\).*|-\\1|g"], 0x5578e1da5a10 /* 93 vars */) = 0
[pid  6202] execve("/usr/lib64/thunderbird/thunderbird", ["/usr/lib64/thunderbird/thunderbi"...], 0x5578e1dadd00 /* 93 vars */) = 0
[pid  6220] execve("/usr/lib64/thunderbird/glxtest", ["/usr/lib64/thunderbird/glxtest", "-f", "16", "-w"], 0x7fb0e386b000 /* 96 vars */ <unfinished ...>
[pid  6220] <... execve resumed>)       = 0
[pid  6220] read(5, "Program (64-bit)\" executable=\"KS"..., 4096) = 4096
[pid  6220] read(5, "rs: International Society\" execu"..., 4096) = 4096
[pid  6220] read(5, "on name=\"sddm-greeter\" executabl"..., 4096) = 4096
[pid  6220] <... read resumed>"A\" executable=\"ansa_linux_x86_64"..., 4096) = 4096
[pid  6220] <... read resumed>"Program (64-bit)\" executable=\"KS"..., 4096) = 4096
[pid  6220] <... read resumed>"rs: International Society\" execu"..., 4096) = 4096
[pid  6220] <... read resumed>"on name=\"sddm-greeter\" executabl"..., 4096) = 4096
[pid  6220] <... read resumed>"A\" executable=\"ansa_linux_x86_64"..., 4096) = 4096
[pid  6220] read(5, "Program (64-bit)\" executable=\"KS"..., 4096) = 4096
[pid  6220] read(5, "rs: International Society\" execu"..., 4096) = 4096
[pid  6220] read(5, "on name=\"sddm-greeter\" executabl"..., 4096) = 4096
[pid  6220] read(5, "A\" executable=\"ansa_linux_x86_64"..., 4096) = 4096
[pid  6220] read(6, "Program (64-bit)\" executable=\"KS"..., 4096) = 4096
[pid  6220] read(6, "rs: International Society\" execu"..., 4096) = 4096
[pid  6220] read(6, "on name=\"sddm-greeter\" executabl"..., 4096) = 4096
[pid  6220] read(6, "A\" executable=\"ansa_linux_x86_64"..., 4096) = 4096
[pid  6220] read(7, "Program (64-bit)\" executable=\"KS"..., 4096) = 4096
[pid  6220] read(7, "rs: International Society\" execu"..., 4096) = 4096
[pid  6220] read(7, "on name=\"sddm-greeter\" executabl"..., 4096) = 4096
[pid  6220] read(7, "A\" executable=\"ansa_linux_x86_64"..., 4096) = 4096
[pid  6254] read(42, "Program (64-bit)\" executable=\"KS"..., 4096) = 4096
[pid  6254] read(42, "rs: International Society\" execu"..., 4096) = 4096
[pid  6254] read(42, "on name=\"sddm-greeter\" executabl"..., 4096) = 4096
[pid  6254] read(42, "A\" executable=\"ansa_linux_x86_64"..., 4096) = 4096
[pid  6254] read(42, "Program (64-bit)\" executable=\"KS"..., 4096) = 4096
[pid  6254] read(42, "rs: International Society\" execu"..., 4096) = 4096
[pid  6254] read(42, "on name=\"sddm-greeter\" executabl"..., 4096) = 4096
[pid  6254] read(42, "A\" executable=\"ansa_linux_x86_64"..., 4096) = 4096
[pid  6254] read(43, "Program (64-bit)\" executable=\"KS"..., 4096) = 4096
[pid  6254] <... read resumed>"rs: International Society\" execu"..., 4096) = 4096
[pid  6254] read(43, "on name=\"sddm-greeter\" executabl"..., 4096) = 4096
[pid  6254] read(43, "A\" executable=\"ansa_linux_x86_64"..., 4096) = 4096
[pid  6254] read(43, "Program (64-bit)\" executable=\"KS"..., 4096) = 4096
[pid  6254] read(43, "rs: International Society\" execu"..., 4096) = 4096
[pid  6254] read(43, "on name=\"sddm-greeter\" executabl"..., 4096) = 4096
[pid  6254] read(43, "A\" executable=\"ansa_linux_x86_64"..., 4096) = 4096
[pid  6254] read(47, "Program (64-bit)\" executable=\"KS"..., 4096) = 4096
[pid  6254] read(47, "rs: International Society\" execu"..., 4096) = 4096
[pid  6254] <... read resumed>"on name=\"sddm-greeter\" executabl"..., 4096) = 4096
[pid  6254] read(47, "A\" executable=\"ansa_linux_x86_64"..., 4096) = 4096
[pid  6285] execve("/usr/bin/thunderbird", ["/usr/bin/thunderbird"], 0x24aa2760 /* 87 vars */ <unfinished ...>
[pid  6285] <... execve resumed>)       = 0
[pid  6286] execve("/usr/bin/uname", ["uname", "-m"], 0x55eb915b3800 /* 87 vars */) = 0
[pid  6287] execve("/usr/bin/pidof", ["pidof", "thunderbird"], 0x55eb915b4a10 /* 93 vars */) = 0
[pid  6287] read(4, "/usr/libexec/bluetooth/bluetooth"..., 2047) = 34
[pid  6287] read(4, "/usr/libexec/power-profiles-daem"..., 2047) = 35
[pid  6287] read(4, "/usr/libexec/rtkit-daemon\0", 2047) = 26
[pid  6287] read(4, "/usr/libexec/accounts-daemon\0", 2047) = 29
[pid  6287] read(4, "/usr/libexec/switcheroo-control\0", 2047) = 32
[pid  6287] read(4, "/usr/libexec/udisks2/udisksd\0", 2047) = 29
[pid  6287] read(4, "/usr/libexec/upowerd\0", 2047) = 21
[pid  6287] read(4, "/usr/libexec/mysqld\0--basedir=/u"..., 2047) = 35
[pid  6287] read(4, "/usr/libexec/uresourced\0", 2047) = 24
[pid  6287] read(4, "/usr/libexec/sddm-helper\0--socke"..., 2047) = 195
[pid  6287] <... read resumed>"/usr/libexec/uresourced\0--user\0", 2047) = 31
[pid  6287] <... readlink resumed>"/usr/libexec/uresourced", 1024) = 23
[pid  6287] read(4, "/usr/libexec/kf6/baloo_file\0", 2047) = 28
[pid  6287] readlink("/proc/2765/exe", "/usr/libexec/kf6/baloo_file", 1024) = 27
[pid  6287] read(4, "/usr/libexec/xdg-desktop-portal\0", 2047) = 32
[pid  6287] readlink("/proc/2790/exe", "/usr/libexec/xdg-desktop-portal", 1024) = 31
[pid  6287] read(4, "/usr/libexec/xdg-document-portal"..., 2047) = 33
[pid  6287] readlink("/proc/2799/exe", "/usr/libexec/xdg-document-portal", 1024) = 32
[pid  6287] read(4, "/usr/libexec/xdg-permission-stor"..., 2047) = 34
[pid  6287] readlink("/proc/2806/exe", "/usr/libexec/xdg-permission-stor"..., 1024) = 33
[pid  6287] read(4, "/usr/libexec/kactivitymanagerd\0", 2047) = 31
[pid  6287] readlink("/proc/2955/exe", "/usr/libexec/kactivitymanagerd", 1024) = 30
[pid  6287] <... read resumed>"/usr/libexec/dconf-service\0", 2047) = 27
[pid  6287] <... readlink resumed>"/usr/libexec/dconf-service", 1024) = 26
[pid  6287] read(4, "/usr/libexec/bluetooth/obexd\0", 2047) = 29
[pid  6287] readlink("/proc/2999/exe", "/usr/libexec/bluetooth/obexd", 1024) = 28
[pid  6287] read(4, "/usr/libexec/kf6/polkit-kde-auth"..., 2047) = 51
[pid  6287] <... read resumed>"/usr/libexec/org_kde_powerdevil\0", 2047) = 32
[pid  6287] <... readlink resumed>"/usr/libexec/org_kde_powerdevil", 1024) = 31
[pid  6287] <... read resumed>"/usr/libexec/xdg-desktop-portal-"..., 2047) = 36
[pid  6287] <... readlink resumed>"/usr/libexec/xdg-desktop-portal-"..., 1024) = 35
[pid  6287] <... read resumed>"/usr/libexec/xdg-desktop-portal-"..., 2047) = 36
[pid  6287] <... readlink resumed>"/usr/libexec/xdg-desktop-portal-"..., 1024) = 35
[pid  6287] read(4, "/usr/libexec/at-spi-bus-launcher"..., 2047) = 33
[pid  6287] readlink("/proc/3108/exe", "/usr/libexec/at-spi-bus-launcher", 1024) = 32
[pid  6287] read(4, "/usr/libexec/at-spi2-registryd\0-"..., 2047) = 51
[pid  6287] readlink("/proc/3117/exe", "/usr/libexec/at-spi2-registryd", 1024) = 30
[pid  6287] read(4, "/usr/libexec/geoclue-2.0/demos/a"..., 2047) = 37
[pid  6287] readlink("/proc/3361/exe", "/usr/libexec/geoclue-2.0/demos/a"..., 1024) = 36
[pid  6287] read(4, "/usr/libexec/DiscoverNotifier\0", 2047) = 30
[pid  6287] readlink("/proc/3370/exe", "/usr/libexec/DiscoverNotifier", 1024) = 29
[pid  6287] read(4, "/usr/libexec/packagekitd\0", 2047) = 25
[pid  6287] read(4, "/usr/libexec/imsettings-daemon\0", 2047) = 31
[pid  6287] readlink("/proc/3561/exe", "/usr/libexec/imsettings-daemon", 1024) = 30
[pid  6287] read(4, "/usr/libexec/flatpak-system-help"..., 2047) = 35
[pid  6287] read(4, "/usr/libexec/baloorunner\0", 2047) = 25
[pid  6287] readlink("/proc/4183/exe", "/usr/libexec/baloorunner", 1024) = 24
[pid  6287] read(4, "grep\0--color=auto\0exec\0", 2047) = 23
[pid  6289] execve("/usr/bin/mkdir", ["mkdir", "-p", "/home/ablonewolf/.mozilla/extens"...], 0x55eb915b4a10 /* 93 vars */) = 0
[pid  6292] execve("/usr/bin/sed", ["sed", "s|_\\([^.]*\\).*||g"], 0x55eb915b4a10 /* 93 vars */) = 0
[pid  6295] execve("/usr/bin/sed", ["sed", "s|_\\([^.]*\\).*|-\\1|g"], 0x55eb915b4a10 /* 93 vars */) = 0
[pid  6285] execve("/usr/lib64/thunderbird/thunderbird", ["/usr/lib64/thunderbird/thunderbi"...], 0x55eb915bcd00 /* 93 vars */) = 0
[pid  6304] execve("/usr/lib64/thunderbird/glxtest", ["/usr/lib64/thunderbird/glxtest", "-f", "16", "-w"], 0x7f6f47f69c00 /* 96 vars */ <unfinished ...>
[pid  6304] <... execve resumed>)       = 0
[pid  6304] read(5, "Program (64-bit)\" executable=\"KS"..., 4096) = 4096
[pid  6304] read(5, "rs: International Society\" execu"..., 4096) = 4096
[pid  6304] read(5, "on name=\"sddm-greeter\" executabl"..., 4096) = 4096
[pid  6304] read(5, "A\" executable=\"ansa_linux_x86_64"..., 4096) = 4096
[pid  6304] read(5, "Program (64-bit)\" executable=\"KS"..., 4096) = 4096
[pid  6304] read(5, "rs: International Society\" execu"..., 4096) = 4096
[pid  6304] read(5, "on name=\"sddm-greeter\" executabl"..., 4096) = 4096
[pid  6304] read(5, "A\" executable=\"ansa_linux_x86_64"..., 4096) = 4096
[pid  6304] read(5, "Program (64-bit)\" executable=\"KS"..., 4096) = 4096
[pid  6304] <... read resumed>"rs: International Society\" execu"..., 4096) = 4096
[pid  6304] <... read resumed>"on name=\"sddm-greeter\" executabl"..., 4096) = 4096
[pid  6304] <... read resumed>"A\" executable=\"ansa_linux_x86_64"..., 4096) = 4096
[pid  6304] read(6, "Program (64-bit)\" executable=\"KS"..., 4096) = 4096
[pid  6304] read(6, "rs: International Society\" execu"..., 4096) = 4096
[pid  6304] read(6, "on name=\"sddm-greeter\" executabl"..., 4096) = 4096
[pid  6304] read(6, "A\" executable=\"ansa_linux_x86_64"..., 4096) = 4096
[pid  6304] read(7, "Program (64-bit)\" executable=\"KS"..., 4096) = 4096
[pid  6304] read(7, "rs: International Society\" execu"..., 4096) = 4096
[pid  6304] read(7, "on name=\"sddm-greeter\" executabl"..., 4096) = 4096
[pid  6304] <... read resumed>"A\" executable=\"ansa_linux_x86_64"..., 4096) = 4096
[pid  6338] <... read resumed>"Program (64-bit)\" executable=\"KS"..., 4096) = 4096
[pid  6338] <... read resumed>"rs: International Society\" execu"..., 4096) = 4096
[pid  6338] read(40, "on name=\"sddm-greeter\" executabl"..., 4096) = 4096
[pid  6338] <... read resumed>"A\" executable=\"ansa_linux_x86_64"..., 4096) = 4096
[pid  6338] <... read resumed>"Program (64-bit)\" executable=\"KS"..., 4096) = 4096
[pid  6338] <... read resumed>"rs: International Society\" execu"..., 4096) = 4096
[pid  6338] <... read resumed>"on name=\"sddm-greeter\" executabl"..., 4096) = 4096
[pid  6338] <... read resumed>"A\" executable=\"ansa_linux_x86_64"..., 4096) = 4096
[pid  6338] read(40, "Program (64-bit)\" executable=\"KS"..., 4096) = 4096
[pid  6338] read(40, "rs: International Society\" execu"..., 4096) = 4096
[pid  6338] <... read resumed>"on name=\"sddm-greeter\" executabl"..., 4096) = 4096
[pid  6338] read(40, "A\" executable=\"ansa_linux_x86_64"..., 4096) = 4096
[pid  6338] read(42, "Program (64-bit)\" executable=\"KS"..., 4096) = 4096
[pid  6338] read(42, "rs: International Society\" execu"..., 4096) = 4096
[pid  6338] read(42, "on name=\"sddm-greeter\" executabl"..., 4096) = 4096
[pid  6338] read(42, "A\" executable=\"ansa_linux_x86_64"..., 4096) = 4096
[pid  6338] read(43, "Program (64-bit)\" executable=\"KS"..., 4096) = 4096
[pid  6338] read(43, "rs: International Society\" execu"..., 4096) = 4096
[pid  6338] read(43, "on name=\"sddm-greeter\" executabl"..., 4096) = 4096
[pid  6338] read(43, "A\" executable=\"ansa_linux_x86_64"..., 4096) = 4096
[pid  6390] execve("/usr/lib64/thunderbird/thunderbird", ["/usr/lib64/thunderbird/thunderbi"..., "-contentproc", "-childID", "1", "-isForBrowser", "-prefsLen", "12749", "-prefMapSize", "255650", "-jsInitLen", "240916", "-parentBuildID", "20240619103910", "-appDir", "/usr/lib64/thunderbird", "{605e7477-c9a0-46f6-bca7-a9761dd"..., "6285", "tab"], 0x7f6eff198400 /* 110 vars */ <unfinished ...>
[pid  6390] <... execve resumed>)       = 0
[pid  6448] execve("/usr/bin/thunderbird", ["/usr/bin/thunderbird"], 0x24aa2760 /* 87 vars */ <unfinished ...>
[pid  6448] <... execve resumed>)       = 0
[pid  6449] execve("/usr/bin/uname", ["uname", "-m"], 0x55fefe4db800 /* 87 vars */) = 0
[pid  6450] execve("/usr/bin/pidof", ["pidof", "thunderbird"], 0x55fefe4dca10 /* 93 vars */) = 0
[pid  6450] read(4, "/usr/libexec/bluetooth/bluetooth"..., 2047) = 34
[pid  6450] read(4, "/usr/libexec/power-profiles-daem"..., 2047) = 35
[pid  6450] read(4, "/usr/libexec/rtkit-daemon\0", 2047) = 26
[pid  6450] read(4, "/usr/libexec/accounts-daemon\0", 2047) = 29
[pid  6450] read(4, "/usr/libexec/switcheroo-control\0", 2047) = 32
[pid  6450] read(4, "/usr/libexec/udisks2/udisksd\0", 2047) = 29
[pid  6450] read(4, "/usr/libexec/upowerd\0", 2047) = 21
[pid  6450] read(4, "/usr/libexec/mysqld\0--basedir=/u"..., 2047) = 35
[pid  6450] read(4, "/usr/libexec/uresourced\0", 2047) = 24
[pid  6450] read(4, "/usr/libexec/sddm-helper\0--socke"..., 2047) = 195
[pid  6450] read(4, "/usr/libexec/uresourced\0--user\0", 2047) = 31
[pid  6450] readlink("/proc/2753/exe", "/usr/libexec/uresourced", 1024) = 23
[pid  6450] read(4, "/usr/libexec/kf6/baloo_file\0", 2047) = 28
[pid  6450] readlink("/proc/2765/exe", "/usr/libexec/kf6/baloo_file", 1024) = 27
[pid  6450] read(4, "/usr/libexec/xdg-desktop-portal\0", 2047) = 32
[pid  6450] readlink("/proc/2790/exe", "/usr/libexec/xdg-desktop-portal", 1024) = 31
[pid  6450] read(4, "/usr/libexec/xdg-document-portal"..., 2047) = 33
[pid  6450] readlink("/proc/2799/exe", "/usr/libexec/xdg-document-portal", 1024) = 32
[pid  6450] read(4, "/usr/libexec/xdg-permission-stor"..., 2047) = 34
[pid  6450] readlink("/proc/2806/exe", "/usr/libexec/xdg-permission-stor"..., 1024) = 33
[pid  6450] read(4, "/usr/libexec/kactivitymanagerd\0", 2047) = 31
[pid  6450] readlink("/proc/2955/exe", "/usr/libexec/kactivitymanagerd", 1024) = 30
[pid  6450] read(4, "/usr/libexec/dconf-service\0", 2047) = 27
[pid  6450] readlink("/proc/2964/exe", "/usr/libexec/dconf-service", 1024) = 26
[pid  6450] read(4, "/usr/libexec/bluetooth/obexd\0", 2047) = 29
[pid  6450] readlink("/proc/2999/exe", "/usr/libexec/bluetooth/obexd", 1024) = 28
[pid  6450] read(4, "/usr/libexec/kf6/polkit-kde-auth"..., 2047) = 51
[pid  6450] read(4, "/usr/libexec/org_kde_powerdevil\0", 2047) = 32
[pid  6450] readlink("/proc/3002/exe", "/usr/libexec/org_kde_powerdevil", 1024) = 31
[pid  6450] read(4, "/usr/libexec/xdg-desktop-portal-"..., 2047) = 36
[pid  6450] readlink("/proc/3003/exe", "/usr/libexec/xdg-desktop-portal-"..., 1024) = 35
[pid  6450] read(4, "/usr/libexec/xdg-desktop-portal-"..., 2047) = 36
[pid  6450] readlink("/proc/3076/exe", "/usr/libexec/xdg-desktop-portal-"..., 1024) = 35
[pid  6450] read(4, "/usr/libexec/at-spi-bus-launcher"..., 2047) = 33
[pid  6450] readlink("/proc/3108/exe", "/usr/libexec/at-spi-bus-launcher", 1024) = 32
[pid  6450] read(4, "/usr/libexec/at-spi2-registryd\0-"..., 2047) = 51
[pid  6450] readlink("/proc/3117/exe", "/usr/libexec/at-spi2-registryd", 1024) = 30
[pid  6450] read(4, "/usr/libexec/geoclue-2.0/demos/a"..., 2047) = 37
[pid  6450] readlink("/proc/3361/exe", "/usr/libexec/geoclue-2.0/demos/a"..., 1024) = 36
[pid  6450] read(4, "/usr/libexec/DiscoverNotifier\0", 2047) = 30
[pid  6450] readlink("/proc/3370/exe", "/usr/libexec/DiscoverNotifier", 1024) = 29
[pid  6450] read(4, "/usr/libexec/packagekitd\0", 2047) = 25
[pid  6450] read(4, "/usr/libexec/imsettings-daemon\0", 2047) = 31
[pid  6450] readlink("/proc/3561/exe", "/usr/libexec/imsettings-daemon", 1024) = 30
[pid  6450] read(4, "/usr/libexec/flatpak-system-help"..., 2047) = 35
[pid  6450] read(4, "/usr/libexec/baloorunner\0", 2047) = 25
[pid  6450] readlink("/proc/4183/exe", "/usr/libexec/baloorunner", 1024) = 24
[pid  6450] read(4, "grep\0--color=auto\0exec\0", 2047) = 23
[pid  6454] execve("/usr/bin/mkdir", ["mkdir", "-p", "/home/ablonewolf/.mozilla/extens"...], 0x55fefe4dca10 /* 93 vars */) = 0
[pid  6457] execve("/usr/bin/sed", ["sed", "s|_\\([^.]*\\).*||g"], 0x55fefe4dca10 /* 93 vars */ <unfinished ...>
[pid  6457] <... execve resumed>)       = 0
[pid  6460] execve("/usr/bin/sed", ["sed", "s|_\\([^.]*\\).*|-\\1|g"], 0x55fefe4dca10 /* 93 vars */) = 0
[pid  6448] execve("/usr/lib64/thunderbird/thunderbird", ["/usr/lib64/thunderbird/thunderbi"...], 0x55fefe4e4d00 /* 93 vars */) = 0
[pid  6472] execve("/usr/lib64/thunderbird/glxtest", ["/usr/lib64/thunderbird/glxtest", "-f", "16", "-w"], 0x7f0a0ad6c400 /* 96 vars */ <unfinished ...>
[pid  6472] <... execve resumed>)       = 0
[pid  6472] read(5, "Program (64-bit)\" executable=\"KS"..., 4096) = 4096
[pid  6472] read(5, "rs: International Society\" execu"..., 4096) = 4096
[pid  6472] read(5, "on name=\"sddm-greeter\" executabl"..., 4096) = 4096
[pid  6472] read(5, "A\" executable=\"ansa_linux_x86_64"..., 4096) = 4096
[pid  6472] read(5, "Program (64-bit)\" executable=\"KS"..., 4096) = 4096
[pid  6472] read(5, "rs: International Society\" execu"..., 4096) = 4096
[pid  6472] <... read resumed>"on name=\"sddm-greeter\" executabl"..., 4096) = 4096
[pid  6472] <... read resumed>"A\" executable=\"ansa_linux_x86_64"..., 4096) = 4096
[pid  6472] <... read resumed>"Program (64-bit)\" executable=\"KS"..., 4096) = 4096
[pid  6472] <... read resumed>"rs: International Society\" execu"..., 4096) = 4096
[pid  6472] <... read resumed>"on name=\"sddm-greeter\" executabl"..., 4096) = 4096
[pid  6472] read(5, "A\" executable=\"ansa_linux_x86_64"..., 4096) = 4096
[pid  6472] read(6, "Program (64-bit)\" executable=\"KS"..., 4096) = 4096
[pid  6472] <... read resumed>"rs: International Society\" execu"..., 4096) = 4096
[pid  6472] <... read resumed>"on name=\"sddm-greeter\" executabl"..., 4096) = 4096
[pid  6472] <... read resumed>"A\" executable=\"ansa_linux_x86_64"..., 4096) = 4096
[pid  6472] read(7, "Program (64-bit)\" executable=\"KS"..., 4096) = 4096
[pid  6472] read(7, "rs: International Society\" execu"..., 4096) = 4096
[pid  6472] <... read resumed>"on name=\"sddm-greeter\" executabl"..., 4096) = 4096
[pid  6472] read(7, "A\" executable=\"ansa_linux_x86_64"..., 4096) = 4096
[pid  6506] read(41, "Program (64-bit)\" executable=\"KS"..., 4096) = 4096
[pid  6506] read(41, "rs: International Society\" execu"..., 4096) = 4096
[pid  6506] <... read resumed>"on name=\"sddm-greeter\" executabl"..., 4096) = 4096
[pid  6506] <... read resumed>"A\" executable=\"ansa_linux_x86_64"..., 4096) = 4096
[pid  6506] read(41, "Program (64-bit)\" executable=\"KS"..., 4096) = 4096
[pid  6506] <... read resumed>"rs: International Society\" execu"..., 4096) = 4096
[pid  6506] read(41, "on name=\"sddm-greeter\" executabl"..., 4096) = 4096
[pid  6506] read(41, "A\" executable=\"ansa_linux_x86_64"..., 4096) = 4096
[pid  6506] read(41, "Program (64-bit)\" executable=\"KS"..., 4096) = 4096
[pid  6506] read(41, "rs: International Society\" execu"..., 4096) = 4096
[pid  6506] read(41, "on name=\"sddm-greeter\" executabl"..., 4096) = 4096
[pid  6506] read(41, "A\" executable=\"ansa_linux_x86_64"..., 4096) = 4096
[pid  6506] <... read resumed>"Program (64-bit)\" executable=\"KS"..., 4096) = 4096
[pid  6506] read(42, "rs: International Society\" execu"..., 4096) = 4096
[pid  6506] read(42, "on name=\"sddm-greeter\" executabl"..., 4096) = 4096
[pid  6506] <... read resumed>"A\" executable=\"ansa_linux_x86_64"..., 4096) = 4096
[pid  6506] read(43, "Program (64-bit)\" executable=\"KS"..., 4096) = 4096
[pid  6506] <... read resumed>"rs: International Society\" execu"..., 4096) = 4096
[pid  6506] read(43, "on name=\"sddm-greeter\" executabl"..., 4096) = 4096
[pid  6506] read(43, "A\" executable=\"ansa_linux_x86_64"..., 4096) = 4096
[pid  6563] execve("/usr/lib64/thunderbird/thunderbird", ["/usr/lib64/thunderbird/thunderbi"..., "-contentproc", "-childID", "1", "-isForBrowser", "-prefsLen", "12749", "-prefMapSize", "255650", "-jsInitLen", "240916", "-parentBuildID", "20240619103910", "-appDir", "/usr/lib64/thunderbird", "{51c56079-e6ad-4233-a98c-255642a"..., "6448", "tab"], 0x7f09bff36000 /* 110 vars */ <unfinished ...>
[pid  6563] <... execve resumed>)       = 0
gyunaev commented 2 months ago

No errors here either, so I've no more ideas of what's going on. I'm afraid until someone who has the same issue and figures what's going on, you won't have a working birdtray.

edm64 commented 3 weeks ago

I had the same issue, albeit under different conditions.

OS: opensuse Leap 15.6 Linux Desktop Manager: xfce Birdtray version: 1.11.4 Thunderbird version: 115.14.0 Birdtray origin: flatpak (com.ulduzsoft.Birdtray)

After I first installed Birdtray via flatpak, it would not launch Thunderbird on startup even though the checkbox was enabled in Birdtray settings. When I clicked the Birdtray icon without Thunderbird running*, nothing would happen, not even an error message. I checked advanced settings, and by default the Thunderbird command line was set to this: /usr/bin/flatpak-spawn --host flatpak run org.mozilla.Thunderbird

I thought this was the problem because I installed Thunderbird from the official opensuse repositories, not flatpak. So I changed the command line option to /usr/bin/thunderbird, which is the correct install location and matches the output of which thunderbird. This didn't work either, and would produce an error popup:

Screenshot_2024-09-14_13-27-49 (Note the trailing space after the binary path within the single quotes. I don't think it should affect anything, but I know I didn't type it in the command line option field.)

This is very confusing because that path definitely exists on my system, but the path /usr/bin/flatpak-spawn is definitely NOT on my system and I get no error message from the default command. As a shot in the dark, I tried setting the command line option to this: /usr/bin/flatpak-spawn --host /usr/bin/thunderbird and now it's working as expected for me. I don't really understand why, but I'll take it.

*If Thunderbird was already running, then clicking the tray icon would correctly hide or show Thunderbird as expected. If I couldn't figure out a working command line launch option, I was prepared to just start Thunderbird automatically using xfce methods and leave it at that.