I installed the snap version of Mailspring (using Snaptastic), but during install the
.desktop file for some reason wasn't copied to
~/.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:
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