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.
Here's the contents of the .desktop file:
[Desktop Entry]
Name=Mailspring
Comment=The best email app for people and teams at work
GenericName=Mailspring
Exec=env BAMF_DESKTOP_FILE_HINT=/var/lib/snapd/desktop/applications/mailspring_mailspring.desktop /snap/bin/mailspring %U
Icon=/snap/mailspring/309/usr/share/pixmaps/mailspring.png
Type=Application
StartupNotify=true
StartupWMClass=Mailspring
Categories=GNOME;GTK;Network;Email;
Keywords=email;internet;
MimeType=x-scheme-handler/mailto;x-scheme-handler/mailspring;
MimeType=x-scheme-handler/mailto;x-scheme-handler/mailspring;
?.desktop
. Yes, it does indeed include that line.