Oh yes, this was reported by other people (though not in any useful way)
at https://askubuntu.com/questions/1118437/promote-evince-in-etc-
mailcap-order

Thanks

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to evince in Ubuntu.
https://bugs.launchpad.net/bugs/1893277

Title:
  please provide an evince mailcap file

Status in evince package in Ubuntu:
  New

Bug description:
  Hello; when I try to view PDFs from mutt, gimp is selected. Gimp is a
  very poor choice for viewing PDFs. I have evince installed, but evince
  is listed after gimp in my /etc/mailcap file. I tried to fix this by
  using the /etc/mailcap.order file but this failed:

  $ grep application/pdf /etc/mailcap
  application/pdf; gimp-2.10 %s; test=test -n "$DISPLAY"
  application/pdf; evince %s; test=test -n "$DISPLAY"
  $ cat /etc/mailcap.order
  
###############################################################################
  #
  #  Mailcap.order:  This file allows a system-wide override of MIME program
  #  preferences.  See the mailcap.order(5) man page for more information.
  #
  #  After modifying this file, be sure to run /usr/sbin/update-mime (as root)
  #  to propagate the changes into the /etc/mailcap file.
  #
  
################################################################################

  qiv:image/*
  evince:application/pdf
  $ sudo update-mime
  Warning: package evince listed in /etc/mailcap.order does not have mailcap 
entries.
  $ dpkg -L evince | grep -i mailcap
  $ 

  Thanks

  ProblemType: Bug
  DistroRelease: Ubuntu 20.04
  Package: evince 3.36.7-0ubuntu1
  ProcVersionSignature: Ubuntu 5.4.0-42.46-generic 5.4.44
  Uname: Linux 5.4.0-42-generic x86_64
  NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
  ApportVersion: 2.20.11-0ubuntu27.6
  Architecture: amd64
  CasperMD5CheckResult: skip
  Date: Thu Aug 27 22:02:01 2020
  ProcEnviron:
   TERM=rxvt-unicode-256color
   PATH=(custom, no user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: evince
  UpgradeStatus: Upgraded to focal on 2020-01-24 (216 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/evince/+bug/1893277/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to