View Single Post
Old 07-19-2010, 03:06 PM   #4
Dave_S
What Title ?
Dave_S ought to be getting tired of karma fortunes by now.Dave_S ought to be getting tired of karma fortunes by now.Dave_S ought to be getting tired of karma fortunes by now.Dave_S ought to be getting tired of karma fortunes by now.Dave_S ought to be getting tired of karma fortunes by now.Dave_S ought to be getting tired of karma fortunes by now.Dave_S ought to be getting tired of karma fortunes by now.Dave_S ought to be getting tired of karma fortunes by now.Dave_S ought to be getting tired of karma fortunes by now.Dave_S ought to be getting tired of karma fortunes by now.Dave_S ought to be getting tired of karma fortunes by now.
 
Posts: 1,325
Karma: 1856232
Join Date: Jan 2009
Location: Bavaria Germany
Device: Sony Experia Z Ultra
Quote:
Originally Posted by Blossom View Post
Thanks Dave! Where do I install the file to and how do I use it?
After you unzip it, you should be able to put it anywhere that you like because it appears to the BookShelf as a DJVU book. When you select the "book" to read, it will be executed by the Linux Bash shell instead of opening to read. As it is written, it will entirely clear the cache on both the internal book memory AND the SD card book memory.

I do not think that DJVU is a format that is supported in the Astak firmware, so this little script will probably only work on the Lbook firmware. But then, as it is written, it is only useful to clear the cache on the newest versions of CoolReader. Buggins provided it as an example, so the only thing that I did was copy it and paste it into the Notepad++ text editor so that I could save it in the Linux text format. The other change that I made was to use the DJVU extension as suggested by Jotas instead of the FB2 extension that Buggins suggested. That causes the script to be passed to the shell by the DJVU viewer instead of by CoolReader. The process just works a little faster that way.
Dave_S is offline   Reply With Quote