How to use Betterbird flatpak as default email client

Here is where you can post tips and tricks to share with other users of MX. Do not ask for help in this Forum.
Message
Author
seasoned_geek
Posts: 23
Joined: Wed Jul 30, 2025 11:53 am

How to use Betterbird flatpak as default email client

#1 Post by seasoned_geek »

After you install the flatpak, open a terminal

Code: Select all

sudo nano /usr/share/xfce4/helpers/betterbird.desktop
paste in

Code: Select all

[Desktop Entry]
Version=1.0
Icon=betterbird
Type=X-XFCE-Helper
Name[am]=Betterbird
Name=Betterbird
Keywords=email;mail;inbox;message;communication;
StartupNotify=false
X-XFCE-Binaries=flatpak run eu.betterbird.Betterbird;
X-XFCE-Category=MailReader
X-XFCE-Commands=%B;
X-XFCE-CommandsWithParameter=/usr/lib/xfce4/xfce4-compose-mail flatpak run eu.betterbird.Betterbird %B "mailto:%s";/usr/lib/xfce4/xfce4-compose-mail flatpak run eu.betterbird.Betterbird %B "mailto:%s";
exit and save. By itself this appears to do noting. The next thing also appears to not work without this.

menu->Default Applications

choose "other" for mail reader and paste in the following

Code: Select all

flatpak run eu.betterbird.Betterbird "mailto:%s"
Do not include the %B here. That will blank everything out.

REBOOT

Open your browser and go to the Betterbird support page. Find the "Contact us" link in the text.



Image

Click it. You should see an email edit window open with To and Subject filled in.

User avatar
siamhie
Global Moderator
Posts: 3588
Joined: Fri Aug 20, 2021 5:45 pm

Re: How to use Betterbird flatpak as default email client

#2 Post by siamhie »

Well done and thanks for the tip for others who may be using Betterbird. :number1:
This is my Fluxbox . There are many others like it, but this one is mine. My Fluxbox is my best friend. It is my life.
I must master it as I must master my life. Without me, my Fluxbox is useless. Without my Fluxbox, I am useless.

User avatar
dreamer
Posts: 943
Joined: Sun Oct 15, 2017 11:34 am

Re: How to use Betterbird flatpak as default email client

#3 Post by dreamer »

seasoned_geek wrote: Sun Aug 03, 2025 6:35 pm After you install the flatpak, open a terminal

Code: Select all

sudo nano /usr/share/xfce4/helpers/betterbird.desktop
paste in

Code: Select all

[Desktop Entry]
Version=1.0
Icon=betterbird
Type=X-XFCE-Helper
Name[am]=Betterbird
Name=Betterbird
Keywords=email;mail;inbox;message;communication;
StartupNotify=false
X-XFCE-Binaries=flatpak run eu.betterbird.Betterbird;
X-XFCE-Category=MailReader
X-XFCE-Commands=%B;
X-XFCE-CommandsWithParameter=/usr/lib/xfce4/xfce4-compose-mail flatpak run eu.betterbird.Betterbird %B "mailto:%s";/usr/lib/xfce4/xfce4-compose-mail flatpak run eu.betterbird.Betterbird %B "mailto:%s";
exit and save. By itself this appears to do noting. The next thing also appears to not work without this.

menu->Default Applications

choose "other" for mail reader and paste in the following

Code: Select all

flatpak run eu.betterbird.Betterbird "mailto:%s"
Do not include the %B here. That will blank everything out.

REBOOT

Open your browser and go to the Betterbird support page. Find the "Contact us" link in the text.



Image

Click it. You should see an email edit window open with To and Subject filled in.
As an XFCE user I had to quote your post. Thanks for taking the time to figuring out XFCE Default Applications GUI. That GUI is probably the worst thing about XFCE in my opinion.

Here is how you do the same thing in Cinnamon (just tested) and many other desktop environments:
Install Betterbird Flatpak (set up an email account) and choose it as your default email application from Preferred Applications.

Then click the link you posted and confirm mailto functionality works: "You should see an email edit window open with To and Subject filled in."

User avatar
b3ta
Posts: 83
Joined: Mon Aug 20, 2018 4:34 am

Re: How to use Betterbird flatpak as default email client

#4 Post by b3ta »

Thank you for that, @seasoned_geek; very useful.

The quality of Xfce's documentation has long been a thorn in my side. Last night I also had a look at some of the files in /usr/share/xfce4/helpers, but it would be great to have a documentation reference for more of this stuff.

I didn't know about Betterbird, and will definitely move to that when I redo my laptop (soon, owing to Debian stopping its backports for the release I'm on): I am tired of struggling with Thunderbird over things like font size, date representation, and changing my fonts in the middle of emails without its editor showing it. Not to mention (well, I am) the developers apparently believing that a time-out provides a sufficient safety margin to delete everything you've marked in a folder that you want to move from that folder to another instead of waiting until the move is complete.

User avatar
RedGreen925
Posts: 35
Joined: Sat Feb 01, 2025 3:21 pm

Re: How to use Betterbird flatpak as default email client

#5 Post by RedGreen925 »

b3ta wrote: Mon Aug 04, 2025 12:03 pm

I didn't know about Betterbird, and will definitely move to that when I redo my laptop (soon, owing to Debian stopping its backports for the release I'm on):
I hear about it few years ago, I use the .tar.bz2 you can download from their website in my ~/bin directory it is self contained so no unnecessary extra crud involved in running it. If the desktop you use respects the standard desktop file for launching applications from its menu then this will work on any such one of them. I use it on my Debian and Devuan both systemd free systems.

Code: Select all

zeus@9600k:~$ cat .local/share/applications/betterbird.desktop 
[Desktop Entry]
Encoding=UTF-8
Version=1.0
Type=Application
Terminal=false
Name=Betterbird
Categories=Network;Email;News;Office;
MimeType=message/rfc822;x-scheme-handler/mailto;text/calendar;text/x-vcard;
Exec=/home/zeus/bin/betterbird/betterbird-bin
Icon=/home/zeus/bin/betterbird/chrome/icons/default/default256.png

Post Reply

Return to “Tips & Tricks by users (not for help)”