|
|
Thread Tools | Search this Thread |
11-27-2010, 11:15 AM | #16 |
Calibre Plugins Developer
Posts: 4,637
Karma: 2162064
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
|
|
11-27-2010, 11:27 AM | #17 |
Addict
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.
|
11-27-2010, 06:09 PM | #18 |
Evangelist
Posts: 404
Karma: 664
Join Date: Dec 2009
Device: Kindle Paperwhite, Kindle DX, Kobo Aura HD
|
Thanks, kiwidude!
|
03-19-2011, 03:45 PM | #19 |
Junior Member
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 |
03-19-2011, 04:09 PM | #20 |
Calibre Plugins Developer
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".
|
03-19-2011, 10:18 PM | #21 | ||
US Navy, Retired
Posts: 9,864
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
|
Quote:
Quote:
|
||
|
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 |