I recently upgraded to Ubuntu 18.04.1 LTS, and some files no longer open correctly in their default applications (e.g. PDF and JPG files). Instead, Colibri opens with no content. I've confirmed their default application is set correctly (Document viewer for PDFs and Shotwell Viewer for JPGs) but they still open in Colibri. I can select 'open with' and choose the default application again, and they will open correctly.

I also found Clicking links in pdfs opened with Okular opens Abiword (instead of the default browser) whih looked similar and ran kcmshell5 filetypes but everything seemed to be normal.

From command line - Open files only opens terminal instead of file browser I could check other mime-types, but I'm not sure what to look for.

What settings should I check for this default program problem?

  • What desktop environment are you using? – Bruni Nov 10 '18 at 13:49
  • @DKBose it was available in terminal via tab completion, so I figured I'd take a look. – Steve B Nov 10 '18 at 13:53
  • @Bruni It looks like I'm on GNOME 3.28.2 – Steve B Nov 10 '18 at 13:54
  • kcmshell5 is provided by kde-cli-tools which is installed if you installed any of the following: kdeconnect, plasma-workspace, plasma-desktop, kubuntu-full, kubuntu-desktop, or kscreen. – DK Bose Nov 10 '18 at 14:20
  • I resolved my issue by removing Colibri from my system. It wasn't showing up as an apt package, which I thought was weird, but I removed it from the software manager, and PDFs and JPGs now open as expected – Steve B Nov 11 '18 at 13:51

Repair PDF opening in KDE

follow this guide:


basically edit (or create if not exists):

SUDO_EDITOR=kate sudoedit /usr/share/applications/mimeapps.list

and add this block:

[Default Applications]
| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.