all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: brendan.tildesley@openmailbox.org
To: ludo@gnu.org
Subject: Re: MIME database
Date: Wed, 29 Nov 2017 08:19:35 -0000	[thread overview]
Message-ID: <20171129081936.2412D4E0031@mta-1.openmailbox.og> (raw)

ludo@gnu.org (Ludovic Courtès) writes:

> Hello,
>
> (Moving the discussions to guix-devel.)
>
> brendan.tildesley@openmailbox.org skribis:
>
[...]
>> This makes me feel that it's desirable for us to also tweak mimedata to make
>> it more sensible -- Pdf's should open in a pdf reader before it opens in an
>> image editor. It seems unrealistic to only tweak upstream projects to make all
>> this mimedata mesh together perfectly to produce ideal default behaviour.
>
> Right, so I think the immediate course of action here would be to patch
> GIMP’s MIME data so that it does not register as a PDF viewer.
>
> If we stumble upon other issues like that, we can fix them similarly.
>
> How does that sound?
>
Well, in my interpretation, the mime data just says that it's can handle PDF's, not necessarily that it's at PDF reader. If a PDF is opened with Gimp, it shows an interface for importing it as images, so I don't feel like it's a mistake for Gimp to mark it's self as being able to handle PDF's. If we make actual PDF readers have priority over Gimp somehow, Gimp will still be under the list of suggested applications when one right clicks on a *.pdf file in a file manager, but making this change would completely remove Gimp as an option. 

From the perspective of Gimp developers, they have no power to make Gimp's mimedata cause ideal behaviour on, because mimedata is simply not very versatile, so listing Gimp as being able to handle application/pdf isn't a mistake on their part.

The best solution might be to create mimeapps.list files that take precedence over mimeinfo.cache. I'm not sure which package it should go in though.

             reply	other threads:[~2017-11-29  8:19 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-29  8:19 brendan.tildesley [this message]
  -- strict thread matches above, loose matches on Subject: below --
2017-11-29 11:51 MIME database brendan.tildesley
2017-11-29 11:49 brendan.tildesley
2017-11-29  9:12 brendan.tildesley
2017-11-27 12:50 [bug#29472] [patch 0/4] Add perl-file-mimeinfo and dependencies; add it as an input to xdg-utils brendan.tildesley
2017-11-28  9:24 ` MIME database Ludovic Courtès
2017-11-28 10:01   ` julien lepiller
2017-11-28 11:23     ` Alex Vong
2017-11-28 12:57       ` Andy Wingo
2017-11-30  9:54         ` Ludovic Courtès
2017-12-01 15:05         ` Ludovic Courtès
2017-11-28 10:13   ` Andy Wingo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20171129081936.2412D4E0031@mta-1.openmailbox.og \
    --to=brendan.tildesley@openmailbox.org \
    --cc=ludo@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.