You are not logged in.

#1 2015-10-26 00:06:36

digitally404
Member
Registered: 2013-11-24
Posts: 14

[SOLVED] KDE file associations different between system and dolphin

My problem is that in dolphin the default application that opens an application/pdf mimetype file is GIMP and I am unable to modify it to use Okular.

From the PDF file, if I right-click > Properties > File Type Options, it opens the File Type Editor. I see two options: "GNU Image Manipulation Program" and "Okular". I remove GIMP from the list, and click "Apply". A window appears saying "Updating system configuration" with a progress bar, but I do not see anything change and it disappears shortly. I suspect nothing got modified because if I then click OK to close the File Type Editor, and I click the File Type Options button again to open File Type Editor again, I see that no changes have taken effect (i.e. GIMP and Okular are both listed, and GIMP still takes precedence).

Nevertheless, I tried another strategy.

I went to System Settings > File Associations > application/pdf. I successfully removed GIMP from the list (i.e. GIMP is permanently removed). But for whatever reason, in dolphin, I'm unable to have it actually removed (much less change the precedence order).


Any ideas on what I should try? Or why I may be experiencing this problem?

Much obliged.

Last edited by digitally404 (2015-10-27 03:15:24)

Offline

#2 2015-10-26 07:25:50

Rog131
Member
Registered: 2015-08-23
Posts: 90

Re: [SOLVED] KDE file associations different between system and dolphin

Same kind of ? : Cannot change file associations in Plasma 5.4 - https://bbs.archlinux.org/viewtopic.php?id=202636

Short:

There can be multiple configuration files to the default applications: https://wiki.archlinux.org/index.php/De … plications
Sometimes the read/write is done to the different files - a workaround is to link the configuration files.

Last edited by Rog131 (2015-10-26 07:38:49)

Offline

#3 2015-10-27 03:14:39

digitally404
Member
Registered: 2013-11-24
Posts: 14

Re: [SOLVED] KDE file associations different between system and dolphin

Thank you!

https://wiki.archlinux.org/index.php/De … plications helped.

I went through the mimeapp.list files in the same order that they are looked up. Didn't take long, turns out that my ~/.config/mimeapps.list file had the "Added" and "Default" applications set to gimp.

I modified ~/.config/mimeapps.list to the below code, followed by a reboot.

 [Added Associations]
 application/pdf=kde4-okularApplication_pdf.desktop;
 
 [Default Applications]
 application/pdf=kde4-okularApplication_pdf.desktop;

Okular is back to my default PDF application smile

Offline

Board footer

Powered by FluxBB