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 Tue 02 Sep 2014, 10:19
All times are UTC - 4
 Forum index » Off-Topic Area » Programming
I want to request a bookmark app for PDF reader.
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 2 [16 Posts]   Goto page: 1, 2 Next

Would this be popular?
Yes
75%
 75%  [ 3 ]
No
25%
 25%  [ 1 ]
Total Votes : 4

Author Message
Whusmaname


Joined: 29 Aug 2011
Posts: 37
Location: Narnia - as in Narnia bisniss!!!

PostPosted: Mon 05 Sep 2011, 02:55    Post subject:  I want to request a bookmark app for PDF reader.  

What programming language would work best to open Xpdf on the page I last read in the PDF I open through the bookmark icon on my desktop?

I don't have the icon yet either and I want to either fill in a textbox to say what page I'm on and click the ok button to save, or have it save automatically... is it possible?

_________________
Of course I will lead the Horde... as long as I get to do it from upwind... 'cos they frickin' REEK!!!

Rogue rules:
  1. Pillage, THEN burn.
  2. If it ain't bolted down, then it's fair game.

Back to top
View user's profile Send private message 
Flash
Official Dog Handler


Joined: 04 May 2005
Posts: 11034
Location: Arizona USA

PostPosted: Mon 05 Sep 2011, 10:27    Post subject:  

Most pdf readers have a box that shows the page you are on. You can also enter a page number in that window and go straight to that page. Just out of curiosity, would your bookmark app remember the number that was in that window when you last closed the pdf file?
Back to top
View user's profile Send private message 
Whusmaname


Joined: 29 Aug 2011
Posts: 37
Location: Narnia - as in Narnia bisniss!!!

PostPosted: Tue 06 Sep 2011, 06:00    Post subject:  

I'm assuming so... but I don't know any programming languages, so I don't know which one would be able to grab that info.

What I want to do is make an icon that you only need to click on once, which brings up an instance of the pdf-reader with the book you were reading open at the page you closed it at.

Obviously the first time you click it, it'll give you the option to enter the data regarding the book you're currently reading in PDF, and it'll then subsequently open that book at the place you closed it the next time you click on the icon, or you can choose a pdf to read via the load function in this interface via a list that automatically gets filled.
In other words, it shows you in the list which books you've read in PDF format, in whatever order you set it to (IE: in the order you opened them in, or in alphabetical order, etc...)

_________________
Of course I will lead the Horde... as long as I get to do it from upwind... 'cos they frickin' REEK!!!

Rogue rules:
  1. Pillage, THEN burn.
  2. If it ain't bolted down, then it's fair game.

Back to top
View user's profile Send private message 
aarf

Joined: 30 Aug 2007
Posts: 3620
Location: around the bend

PostPosted: Tue 13 Sep 2011, 04:08    Post subject:  

Sounds good. Also ask for this modification at the website of the PDF reader of your choice.
_________________

ASUS EeePC Flare series 1025C 4x Intel Atom N2800 @ 1.86GHz RAM 2063MB 800x600p ATA 320G
_-¤-_

