We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Using Thunderbird (flatpak) as default mail client on Xfce

  • 4 回覆
  • 0 有這個問題
  • 1 次檢視
  • 最近回覆由 doug.hs

more options

In "Settings" > "System integration", the controls to define Thunderbird as the default mail client are failing silently - they're not changing anything. This is a flatpak installation, v115.6.1 (64-bit). I've tried manually setting `flatpak run org.mozilla.Thunderbird %s` as the default mail application on Xfce 4.18, but then it fails to launch with "input/output error".

OS is Void Linux.

In "Settings" > "System integration", the controls to define Thunderbird as the default mail client are failing silently - they're not changing anything. This is a flatpak installation, v115.6.1 (64-bit). I've tried manually setting `flatpak run org.mozilla.Thunderbird %s` as the default mail application on Xfce 4.18, but then it fails to launch with "input/output error". OS is Void Linux.
附加的畫面擷圖

被選擇的解決方法

Found a better solution:

~/.local/share/flatpak/exports/bin/org.mozilla.Thunderbird "mailto:%s"

The command documented here, `thunderbird %s`, simply does not work.

When you click a "mailto" link on Firefox, only the mail address is passed on to the mail application. But the address alone won't trigger compose mode, because the executable expects an URL. By manually injecting "mailto:" in there, I get the expected behavior.

The executable syntax is `thunderbird [options] URL`.

Fortunately, when the address field is empty, it will simply open the main window.

從原來的回覆中察看解決方案 👍 0

所有回覆 (4)

more options

It may be important to mention that it was installed from Flathub in a user installation.

more options

It opens Thunderbird correctly if I set the command to this:

/home/myuser/.local/share/flatpak/exports/bin/org.mozilla.Thunderbird "%s"

This works if all you want is to open Thunderbird when you click "Mail Reader" on the Xfce app menu. Sadly, it doesn't activate -compose mode when you click a "mailto:" link - it simply opens the main window.

I'll keep looking for a proper solution.

more options

Warnings emitted on the console when I use the controls at "Settings/System Integration":

[myuser@myhost ~]$ ~/.local/share/flatpak/exports/bin/org.mozilla.Thunderbird --setDefaultMail ATTENTION: default value of option mesa_glthread overridden by environment. ATTENTION: default value of option mesa_glthread overridden by environment. [Parent 2, Main Thread] WARNING: Failed to execute child process “update-desktop-database” (No such file or directory): 'glib warning', file /builds/worker/checkouts/gecko/toolkit/xre/nsSigHandlers.cpp:167

(org.mozilla.Thunderbird:2): GLib-GIO-WARNING **: 15:04:07.022: Failed to execute child process “update-desktop-database” (No such file or directory) [Parent 2, Main Thread] WARNING: Failed to execute child process “update-desktop-database” (No such file or directory): 'glib warning', file /builds/worker/checkouts/gecko/toolkit/xre/nsSigHandlers.cpp:167

(org.mozilla.Thunderbird:2): GLib-GIO-WARNING **: 15:04:24.602: Failed to execute child process “update-desktop-database” (No such file or directory) [Parent 2, Main Thread] WARNING: Failed to execute child process “update-desktop-database” (No such file or directory): 'glib warning', file /builds/worker/checkouts/gecko/toolkit/xre/nsSigHandlers.cpp:167

(org.mozilla.Thunderbird:2): GLib-GIO-WARNING **: 15:04:24.630: Failed to execute child process “update-desktop-database” (No such file or directory)

more options

選擇的解決方法

Found a better solution:

~/.local/share/flatpak/exports/bin/org.mozilla.Thunderbird "mailto:%s"

The command documented here, `thunderbird %s`, simply does not work.

When you click a "mailto" link on Firefox, only the mail address is passed on to the mail application. But the address alone won't trigger compose mode, because the executable expects an URL. By manually injecting "mailto:" in there, I get the expected behavior.

The executable syntax is `thunderbird [options] URL`.

Fortunately, when the address field is empty, it will simply open the main window.

由 doug.hs 於 修改