# Set Thunderbird as default app

**URL:** <https://discussion.fedoraproject.org/t/set-thunderbird-as-default-app/147463>\
**Category:** Ask Fedora\
**Tags:** flatpak, thunderbird, silverblue, gnome\
**Created:** [March 22, 2025, 12:21pm UTC](https://discussion.fedoraproject.org/t/set-thunderbird-as-default-app/147463 "2025-03-22T12:21:24Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![tealk](https://sea1.discourse-cdn.com/fedoraproject/user_avatar/discussion.fedoraproject.org/tealk/32/36590_2.png) [@tealk](https://discussion.fedoraproject.org/u/tealk)\
**Post date:** [March 22, 2025, 12:21pm UTC](https://discussion.fedoraproject.org/t/set-thunderbird-as-default-app/147463/1 "2025-03-22T12:21:24Z")

</div>

Hello, how can I get Gnome to recognize Thunderbird(Flatpak) as the default app for mail and calendars?

 ![image](https://us1.discourse-cdn.com/fedoraproject/original/3X/1/b/1bbe98ebd4e0aa5d33bcf5a0efd68d3a4bd4009b.png)

---

<div class="post-metadata">

**Author:** ![theprogram](https://sea1.discourse-cdn.com/fedoraproject/user_avatar/discussion.fedoraproject.org/theprogram/32/53169_2.png) [@theprogram](https://discussion.fedoraproject.org/u/theprogram)\
**Post date:** [March 22, 2025, 12:37pm UTC](https://discussion.fedoraproject.org/t/set-thunderbird-as-default-app/147463/2 "2025-03-22T12:37:25Z")

</div>

Did you install Thunderbird via Flatpak?

---

<div class="post-metadata">

**Author:** ![tealk](https://sea1.discourse-cdn.com/fedoraproject/user_avatar/discussion.fedoraproject.org/tealk/32/36590_2.png) [@tealk](https://discussion.fedoraproject.org/u/tealk)\
**Post date:** [March 22, 2025, 12:37pm UTC](https://discussion.fedoraproject.org/t/set-thunderbird-as-default-app/147463/3 "2025-03-22T12:37:48Z")

</div>

Ah yes sorry I forgot to mention, yes by Flatpak

What is interesting is that mailto goes to Thunderbird:

```plaintext
xdg-mime query default x-scheme-handler/mailto
org.mozilla.Thunderbird.desktop

```

---

<div class="post-metadata">

**Author:** ![tqcharm](https://sea1.discourse-cdn.com/fedoraproject/user_avatar/discussion.fedoraproject.org/tqcharm/32/40015_2.png) [@tqcharm](https://discussion.fedoraproject.org/u/tqcharm)\
**Post date:** [March 22, 2025, 2:01pm UTC](https://discussion.fedoraproject.org/t/set-thunderbird-as-default-app/147463/5 "2025-03-22T14:01:13Z")

</div>

I also am on Silverblue (41), but using _Geary_ for emails, and the app is recognized in _Settings-\>Apps-\>Default Apps-\>Mail_.

In oder to try replicating your issue, I had installed Thunderbird as Flatpak (tested both from `fedora` as well as `flathub` remotes), and afterwards it became available as an option for setting it as the default mail app.

Chances are low, but had the _Settings_ app been open with focus on the _Default Apps_ page at the time you were installing Thunderbird? The page doesn’t refresh automatically.

What does `flatpak info org.mozilla.Thunderbird -roM` show?

---

<div class="post-metadata">

**Author:** ![tealk](https://sea1.discourse-cdn.com/fedoraproject/user_avatar/discussion.fedoraproject.org/tealk/32/36590_2.png) [@tealk](https://discussion.fedoraproject.org/u/tealk)\
**Post date:** [March 22, 2025, 2:05pm UTC](https://discussion.fedoraproject.org/t/set-thunderbird-as-default-app/147463/6 "2025-03-22T14:05:06Z")

</div>

> [@tqcharm](#):
>
> Chances are low, but had the _Settings_ app been open with focus on the _Default Apps_ page at the time you were installing Thunderbird? The page doesn’t refresh automatically.

No, I completely reinstalled the system yesterday and today I came up with the idea that I still have to adjust it. There were even several reboots in between.

> [@tqcharm](#):
>
> What does `flatpak info org.mozilla.Thunderbird -roM` show?

```plaintext
flatpak info org.mozilla.Thunderbird -roM
app/org.mozilla.Thunderbird/x86_64/stable flathub
[Context]
shared=network;ipc;
sockets=x11;wayland;pulseaudio;pcsc;cups;
devices=all;
features=devel;
filesystems=xdg-download;xdg-run/gnupg:ro;/run/.heim_org.h5l.kcm-socket;~/.gnupg;xdg-run/speech-dispatcher:ro;
persistent=.thunderbird;

[Session Bus Policy]
org.gtk.vfs.*=talk
org.mozilla.thunderbird.*=own
org.a11y.Bus=talk
org.mozilla.thunderbird_beta.*=own

[System Bus Policy]
org.freedesktop.NetworkManager=talk

[Environment]
TMPDIR=~/.var/app/org.mozilla.Thunderbird/cache/tmp
DICPATH=/usr/share/hunspell

```

---

<div class="post-metadata">

**Author:** ![theprogram](https://sea1.discourse-cdn.com/fedoraproject/user_avatar/discussion.fedoraproject.org/theprogram/32/53169_2.png) [@theprogram](https://discussion.fedoraproject.org/u/theprogram)\
**Post date:** [March 22, 2025, 2:10pm UTC](https://discussion.fedoraproject.org/t/set-thunderbird-as-default-app/147463/7 "2025-03-22T14:10:29Z")

</div>

Did you see this Mozilla help article?

> **[Using Thunderbird (flatpak) as default mail client on Xfce | Thunderbird...](https://support.mozilla.org/en-US/questions/1436907)**

It is a bit fragmented and it is for Xfce but might help?

---

<div class="post-metadata">

**Author:** ![tealk](https://sea1.discourse-cdn.com/fedoraproject/user_avatar/discussion.fedoraproject.org/tealk/32/36590_2.png) [@tealk](https://discussion.fedoraproject.org/u/tealk)\
**Post date:** [March 22, 2025, 2:15pm UTC](https://discussion.fedoraproject.org/t/set-thunderbird-as-default-app/147463/8 "2025-03-22T14:15:15Z")

</div>

> [@theprogram](#):
>
> Did you see this Mozilla help article?

no, not yet, even if I don’t quite understand what the solution was.

mailto links show me the following:

 ![image](https://us1.discourse-cdn.com/fedoraproject/original/3X/7/b/7b3c65483d8272a2f024aa91ae986505f4307f86.png)

 ![image](https://us1.discourse-cdn.com/fedoraproject/original/3X/1/8/18373ae6486e9787cd61239f320f86d875798c57.jpeg)

> [@tqcharm](#):
>
> In oder to try replicating your issue, I had installed Thunderbird as Flatpak (tested both from `fedora` as well as `flathub` remotes), and afterwards it became available as an option for setting it as the default mail app.

Unfortunately, reinstalling did not help either.

---

<div class="post-metadata">

**Author:** ![tqcharm](https://sea1.discourse-cdn.com/fedoraproject/user_avatar/discussion.fedoraproject.org/tqcharm/32/40015_2.png) [@tqcharm](https://discussion.fedoraproject.org/u/tqcharm)\
**Post date:** [March 22, 2025, 2:31pm UTC](https://discussion.fedoraproject.org/t/set-thunderbird-as-default-app/147463/9 "2025-03-22T14:31:47Z")

</div>

Did you by any chance tweak the \*.desktop file?

What is the output of the following:

```plaintext
cat /var/lib/flatpak/exports/share/applications/org.mozilla.Thunderbird.desktop | grep Exec

```

```plaintext
printenv XDG_DATA_DIRS

```

```plaintext
gsettings get org.gnome.shell favorite-apps

```

---

<div class="post-metadata">

**Author:** ![tealk](https://sea1.discourse-cdn.com/fedoraproject/user_avatar/discussion.fedoraproject.org/tealk/32/36590_2.png) [@tealk](https://discussion.fedoraproject.org/u/tealk)\
**Post date:** [March 22, 2025, 2:32pm UTC](https://discussion.fedoraproject.org/t/set-thunderbird-as-default-app/147463/10 "2025-03-22T14:32:38Z")

</div>

> [@tqcharm](#):
>
> Did you by any chance tweak the \*.desktop file?

No, I’m currently trying to change the system as little as possible.

```plaintext
cat /var/lib/flatpak/exports/share/applications/org.mozilla.Thunderbird.desktop | grep Exec
Exec=/usr/bin/flatpak run --branch=stable --arch=x86_64 --command=thunderbird --file-forwarding org.mozilla.Thunderbird @@u %u @@
Exec=/usr/bin/flatpak run --branch=stable --arch=x86_64 --command=thunderbird org.mozilla.Thunderbird -compose
Exec=/usr/bin/flatpak run --branch=stable --arch=x86_64 --command=thunderbird org.mozilla.Thunderbird -addressbook

```

```plaintext
printenv XDG_DATA_DIRS
/var/home/tealk/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share/:/usr/share/

```

```plaintext
gsettings get org.gnome.shell favorite-apps
['org.gnome.Nautilus.desktop', 'org.gnome.Console.desktop', 'dev.zed.Zed.desktop']

```

---

<div class="post-metadata">

**Author:** ![tqcharm](https://sea1.discourse-cdn.com/fedoraproject/user_avatar/discussion.fedoraproject.org/tqcharm/32/40015_2.png) [@tqcharm](https://discussion.fedoraproject.org/u/tqcharm)\
**Post date:** [March 22, 2025, 3:03pm UTC](https://discussion.fedoraproject.org/t/set-thunderbird-as-default-app/147463/11 "2025-03-22T15:03:24Z")

</div>

Nothing out of the ordinary, though my request for the last output was not relevant, my mistake.

One piece of information missing is the output of `rpm-ostree status`, though I don’t think it will tell much. Please post it though.

Also, what is the output of `cat ~/.config/mimeapps.list`?

---

<div class="post-metadata">

**Author:** ![tealk](https://sea1.discourse-cdn.com/fedoraproject/user_avatar/discussion.fedoraproject.org/tealk/32/36590_2.png) [@tealk](https://discussion.fedoraproject.org/u/tealk)\
**Post date:** [March 22, 2025, 3:10pm UTC](https://discussion.fedoraproject.org/t/set-thunderbird-as-default-app/147463/12 "2025-03-22T15:10:29Z")

</div>

```plaintext
rpm-ostree status
State: idle
Deployments:
● fedora:fedora/41/x86_64/silverblue
                  Version: 41.20250320.0 (2025-03-20T00:49:28Z)
               BaseCommit: a53ce8ef8ddf1177c29d1913d5de34270446a07cf28e99dacf01309b85ec07e7
             GPGSignature: Valid signature by 466CF2D8B60BC3057AA9453ED0622462E99D6AD1
      RemovedBasePackages: firefox firefox-langpacks 136.0.1-1.fc41
          LayeredPackages: gnome-console hstr nc nextcloud-client openssl yq

  fedora:fedora/41/x86_64/silverblue
                  Version: 41.20250320.0 (2025-03-20T00:49:28Z)
               BaseCommit: a53ce8ef8ddf1177c29d1913d5de34270446a07cf28e99dacf01309b85ec07e7
             GPGSignature: Valid signature by 466CF2D8B60BC3057AA9453ED0622462E99D6AD1
      RemovedBasePackages: firefox firefox-langpacks 136.0.1-1.fc41
          LayeredPackages: gnome-console hstr nc nextcloud-client openssl yq

```

```plaintext
cat ~/.config/mimeapps.list
[Default Applications]
x-scheme-handler/https=re.sonny.Junction.desktop
x-scheme-handler/http=re.sonny.Junction.desktop

[Added Associations]
x-scheme-handler/https=re.sonny.Junction.desktop;
x-scheme-handler/http=re.sonny.Junction.desktop;
x-scheme-handler/sms=org.gnome.Shell.Extensions.GSConnect.desktop;
x-scheme-handler/tel=org.gnome.Shell.Extensions.GSConnect.desktop;

```

---

<div class="post-metadata">

**Author:** ![theprogram](https://sea1.discourse-cdn.com/fedoraproject/user_avatar/discussion.fedoraproject.org/theprogram/32/53169_2.png) [@theprogram](https://discussion.fedoraproject.org/u/theprogram)\
**Post date:** [March 22, 2025, 3:14pm UTC](https://discussion.fedoraproject.org/t/set-thunderbird-as-default-app/147463/13 "2025-03-22T15:14:55Z")

</div>

I think it is saying on the page linked off the one I posted

" Set Thunderbird as the operating system default:  
Using Gnome as an example, go to Applications \> Desktop Preferences \> Advanced \> Preferred Applications. Select Custom Mail Reader and enter `thunderbird "mailto:%s"` (If Thunderbird is not in the system’s PATH statement, specify the full path.)"

Then on the page I linked to it says set `/home/yourusernamehere/.local/share/flatpak/exports/bin/org.mozilla.Thunderbird "mailto:%s"`  
Instead of `thunderbird "mailto:%s"`

---

<div class="post-metadata">

**Author:** ![tealk](https://sea1.discourse-cdn.com/fedoraproject/user_avatar/discussion.fedoraproject.org/tealk/32/36590_2.png) [@tealk](https://discussion.fedoraproject.org/u/tealk)\
**Post date:** [March 22, 2025, 3:17pm UTC](https://discussion.fedoraproject.org/t/set-thunderbird-as-default-app/147463/14 "2025-03-22T15:17:46Z")

</div>

> [@theprogram](#):
>
> Using Gnome as an example, go to Applications \> Desktop Preferences \> Advanced \> Preferred Applications

Unfortunately, I don’t know where to set this, at least in the graphical user interface.

 ![image](https://us1.discourse-cdn.com/fedoraproject/original/3X/a/c/acd0f759527f5776089800cce51a7956f07014e1.png)

---

<div class="post-metadata">

**Author:** ![tqcharm](https://sea1.discourse-cdn.com/fedoraproject/user_avatar/discussion.fedoraproject.org/tqcharm/32/40015_2.png) [@tqcharm](https://discussion.fedoraproject.org/u/tqcharm)\
**Post date:** [March 22, 2025, 3:22pm UTC](https://discussion.fedoraproject.org/t/set-thunderbird-as-default-app/147463/15 "2025-03-22T15:22:32Z")

</div>

At this point I only have a couple of suggestions left:

1. Add `firefox` and `firefox-langpacks` back to the base image, so that there are no _RemovedBasePackages_ left. I expect Firefox to be set up as default registered application, and removing it might have caused this. If adding it back makes the issue go away, then it might be a bug worth reporting.

2. If the previous step didn’t help, reset the `dconf` database after having it backed up:

```plaintext
dconf dump / >~/Documents/dconf.backup
dconf reset -f /

```

You’ll have to repeat any setups you have performed in the _Settings_ app, as well as in _GNOME Tweaks_ (if any), but this might have reset some setting that would allow for Thunderbird to be recognized in _Settings_.

1. If the previous step didn’t help, you could manually tweak the `~/.config/mimeapps.list` file, and add the following manually, in the corresponding sections (without removing the existing entries):

```plaintext
[Default Applications]
x-scheme-handler/mailto=org.mozilla.Thunderbird.desktop
text/calendar=org.mozilla.Thunderbird.desktop

[Added Associations]
x-scheme-handler/mailto=org.mozilla.Thunderbird.desktop;
text/calendar=org.mozilla.Thunderbird.desktop;

```

---

<div class="post-metadata">

**Author:** ![tealk](https://sea1.discourse-cdn.com/fedoraproject/user_avatar/discussion.fedoraproject.org/tealk/32/36590_2.png) [@tealk](https://discussion.fedoraproject.org/u/tealk)\
**Post date:** [March 22, 2025, 3:25pm UTC](https://discussion.fedoraproject.org/t/set-thunderbird-as-default-app/147463/16 "2025-03-22T15:25:54Z")

</div>

> [@tqcharm](#):
>
> Add `firefox` and `firefox-langpacks` back to the base layer, so that there are no _RemovedBasePackages_ left. I expect Firefox to be set up as default registered application, and removing it might have caused this. If adding it back makes the issue go away, then it might be a bug worth reporting.

For this, `re.sonny.Junction.desktop` is registered, which is a tool that gives me an option each time which browser I want to use. Other than removing ff I did not get the browser out of the list. I’ll give it a try anyway.

---

<div class="post-metadata">

**Author:** ![tealk](https://sea1.discourse-cdn.com/fedoraproject/user_avatar/discussion.fedoraproject.org/tealk/32/36590_2.png) [@tealk](https://discussion.fedoraproject.org/u/tealk)\
**Post date:** [March 22, 2025, 6:36pm UTC](https://discussion.fedoraproject.org/t/set-thunderbird-as-default-app/147463/18 "2025-03-22T18:36:18Z")

</div>

So the first 2 options didn’t work, only step 3 solved it.

---

<div class="post-metadata">

**Author:** ![tqcharm](https://sea1.discourse-cdn.com/fedoraproject/user_avatar/discussion.fedoraproject.org/tqcharm/32/40015_2.png) [@tqcharm](https://discussion.fedoraproject.org/u/tqcharm)\
**Post date:** [March 22, 2025, 8:59pm UTC](https://discussion.fedoraproject.org/t/set-thunderbird-as-default-app/147463/19 "2025-03-22T20:59:03Z")

</div>

Glad to hear it got finally solved.

---

<div class="post-metadata">

**Author:** ![tealk](https://sea1.discourse-cdn.com/fedoraproject/user_avatar/discussion.fedoraproject.org/tealk/32/36590_2.png) [@tealk](https://discussion.fedoraproject.org/u/tealk)\
**Post date:** [March 22, 2025, 9:51pm UTC](https://discussion.fedoraproject.org/t/set-thunderbird-as-default-app/147463/20 "2025-03-22T21:51:45Z")

</div>

For me yes, but isn’t that still a bug somehow?

---

<div class="post-metadata">

**Author:** ![tqcharm](https://sea1.discourse-cdn.com/fedoraproject/user_avatar/discussion.fedoraproject.org/tqcharm/32/40015_2.png) [@tqcharm](https://discussion.fedoraproject.org/u/tqcharm)\
**Post date:** [March 22, 2025, 10:07pm UTC](https://discussion.fedoraproject.org/t/set-thunderbird-as-default-app/147463/21 "2025-03-22T22:07:33Z")

</div>

> [@tealk](#):
>
> isn’t that still a bug somehow?

It might be, but it seems particular to your setup.

In order to file a bug, you’d need to try to reproduce the steps that would lead to this issue. My take is that if you’d perform a fresh Silverblue install, and first thing you would do is to install Thunderbird, then setting it as default mail client would work. If this supposition is true, then something you’ve performed on your installation is triggering it.

And that something might have nothing to do with Thunderbird in particular (could have been another email client), but rather with the fact that upon installation of the email client, it doesn’t get added to the `[Added Associations]` section in `~/.config/mimeapps.list`. This is just a guess though.

---

<div class="post-metadata">

**Author:** ![tealk](https://sea1.discourse-cdn.com/fedoraproject/user_avatar/discussion.fedoraproject.org/tealk/32/36590_2.png) [@tealk](https://discussion.fedoraproject.org/u/tealk)\
**Post date:** [March 23, 2025, 9:59am UTC](https://discussion.fedoraproject.org/t/set-thunderbird-as-default-app/147463/22 "2025-03-23T09:59:02Z")

</div>

Exactly, I installed Fedora from a USB stick which I created with the Fedora Creator and I did the installation with the default values. Then I installed Thunderbird and all the other apps I needed. It wasn’t until later that I noticed this with Firefox and found the command for it here in the forum.

Since this sounds pretty much like standard behavior, like any user would do, it feels like a bug.

[Next page](https://discussion.fedoraproject.org/t/set-thunderbird-as-default-app/147463.md?page=2)
