Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Wed 23 May 2018, 22:36
All times are UTC - 4
 Forum index » House Training » Bugs ( Submit bugs )
Defaults.list / wrong application defined (Solved)
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [8 Posts]  
Author Message
norgo


Joined: 13 Nov 2015
Posts: 222
Location: Germany

PostPosted: 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 Embarassed

Last edited by norgo on Sat 24 Mar 2018, 04:32; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website 
tallboy


Joined: 21 Sep 2010
Posts: 971
Location: Oslo, Norway

PostPosted: 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
View user's profile Send private message 
phat7

Joined: 05 Jun 2015
Posts: 107

PostPosted: 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
Laughing defaultpdfviewer.desktop => /usr/local/bin/defaultpdfviewer => epdfview
Back to top
View user's profile Send private message 
tallboy


Joined: 21 Sep 2010
Posts: 971
Location: Oslo, Norway

PostPosted: Thu 21 Dec 2017, 20:33    Post subject:  

No, no, no, no, phat7! Shocked I am sure that what you really meant is:
defaultpdfviewer.desktop => /usr/local/bin/defaultpdfviewer => xpdf Laughing

_________________
True freedom is a live Puppy on a multisession CD/DVD.
Back to top
View user's profile Send private message 
phat7

Joined: 05 Jun 2015
Posts: 107

PostPosted: 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
View user's profile Send private message 
tallboy


Joined: 21 Sep 2010
Posts: 971
Location: Oslo, Norway

PostPosted: 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! Embarassed
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
View user's profile Send private message 
norgo


Joined: 13 Nov 2015
Posts: 222
Location: Germany

PostPosted: 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:
Laughing defaultpdfviewer.desktop => /usr/local/bin/defaultpdfviewer => epdfview

consider that /usr/local/bin/defaultpdfviewer becomes overwritten by pinstall.sh
Back to top
View user's profile Send private message Visit poster's website 
norgo


Joined: 13 Nov 2015
Posts: 222
Location: Germany

PostPosted: Sat 24 Mar 2018, 04:31    Post subject:  

fixed, see commit 63da866
thanks to wdlkmpx
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 1 of 1 [8 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Bugs ( Submit bugs )
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0359s ][ Queries: 11 (0.0067s) ][ GZIP on ]