please provide an evince mailcap file
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
evince (Ubuntu) |
Confirmed
|
Low
|
Unassigned |
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/
# to propagate the changes into the /etc/mailcap file.
#
#######
qiv:image/*
evince:
$ sudo update-mime
Warning: package evince listed in /etc/mailcap.order does not have mailcap entries.
$ dpkg -L evince | grep -i mailcap
$ dpkg -L evince-common | grep -i mailcap
$
Thanks
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: evince 3.36.7-0ubuntu1
ProcVersionSign
Uname: Linux 5.4.0-42-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.11-0ubuntu27.6
Architecture: amd64
CasperMD5CheckR
Date: Thu Aug 27 22:02:01 2020
ProcEnviron:
TERM=rxvt-
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)
description: | updated |
Changed in evince (Ubuntu): | |
importance: | Undecided → Low |
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