Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Library Management

Notices

Reply
 
Thread Tools Search this Thread
Old 11-27-2010, 11:15 AM   #16
kiwidude
Calibre Plugins Developer
kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.
 
Posts: 4,637
Karma: 2162064
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
Quote:
Originally Posted by Starson17 View Post
I agree. If you have some code, so much the better.
Ok, patch complete and added to the tracker incident above. Up to the Calibre gurus if/when this gets deployed of course but it's there for anyone else running from source.
kiwidude is offline   Reply With Quote
Old 11-27-2010, 11:27 AM   #17
banjomike
Addict
banjomike ought to be getting tired of karma fortunes by now.banjomike ought to be getting tired of karma fortunes by now.banjomike ought to be getting tired of karma fortunes by now.banjomike ought to be getting tired of karma fortunes by now.banjomike ought to be getting tired of karma fortunes by now.banjomike ought to be getting tired of karma fortunes by now.banjomike ought to be getting tired of karma fortunes by now.banjomike ought to be getting tired of karma fortunes by now.banjomike ought to be getting tired of karma fortunes by now.banjomike ought to be getting tired of karma fortunes by now.banjomike ought to be getting tired of karma fortunes by now.
 
banjomike's Avatar
 
Posts: 319
Karma: 397404
Join Date: Aug 2009
Location: UK
Device: PRS-505,DSlibris,nook Glow & Simple & HD+,Tab S2,Moon+,Kobo Clara
I would also use such a patch/tweak/whatever.
banjomike is offline   Reply With Quote
Old 11-27-2010, 06:09 PM   #18
greenapple
Evangelist
greenapple will become famous soon enoughgreenapple will become famous soon enoughgreenapple will become famous soon enoughgreenapple will become famous soon enoughgreenapple will become famous soon enoughgreenapple will become famous soon enough
 
Posts: 404
Karma: 664
Join Date: Dec 2009
Device: Kindle Paperwhite, Kindle DX, Kobo Aura HD
Thanks, kiwidude!
greenapple is offline   Reply With Quote
Old 03-19-2011, 03:45 PM   #19
dino8352
Junior Member
dino8352 is on a distinguished road
 
Posts: 2
Karma: 72
Join Date: Oct 2008
Device: T-Mobile MyTouch 4G running Aldiko reader
shell script workaround to prevent ebook-viewer from modifying

Not sure how long these changes will take to filter into official deployed Calibre, but I still have the file-destructive version of ebook-viewer on my system. I made this easy workaround as an alternative to hacking the program:

Save this shell script as ebook-viewer somewhere on the path BEFORE /usr/bin/ebook-viewer:
Code:
#! /bin/bash

# The ebook-viewer utility of the Calibre project MODIFIES ANY EPUB 
# DOCUMENT THAT'S OPENED WITH IT. A bookmarks file is inserted into 
# the book. I know of no way at this time to prevent it from doing so 
# short of turning off all write bits on the files or hacking the
# program.

# This script is a crude solution, let ebook-viewer touch a junk copy 
# of the book in /tmp

tmpFile="/tmp/$(basename $1)"
cp $1 $tmpFile
/usr/bin/ebook-viewer $tmpFile
rm $tmpFile

Last edited by dino8352; 03-19-2011 at 03:46 PM. Reason: forgot title
dino8352 is offline   Reply With Quote
Old 03-19-2011, 04:09 PM   #20
kiwidude
Calibre Plugins Developer
kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.
 
Posts: 4,637
Karma: 2162064
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
This was an old thread - Calibre implemented changes many releases ago to address this issue (see change log for exactly when). In the Ebook viewer now go to Preferences and untick "Remember the current page when quitting".
kiwidude is offline   Reply With Quote
Old 03-19-2011, 10:18 PM   #21
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 9,864
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
Quote:
Originally Posted by dino8352 View Post
Not sure how long these changes will take to filter into official deployed Calibre
The answer to this question is 3 months ago.

Quote:
Release: 0.7.34 [17 Dec, 2010]

New Features
  • E-book viewer: Add option to not remember position in book when quitting. Closes tickets: 7699
DoctorOhh is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ePub/mobi preview viewer MSWallack General Discussions 2 12-22-2011 05:13 PM
[old-topic]ebook-viewer: Open source, crossplatform viewer for EPUB, LIT, MOBI, etc kovidgoyal Calibre 68 05-30-2011 08:46 PM
[Old thread] ePub Viewer crutledge Calibre 6 05-10-2011 12:26 PM
Error with epub viewer AprilHare Calibre 10 03-30-2009 07:32 PM
External EPUB viewer astrodad Calibre 5 12-19-2008 07:49 AM


All times are GMT -4. The time now is 05:47 AM.


MobileRead.com is a privately owned, operated and funded community.