Page 1 of 1

Defaults.list / wrong application defined (Solved)

Posted: Wed 20 Dec 2017, 15:02
by norgo
/usr/share/applications/defaults.list

contains the entry application/pdf=epdfview.desktop for PDF files
This leads to malfunction if an application try to use the defined default application for PDF files ( e.g. Seamonkey under Slacko, because epdfview is not installed )

correct entry should be application/pdf=defaultpdfviewer.desktop

Code: Select all

--- old/defaults.list	2017-12-20 14:44:30.935552590 +0100
+++ new/defaults.list	2017-12-20 12:11:24.000000000 +0100
@@ -2,7 +2,7 @@
 application/msword=defaultwordprocessor.desktop
 application/notecase-enc=notecase.desktop
 application/notecase-plain=notecase.desktop
-application/pdf=epdfview.desktop
+application/pdf=defaultpdfviewer.desktop
 application/pet=petget.desktop
 application/postscript=ghostview.desktop
 application/rtf=defaultwordprocessor.desktop
 
@mavrothal
sorry I haven't a github account yet :oops:

Posted: Thu 21 Dec 2017, 06:39
by tallboy
Which puppy is that?
In Lucid 5.2.8.7, I have changed to xpdf in /etc/mailcap, /usr/bin/defaulthandler and /usr/local/PupApps/defaultapps/pdfreader.

tallboy

Re: defaults.list / wrong application defined

Posted: Thu 21 Dec 2017, 09:30
by phat7
norgo wrote:correct entry should be application/pdf=defaultpdfviewer.desktop
:lol: defaultpdfviewer.desktop => /usr/local/bin/defaultpdfviewer => epdfview

Posted: Fri 22 Dec 2017, 00:33
by tallboy
No, no, no, no, phat7! :shock: I am sure that what you really meant is:
defaultpdfviewer.desktop => /usr/local/bin/defaultpdfviewer => xpdf :lol:

Posted: Fri 22 Dec 2017, 00:52
by phat7
It's not what I meant, it's what I saw. You didn't follow norgo's link, did you?

Posted: Fri 22 Dec 2017, 08:15
by tallboy
Yes, I did just now, the post kind of drowned in colored text, so I missed it the first time! :oops:
It was the same default application choise in Lucid too, same source I guess.

Re: defaults.list / wrong application defined

Posted: Fri 22 Dec 2017, 08:53
by norgo
phat7 wrote: :lol: defaultpdfviewer.desktop => /usr/local/bin/defaultpdfviewer => epdfview
consider that /usr/local/bin/defaultpdfviewer becomes overwritten by pinstall.sh

Posted: Sat 24 Mar 2018, 08:31
by norgo
fixed, see commit 63da866
thanks to wdlkmpx