Author |
Message |
norgo

Joined: 13 Nov 2015 Posts: 389 Location: Germany
|
Posted: Wed 20 Dec 2017, 11:02 Post subject:
Defaults.list / wrong application defined (Solved) Subject description: Wrong default application for PDF files defined |
|
/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: |
--- 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
Last edited by norgo on Sat 24 Mar 2018, 04:32; edited 1 time in total
|
Back to top
|
|
 |
tallboy

Joined: 21 Sep 2010 Posts: 1767 Location: Drøbak, Norway
|
Posted: Thu 21 Dec 2017, 02:39 Post subject:
|
|
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
_________________ True freedom is a live Puppy on a multisession CD/DVD.
|
Back to top
|
|
 |
phat7
Joined: 05 Jun 2015 Posts: 184
|
Posted: Thu 21 Dec 2017, 05:30 Post subject:
Re: defaults.list / wrong application defined Subject description: wrong default application for PDF files defined |
|
norgo wrote: | correct entry should be application/pdf=defaultpdfviewer.desktop | defaultpdfviewer.desktop => /usr/local/bin/defaultpdfviewer => epdfview
|
Back to top
|
|
 |
tallboy

Joined: 21 Sep 2010 Posts: 1767 Location: Drøbak, Norway
|
Posted: Thu 21 Dec 2017, 20:33 Post subject:
|
|
No, no, no, no, phat7! I am sure that what you really meant is:
defaultpdfviewer.desktop => /usr/local/bin/defaultpdfviewer => xpdf
_________________ True freedom is a live Puppy on a multisession CD/DVD.
|
Back to top
|
|
 |
phat7
Joined: 05 Jun 2015 Posts: 184
|
Posted: Thu 21 Dec 2017, 20:52 Post subject:
|
|
It's not what I meant, it's what I saw. You didn't follow norgo's link, did you?
|
Back to top
|
|
 |
tallboy

Joined: 21 Sep 2010 Posts: 1767 Location: Drøbak, Norway
|
Posted: Fri 22 Dec 2017, 04:15 Post subject:
|
|
Yes, I did just now, the post kind of drowned in colored text, so I missed it the first time!
It was the same default application choise in Lucid too, same source I guess.
_________________ True freedom is a live Puppy on a multisession CD/DVD.
|
Back to top
|
|
 |
norgo

Joined: 13 Nov 2015 Posts: 389 Location: Germany
|
Posted: Fri 22 Dec 2017, 04:53 Post subject:
Re: defaults.list / wrong application defined Subject description: wrong default application for PDF files defined |
|
phat7 wrote: | defaultpdfviewer.desktop => /usr/local/bin/defaultpdfviewer => epdfview |
consider that /usr/local/bin/defaultpdfviewer becomes overwritten by pinstall.sh
|
Back to top
|
|
 |
norgo

Joined: 13 Nov 2015 Posts: 389 Location: Germany
|
Posted: Sat 24 Mar 2018, 04:31 Post subject:
|
|
fixed, see commit 63da866
thanks to wdlkmpx
|
Back to top
|
|
 |
|