I installed the snap version of Mailspring (using Snaptastic), but during install the .desktop file for some reason wasn't copied to /usr/share/applications/ or ~/.local/share/applications/ . I did that manually (to both locations) and now the icon is working and it's appearing in the Applications launcher, yet when I go to System Settings -> Applications, Mailspring isn't listed as an option under "Email Client". How can I fix this so that mailto: links go to Mailspring instead of Pantheon Mail?

When I tried the .deb version this worked flawlessly.

Mailspring option missing from Email Client menu

Mailspring appears in applications launcher

Here's the contents of the .desktop file:

[Desktop Entry]
Comment=The best email app for people and teams at work
Exec=env BAMF_DESKTOP_FILE_HINT=/var/lib/snapd/desktop/applications/mailspring_mailspring.desktop /snap/bin/mailspring %U
  • Hi mr.k99, welcome to eOS SE. Your participation is much appreciated. I have made some edits to make your question look better but your choice of words and format DO describe your problem well. Here's a little tip: When you add keywords or commands in your question, answer & comment, mark them as code. – Hasan Jan 6 at 11:56
  • What's the content of the desktop file you added? Does it include MimeType=x-scheme-handler/mailto;x-scheme-handler/mailspring;? – Ken Kinder Jan 6 at 19:58
  • I've updated the question with the contents of the .desktop. Yes, it does indeed include that line. – mr.k99 Jan 6 at 20:21

Your Answer

By clicking "Post Your Answer", you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.