View Single Post
Old 07-01-2010, 12:31 AM   #85
Iņigo
Guru
Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.
 
Posts: 730
Karma: 72743
Join Date: Feb 2008
Location: Here or there
Device: iRex iLiad, iRex DR800S. K4NT. Kobo Aura, Aura One, Libra 2.
Quote:
Originally Posted by yacoob View Post
Wheee, I love whacking things into submission

If you visit this link, you'll get a small shell script I've written. If you put it on your IREX, you should be able to do this:
- add a new PDF;
- open it;
- run this script;
- go back to your PDF and enjoy the continuous page mode.

I've tested it on both my DR800SG (running RC3) and emulator - and it worked fine. That doesn't mean it'll work fine for you too. I give you no warranty, so if it implodes your reader from the inside - tough luck. It should be better, but it's a result of hasty poking here and there. And yes, it's a shell script. You can start screaming now

Some boring details:
- If you've been looking for a way to tell the reader to flush the cache from ram to sdcard, take a look inside (two dbus broadcasts - clunky, but works).
- At the moment you can't use this script to turn the continuous mode off. If you need to, plug your reader to a PC and nuke relevant metadata.db.
- It's working on the "recently updated" metadata.db files, so if you have some old PDF file to change, just open it and flip a page, should be enough (reader will update uds_last_read_location).
- Yes, there's double refresh sometimes. That's with DR800 uds. I guess this is the reason why developers didn't unlock it by default, possibly solving that double refresh would take more time than they had at hand atm.
- Calling my C rusty would be a compliment, so I don't see a proper graphical application for this coming soon. If you can write one, by all means go ahead (but tell me, so I won't waste any time trying to do this in my mythical free time). I was thinking about something that would allow you to navigate sdcard, show all pdf files and allow you to toggle pageflow/fullscreen at whim.

Hope you like it, and it'll be useful to someone
the link does not work for me.
Could you attach to this thread, please?
Iņigo is offline   Reply With Quote