guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#29472] [patch 0/4] Add perl-file-mimeinfo and dependencies; add it


From: brendan . tildesley
Subject: [bug#29472] [patch 0/4] Add perl-file-mimeinfo and dependencies; add it as an input to xdg-utils
Date: Mon, 27 Nov 2017 12:50:53 -0000
User-agent: OpenMailBox Webmail

I was wondering why my pdf documents were getting opened in Gimp by default 
instead of Evince, so I investigated xdg-open and found it uses mimeopen as a 
fallback, and packaged it. Turns out it didn't make a difference and the issue 
was simply that the generated mimedata.cache in xdg-mime-database had Gimp 
listed before Evince.

I was also I little confused that xdg-mime-database produces so many conflicts 
with shared-mime-info. It's role appears to be to update the data in 
shared-mime-data and have it overshadow the original data when  conflicts are 
resolved during profile generation. Looks ugly seeing all those conflicts 
though.

I had a look at Fedora's version. They just have a single shared-mime-data 
package that runs update-mime-database, but also they add a few changes to make 
Evince open pdf's instead of Gimp, among other changes.

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.

I rambled on a bit too much... Here are some patches that add perl-file-mimeinfo

reply via email to

[Prev in Thread] Current Thread [Next in Thread]