- Package:
- evince-common
- Source:
- evince
- Submitter:
- Judicael Courant
- Date:
- 2019-09-30 18:21:06 UTC
- Severity:
- normal
Dear Maintainer, I would like 'see foo.pdf' to open evince (for all users). I guess mailcap.order(5) is the right place to give evince priority over other pdf readers. Unfortunately that does not work: I added the line evince:application/pdf to /etc/mailcap.order and ran update-mime (as root) and got the following warning: Warning: package evince listed in /etc/mailcap.order does not have mailcap entries. (and see foo.pdf still opens another application). Could you please add a file /usr/lib/mime/packages/evince to package evince-common with the (current) output of 'grep evince /etc/mailcap' and run update-mime in evince.postinst (or evince-common.postinst)? Adding such a file manually solved the issue for me and was the solution suggested to a similar question on askubuntu: https://askubuntu.com/questions/1118437/promote-evince-in-etc-mailcap-order Yours, J. Courant.
* Judicael Courant <judicael@jcourant.fr>, 2019-08-09, 10:07: FWIW, you should be able to make it work by using the name of the deskop file: org.gnome.Evince:application/pdf Admittedly this is neither intuitive nor (AFAIK) documented anywhere. :-/
In the mean time, someone opened #935426 asking for documentation update.