<º))))><.¸¸.•´¯`•.#.•´¯`•.¸¸. ><((((º>
Back to top
View user's profile Send private message Visit poster's website 
Whusmaname


Joined: 29 Aug 2011
Posts: 37
Location: Narnia - as in Narnia bisniss!!!

PostPosted: Tue 13 Sep 2011, 04:16    Post subject:  

Ooh... good idea, aarf. Which is your favorite PDF reader? I'm okay with the one that came on the LiveCD ISO I downloaded, but I would have liked the option of changing the text- and background-colours, like I can do with Adobe Reader. Is there a version of Adobe (something similar) for Linux?

Edit: Nevermind... I found it here.

_________________
Of course I will lead the Horde... as long as I get to do it from upwind... 'cos they frickin' REEK!!!

Rogue rules:
  1. Pillage, THEN burn.
  2. If it ain't bolted down, then it's fair game.

Back to top
View user's profile Send private message 
aarf

Joined: 30 Aug 2007
Posts: 3620
Location: around the bend

PostPosted: Tue 13 Sep 2011, 05:56    Post subject:  

Whusmaname wrote:
Ooh... good idea, aarf. Which is your favorite PDF reader? I'm okay with the one that came on the LiveCD ISO I downloaded, but I would have liked the option of changing the text- and background-colours, like I can do with Adobe Reader. Is there a version of Adobe (something similar) for Linux?

Edit: Nevermind... I found it here.


foxit reader was my preference over adobe when we had that, mainly for speed and smaller size. but now i just use whatever is in the puppy i am using without paying too much attention to its name. haven't tried it but there should be some adobe pets or sfs around if you cant get the adobe site download to work. also should be foxit reader pets at least from long ago.

_________________

ASUS EeePC Flare series 1025C 4x Intel Atom N2800 @ 1.86GHz RAM 2063MB 800x600p ATA 320G
_-¤-_

<º))))><.¸¸.•´¯`•.#.•´¯`•.¸¸. ><((((º>
Back to top
View user's profile Send private message Visit poster's website 
disciple

Joined: 20 May 2006
Posts: 6430
Location: Auckland, New Zealand

PostPosted: Tue 13 Sep 2011, 06:15    Post subject:  

I'm actually sure I've seen a pdf reader with the feature you want... I can't remember which one though, sorry.
_________________
DEATH TO SPREADSHEETS
- - -
Classic Puppy quotes
- - -
Beware the demented serfers!
Back to top
View user's profile Send private message 
disciple

Joined: 20 May 2006
Posts: 6430
Location: Auckland, New Zealand

PostPosted: Wed 21 Sep 2011, 06:14    Post subject:  

disciple wrote:
I'm actually sure I've seen a pdf reader with the feature you want... I can't remember which one though, sorry.

Ah. Maybe it was Zathura. It's supposed to support creating bookmarks, anyway (although I'm not sure whether that means keeping its own list of bookmarks somewhere, or modifying the actual pdf to add bookmarks to it).

_________________
DEATH TO SPREADSHEETS
- - -
Classic Puppy quotes
- - -
Beware the demented serfers!
Back to top
View user's profile Send private message 
don570


Joined: 10 Mar 2010
Posts: 3261
Location: Ontario

PostPosted: Wed 21 Sep 2011, 14:33    Post subject: Zathura Bookmarks  

When I am using Zathura to open a PDF, then quit and reopen
the same PDF file, the same page is shown that I was reading
previously. This is apparently a feature of Zathura.

________________________________________
Back to top
View user's profile Send private message 
Whusmaname


Joined: 29 Aug 2011
Posts: 37
Location: Narnia - as in Narnia bisniss!!!

PostPosted: Wed 21 Sep 2011, 14:46    Post subject:  

Will Zathura work on a Compaq Armada 7400 (Pentium II) with 64megs of RAM (60MB (35MB used) according to Summary - System Information)?
_________________
Of course I will lead the Horde... as long as I get to do it from upwind... 'cos they frickin' REEK!!!

Rogue rules:
  1. Pillage, THEN burn.
  2. If it ain't bolted down, then it's fair game.

Back to top
View user's profile Send private message 
don570


Joined: 10 Mar 2010
Posts: 3261
Location: Ontario

PostPosted: Wed 21 Sep 2011, 14:58    Post subject:  

I think it can be installed in any Puppy
(and any computer with 128megs)
64megs is stretching it thin!!!
but I use it in recent Puppies and a 256 megabyte machine
http://www.murga-linux.com/puppy/viewtopic.php?search_id=1251744077&t=70032

If you're a new Puppy user
I would recommend Barry Kauler's most recent
Wary Puppy 5.1.99
http://distro.ibiblio.org/quirky/test/wary5.1.99/

and then install right-click-5.2.5.
http://www.murga-linux.com/puppy/viewtopic.php?t=67013
This will automatically install zathura for you
and lots of other goodies.

___________________________________________________
Back to top
View user's profile Send private message 
technosaurus


Joined: 18 May 2008
Posts: 4348

PostPosted: Wed 21 Sep 2011, 16:09    Post subject:  

even lighter weight than zathura or epdfview is mupdf (only ~10mb ram usage)
you can open mupdf to any page by using
mupdf some.pdf page#

available here:
http://www.murga-linux.com/puppy/viewtopic.php?t=61922

there is no bookmark file or even a gui for mupdf though ... just keyboard shortcuts (see vlc-gtk if you want to adapt a gui wrapper for it)

the next version of mupdf will have support for showing the page #
if anyone wants to patch v0.9, here is the commit:
http://git.ghostscript.com/?p=mupdf.git;a=commit;h=5e4ab352ecb523002221624ed71fb6bf4366c862

_________________
Web Programming - Pet Packaging 100 & 101

Last edited by technosaurus on Wed 21 Sep 2011, 18:10; edited 2 times in total
Back to top
View user's profile Send private message 
Whusmaname


Joined: 29 Aug 2011
Posts: 37
Location: Narnia - as in Narnia bisniss!!!

PostPosted: Wed 21 Sep 2011, 16:20    Post subject:  

@don570: I'm pretty happy with the fact that I finally got LuPu 511 installed (Frugal, but that's okay too) on this machine, since I struggled so much to get any flavour of Linux onto it, that I'm gonna stick with what I've got unless it gives me trouble...

Yes, I am a n00b on Linux, which is why this frugal install is so good for me. As for running the latest stuff, I don't even connect to the internet with this laptop, 'cos it just doesn't have the power to keep up.

@technosaurus: So will I be able to run the bookmark icon I'm requesting, to open mupdf and get it to go directly to the page I was on, if I have a GUI that I'll (probably) have to edit on exiting the PDF I'm viewing?

_________________
Of course I will lead the Horde... as long as I get to do it from upwind... 'cos they frickin' REEK!!!

Rogue rules:
  1. Pillage, THEN burn.
  2. If it ain't bolted down, then it's fair game.

Back to top
View user's profile Send private message 
technosaurus


Joined: 18 May 2008
Posts: 4348

PostPosted: Wed 21 Sep 2011, 17:44    Post subject:  

yes, something like this, but with more comments and easier to modify
Code:
#!/bin/sh
[ ! -d ${HOME}/.bookmarks ] && mkdir ${HOME}/.bookmarks
BKMK=`basename ${1%%.*}.bkmk`
[ -f ${HOME}/.bookmarks/${BKMK} ] && mupdf ${1} `cat ${HOME}/.bookmarks/${BKMK}` || mupdf ${1}
echo `Xdialog --stdout --inputbox "Enter the page # you want to return to:" 0 0` >${HOME}/.bookmarks/${BKMK}


a 458kb tarball of the 0.9.X git version with page number support is here:
http://murga-linux.com/puppy/viewtopic.php?mode=attach&id=46630

it also plugs some memory leaks and now runs in <9mb of ram
to get the page number just use shift+p

the only dependencies are (nothing large like poppler or gtk)
    libfreetype.so.6
    libjpeg.so.7
    libz.so.1
    libm.so.6
    libX11.so.6
    libXext.so.6
    libc.so.6

_________________
Web Programming - Pet Packaging 100 & 101
Back to top
View user's profile Send private message 
disciple

Joined: 20 May 2006
Posts: 6430
Location: Auckland, New Zealand

PostPosted: Thu 22 Sep 2011, 00:50    Post subject:  

Whusmaname wrote:
Will Zathura work on a Compaq Armada 7400 (Pentium II) with 64megs of RAM (60MB (35MB used) according to Summary - System Information)?

Does epdfview work OK? I don't imagine zathura will be much heavier.

_________________
DEATH TO SPREADSHEETS
- - -
Classic Puppy quotes
- - -
Beware the demented serfers!
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 2 [16 Posts]   Goto page: 1, 2 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Off-Topic Area » Programming
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.0863s ][ Queries: 14 (0.0050s) ][ GZIP on ]