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 Fri 20 Jul 2018, 14:44
All times are UTC - 4
 Forum index » House Training » HOWTO ( Solutions )
Using Firefox (PDF.js) as default pdf viewer
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [9 Posts]  
Author Message
mcewanw

Joined: 16 Aug 2007
Posts: 3198

PostPosted: Sat 01 Apr 2017, 05:00    Post subject:  Using Firefox (PDF.js) as default pdf viewer
Subject description: forget old inadequate non-supported epdfviewer
 

Details here:

http://www.murga-linux.com/puppy/viewtopic.php?p=949822#949822
Quote:
Since around version 19, firefox has internal pdf viewer (PDF.js). To activate it just go to Preferences -> Applications. Then click on the line for Portable Document Format (PDF) and use provided drop down arrow to select "Firefox Preview" instead of epdfviewer (default) or whatever.

...You can also then drop local pdf files onto Firefox and they will open in Firefox. Works well. In fact I've right-clicked pdf file in PCmanFM and chosen to "Open With...": Firefox. That actually makes Firefox the default pdf viewer for all pdf files (online and local). Associating files using PCmanFM "Open With..." automatically modifies the pdf mine-type entry in $HOME/.config/mimeapps.list in XenialDog32. On some other distributions that file can be elsewhere: for example, in $HOME/.local/share/applications.


William
Back to top
View user's profile Send private message Visit poster's website 
Galbi


Joined: 21 Sep 2011
Posts: 1035
Location: Bs.As. - Argentina.

PostPosted: Sat 01 Apr 2017, 10:01    Post subject:  

The PDF.js online demo here:
https://mozilla.github.io/pdf.js/web/viewer.html
allows to load a locally stored PDF file. Also printing it.

Works fine thou you need internet connection.

Saludos.

_________________
Remember: "pecunia pecuniam parere non potest"
Back to top
View user's profile Send private message 
watchdog

Joined: 28 Sep 2012
Posts: 1600
Location: Italy

PostPosted: Sat 01 Apr 2017, 10:21    Post subject:  

This workaround does not work for me using palemoon.
Back to top
View user's profile Send private message 
mcewanw

Joined: 16 Aug 2007
Posts: 3198

PostPosted: Sat 01 Apr 2017, 19:21    Post subject:  

Sorry, I don't currently have Palemoon to try it. I'll check later. You certainly don't need an internet connection to use Firefox as a pdf reader for local pdf files. Does Palemoon come with PDF.js (i.e. can it open online pdf files without using an external app?

William
Back to top
View user's profile Send private message Visit poster's website 
mcewanw

Joined: 16 Aug 2007
Posts: 3198

PostPosted: Sat 01 Apr 2017, 19:28    Post subject:  

watchdog wrote:
This workaround does not work for me using palemoon.


A quick check on Palemoon site suggests to me that you may need a PDF.js plugin to have inbuilt local and online pdf viewing in Palemoon, which is available (code based on PDF.js anyway):

https://addons.palemoon.org/addon/moon-pdf-viewer/

Yes, just read in Palemoon release notes than pdf.js code was removed in Nov 2016 from main browser (ver 27), because their pdf.js code wasn't being maintained. That isn't the case for official pdf.js from mozilla, however, it is constantly being updated/maintained - last pdf.js github entry just 3 days ago and I haven't come across a pdf yet that it can't display correctly.

William
Back to top
View user's profile Send private message Visit poster's website 
Burn_IT


Joined: 12 Aug 2006
Posts: 3144
Location: Tamworth UK

PostPosted: Sun 02 Apr 2017, 06:31    Post subject:  

I'm not sure that is a good idea.
Firefox add-ons are going to be restricted soon.
I thought PDF viewing was being integrated into FF anyway and needs no add-on
A stand alone viewer will be FAR smaller and not need a risky internet connection should there be any nasties in the PDF.

_________________
"Just think of it as leaving early to avoid the rush" - T Pratchett
Back to top
View user's profile Send private message 
mcewanw

Joined: 16 Aug 2007
Posts: 3198

PostPosted: Sun 02 Apr 2017, 07:41    Post subject:  

I give up.
Back to top
View user's profile Send private message Visit poster's website 
Semme


Joined: 07 Aug 2011
Posts: 7829
Location: World_Hub

PostPosted: Sun 02 Apr 2017, 08:54    Post subject:  

PM prefs, apps, pdf, action.. "Use Master PDF Editor" >> https://code-industry.net/free-pdf-editor/

Watchdog, which viewer have you found to have satisfactory, low resource rendering with those dated pups?


_________________
>>> Living with the immediacy of death helps you sort out your priorities. It helps you live a life less trivial <<<
Back to top
View user's profile Send private message 
watchdog

Joined: 28 Sep 2012
Posts: 1600
Location: Italy

PostPosted: Sun 02 Apr 2017, 13:13    Post subject:  

I have always used the default pdf viewer in old puppies. When in troubles with some pdf I use libreoffice. Seldom I use master pdf editor in more recent puppies.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [9 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » HOWTO ( Solutions )
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.0411s ][ Queries: 11 (0.0062s) ][ GZIP on ]