Package: evince-common Version: 3.30.2-3 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. -- System Information: Debian Release: 10.0 APT prefers stable APT policy: (500, 'stable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.19.0-5-amd64 (SMP w/8 CPU cores) Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE=fr_FR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled -- no debconf information