Hallo Peter,
Am Samstag, 6. Februar 2021 schrieb phiebie@drei.at:
Am 06.Feb.2021 um 14:43 schriebst Du:
there has to be another config layer in TDE to make that happen, because my system obviously is configured to use "atril" by default.
Very interesting. No entry in the cache but kpdf comes out of the dark.
This works from inside kmail, krusader, konqueror and probably all TDE apps. It is configured in TDE Control Center -> TDE Components -> File Associations …
If the line "application/pdf=kpdf.desktop" is in mimeinfo.cache under $HOME it should override the entry in the systemwide mimeinfo.cache
I'll give that a try.
It's "should" like: "I think it should", concluded from the UNIX principle that configs in $HOME override configs in /etc/*. I haven't tested that.
Is there a possibility to add in the installscript of kpdf the same mechanism as in chrome and draw - a delete/replace statement?
What would be achieved by that? You'd have to reinstall or dpkg-reconfigure kpdf
No. See your entry above. Atril has somewhere somehow a mechanism, that withstands the attack of libreoffice to get deleted! And that same mechanism would be very welcome in kpdf.
ACK. The pre- and post-install scripts need to be investigated…
Cheers, Stefan