← Back to team overview

ubuntustudio-bugs team mailing list archive

[Bug 574342] Re: GIMP set as default pdf viewer

 

Hello. The file mimeinfo.list apparently overrides mimeinfo.cache which
seems to be recreated upon installing/upgrading packages.

Creating the following file:


[Default Applications]
application/pdf=okularApplication_pdf.desktop


as mimeinfo.list under ~/.local/share/applications/ or /usr/share/applications/ (as per user or global requirements) helped for me.

Source: https://www.ryananddebi.com/2014/09/29/linux-fixing-pdfs-
opening-in-gimp-in-firefoxzotero/ which refers to
https://wiki.debian.org/MIME

I confirm that this works for me on Kubuntu Bionic LTS with latest
updates.

-- 
You received this bug notification because you are a member of Ubuntu
Studio Bugs, which is subscribed to gimp in Ubuntu.
Matching subscriptions: Ubuntu Studio Bugs
https://bugs.launchpad.net/bugs/574342

Title:
  GIMP set as default pdf viewer

Status in gimp package in Ubuntu:
  Confirmed

Bug description:
  Binary package hint: gimp

  After installing GIMP on Lucid, GIMP became the default application to
  open PDF files, instead of evince. While GIMP can open PDF files, this
  surely is not what most people want. Please fix this.

  May be related to debian bug #525077, but I am not sure.

  In any case, /usr/share/applications/mimeinfo.cache contains
  application/pdf=gimp.desktop;evince.desktop;

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