Within Alpine, if I hit enter on a PDF attachment, my system brings up Okular. I would prefer if it brought up Evince, because that's the PDF viewer I normally use. How can I do that? This is clearly a MIME issue, but I'm not sure how to (re)-configure things to make this work.
/etc/mailcap is probably relevant. it has bucketloads of stuff in it, and mentions both Okular and Evince in the context of PDF without obviously preferring one over the other.
UPDATE: Actually, this answer to an earlier question of mine might do the trick as well. Need to check.
UPDATE 2: I ran
xdg-mime default evince.desktop application/pdf
and now I see an entry in ~/.local/share/applications/mimeapps.list
application/pdf=evince.desktop
under both the sections "[Added Associations]" and "[Default Applications]", but Alpine is still using Okular. (I also restarted Alpine.) What am I missing?