Autore: Ralph Ronnquist Data: To: dng Oggetto: Re: [DNG] Ys there a way to remove Chromium PDF viewer extension???
On Fri, Oct 03, 2025 at 10:58:47AM -0400, Walter Dnes wrote: > On Fri, Oct 03, 2025 at 11:17:42AM +0100, fraser via Dng wrote
> >
> > chrome://settings/content/pdfDocuments
> >
> > change to 'download'
>
> Thank you. That's "the lesser of two evils". What I'd like in a
> perfect world is to pass PDFs to "mupdf" automatically, i.e.
>
> mupdf -I pdf-filenmae
>
> The "-I" inverts display. Instead of black font on a garish white
> background, I get white font on a dark background. I that possible?
It used to be possible to update /etc/mailcap for declaring the
handling of various document types. Unfortunately this seems to have
grown into a "forest" of competing ways of overriding, but possibly
you can get away with:
(as root) adding your handler in a file into /usr/lib/mime/packages/
and then (as root) removing /usr/share/applications/mimeinfo.cache
and then (as root) run update-mime
ans then restart your chrome browser