Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > KOReader

Notices

Reply
 
Thread Tools Search this Thread
Old 11-06-2015, 07:50 AM   #2476
Ken Maltby
Wizard
Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.
 
Ken Maltby's Avatar
 
Posts: 4,466
Karma: 6900052
Join Date: Dec 2009
Location: The Heart of Texas
Device: Boox Note2, AuraHD, PDA,
Quote:
Originally Posted by jbaumann View Post
Hi,

tested everything you pointed out, but the problem remains.

Regardless of which of the DCREREADER_CONFIG_MARGIN_SIZES_* I use, when rendering PDFs the upper and lower margins are not used (left and right work ok), and with EPubs all margins are handled as expected. Should I open an issue at the Github repository or is there anything that I don't see?

Second question: I would like to have a larger font for the minibar and tried to set both DMINIBAR_CONTAINER_HEIGHT and DMINIBAR_FONT_SIZE to a higher value, but this had no effect...

Cheers, Joe
The PM I sent:

"The cr3.ini is for the Coolreader 3 Engine used for many formats, but not for PDFs. First try the options that the menus provide. How is it with the margin set to large? Try the "Switch zoom mode". You could use the "Page Crop".

There are koptreader config defaults in "defaults.lua", best read using Notepad++, but to be honest I am not sure how they all work."

The DCREREADER settings are for the CR3 engine, not for PDFs.

The DKOPTREADER settings are for PDFs. Find inside defaults.lua:

-- koptreader config defaults
DKOPTREADER_CONFIG_FONT_SIZE = 1.0 -- range from 0.1 to 3.0
DKOPTREADER_CONFIG_TEXT_WRAP = 0 -- 1 = on, 0 = off
DKOPTREADER_CONFIG_TRIM_PAGE = 1 -- 1 = auto, 0 = manual
DKOPTREADER_CONFIG_DETECT_INDENT = 1 -- 1 = enable, 0 = disable
DKOPTREADER_CONFIG_DEFECT_SIZE = 1.0 -- range from 0.0 to 3.0
DKOPTREADER_CONFIG_PAGE_MARGIN = 0.10 -- range from 0.0 to 1.0
DKOPTREADER_CONFIG_LINE_SPACING = 1.2 -- range from 0.5 to 2.0
DKOPTREADER_CONFIG_RENDER_QUALITY = 1.0 -- range from 0.5 to 2.0
DKOPTREADER_CONFIG_AUTO_STRAIGHTEN = 0 -- range from 0 to 10
DKOPTREADER_CONFIG_JUSTIFICATION = 3 -- -1 = auto, 0 = left, 1 = center, 2 = right, 3 = full
DKOPTREADER_CONFIG_MAX_COLUMNS = 2 -- range from 1 to 4
DKOPTREADER_CONFIG_CONTRAST = 1.0 -- range from 0.2 to 2.0

-- word spacing for reflow
DKOPTREADER_CONFIG_WORD_SPACINGS = {0.05, -0.2, 0.375} -- range from (+/-)0.05 to (+/-)0.5
DKOPTREADER_CONFIG_DEFAULT_WORD_SPACING = -0.2 -- range from (+/-)0.05 to (+/-)0.5
-- document languages for OCR
DKOPTREADER_CONFIG_DOC_LANGS_TEXT = {"English", "Chinese"}
DKOPTREADER_CONFIG_DOC_LANGS_CODE = {"eng", "chi_sim"} -- language code, make sure you have corresponding training data
DKOPTREADER_CONFIG_DOC_DEFAULT_LANG_CODE = "eng" -- that have filenames starting with the language codes

(Better formatted and color coded text when using "Notepad++")


The DMINIBAR settings are the correct ones and do work, if they are properly saved and KOReader restarted.

Luck;
Ken
Ken Maltby is offline   Reply With Quote
Old 11-06-2015, 05:43 PM   #2477
jbaumann
Zealot
jbaumann plays well with othersjbaumann plays well with othersjbaumann plays well with othersjbaumann plays well with othersjbaumann plays well with othersjbaumann plays well with othersjbaumann plays well with othersjbaumann plays well with othersjbaumann plays well with othersjbaumann plays well with othersjbaumann plays well with others
 
Posts: 107
Karma: 2724
Join Date: Nov 2011
Device: Multiple Kobos, multiple Kindles
Hi Ken,

ok, for the minibar size your tip was essential. Getting it to explicitly save the new settings and then restarting it now gives me the new minibar size. Yay.

And working with margins in EPUBs works as well. But as far as I played with the PDF settings (very good to know that the DKOPTREADER settings are for PDFs) I could not in any way influence the PDF margins at top or bottom. To me it looks as if the PDF is rendered from first to last pixel row.

Where could I find more documentation about these settings? Or do I have to look into the sourcecode?

Cheers, Joe
PS: And I didn't want to put your e-mail here without your consent, so thank you :-)
jbaumann is offline   Reply With Quote
Advert
Old 11-11-2015, 01:47 PM   #2478
Ken Maltby
Wizard
Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.
 
Ken Maltby's Avatar
 
Posts: 4,466
Karma: 6900052
Join Date: Dec 2009
Location: The Heart of Texas
Device: Boox Note2, AuraHD, PDA,
It may be that the DKOPTREADER settings are for reflowed documents? As I mentioned I am not very familiar with PDF settings. I usually view PDFs on a 10.1" tablet.

Luck;
Ken
Ken Maltby is offline   Reply With Quote
Old 11-13-2015, 12:57 PM   #2479
trekk
Terraner
trekk ought to be getting tired of karma fortunes by now.trekk ought to be getting tired of karma fortunes by now.trekk ought to be getting tired of karma fortunes by now.trekk ought to be getting tired of karma fortunes by now.trekk ought to be getting tired of karma fortunes by now.trekk ought to be getting tired of karma fortunes by now.trekk ought to be getting tired of karma fortunes by now.trekk ought to be getting tired of karma fortunes by now.trekk ought to be getting tired of karma fortunes by now.trekk ought to be getting tired of karma fortunes by now.trekk ought to be getting tired of karma fortunes by now.
 
trekk's Avatar
 
Posts: 531
Karma: 4455667
Join Date: Aug 2011
Device: Kobo Libra, Aura One, Kindle Oasis 1 & 2 ...
Maybe I am overlooking something, but I can't find a way to turn off the sleepcover wake-up function. Is there some code I can play with in the lua-files?

Reason is, I have some magnetic applications on my bag, that every now and then wake up Koreader from suspend. Funny things happen to my reading position then I don't use a sleepcover, so I just want to turn this function off.

Any help would be greatfully appreciated.
trekk is offline   Reply With Quote
Old 11-13-2015, 01:31 PM   #2480
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 13,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
@trekk:

Killing L87 in frontend/device/kobo/device.lua should do the trick.
Code:
             [59] = "Power_SleepCover",
That, or commenting the relevant block (L246-252) in frontend/device/input.lua
NiLuJe is offline   Reply With Quote
Advert
Old 11-13-2015, 02:35 PM   #2481
trekk
Terraner
trekk ought to be getting tired of karma fortunes by now.trekk ought to be getting tired of karma fortunes by now.trekk ought to be getting tired of karma fortunes by now.trekk ought to be getting tired of karma fortunes by now.trekk ought to be getting tired of karma fortunes by now.trekk ought to be getting tired of karma fortunes by now.trekk ought to be getting tired of karma fortunes by now.trekk ought to be getting tired of karma fortunes by now.trekk ought to be getting tired of karma fortunes by now.trekk ought to be getting tired of karma fortunes by now.trekk ought to be getting tired of karma fortunes by now.
 
trekk's Avatar
 
Posts: 531
Karma: 4455667
Join Date: Aug 2011
Device: Kobo Libra, Aura One, Kindle Oasis 1 & 2 ...
@NiLuJe:

Problem solved! very much! May the god of Karma bless you.
trekk is offline   Reply With Quote
Old 11-14-2015, 12:22 PM   #2482
Alan_S
Evangelist
Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.
 
Alan_S's Avatar
 
Posts: 446
Karma: 1084584
Join Date: Aug 2007
Location: Sisak, Croatia
Device: Kobo Aura H2O, Kobo Aura ONE
Quote:
Originally Posted by NiLuJe View Post
Killing L87 in frontend/device/kobo/device.lua should do the trick.
Can this be made into option, so we can choose to use or not sleep cover function?
Alan_S is offline   Reply With Quote
Old 11-14-2015, 01:02 PM   #2483
Ken Maltby
Wizard
Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.
 
Ken Maltby's Avatar
 
Posts: 4,466
Karma: 6900052
Join Date: Dec 2009
Location: The Heart of Texas
Device: Boox Note2, AuraHD, PDA,
Quote:
Originally Posted by Alan_S View Post
Can this be made into option, so we can choose to use or not sleep cover function?
Isn't it a Nickel setting?

Luck;
Ken
Ken Maltby is offline   Reply With Quote
Old 11-14-2015, 01:23 PM   #2484
trekk
Terraner
trekk ought to be getting tired of karma fortunes by now.trekk ought to be getting tired of karma fortunes by now.trekk ought to be getting tired of karma fortunes by now.trekk ought to be getting tired of karma fortunes by now.trekk ought to be getting tired of karma fortunes by now.trekk ought to be getting tired of karma fortunes by now.trekk ought to be getting tired of karma fortunes by now.trekk ought to be getting tired of karma fortunes by now.trekk ought to be getting tired of karma fortunes by now.trekk ought to be getting tired of karma fortunes by now.trekk ought to be getting tired of karma fortunes by now.
 
trekk's Avatar
 
Posts: 531
Karma: 4455667
Join Date: Aug 2011
Device: Kobo Libra, Aura One, Kindle Oasis 1 & 2 ...
Quote:
Originally Posted by Ken Maltby View Post
Isn't it a Nickel setting?

Luck;
Ken
The Nickel setting is ignored by Koreader, Ken.
trekk is offline   Reply With Quote
Old 11-15-2015, 06:26 PM   #2485
Alan_S
Evangelist
Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.
 
Alan_S's Avatar
 
Posts: 446
Karma: 1084584
Join Date: Aug 2007
Location: Sisak, Croatia
Device: Kobo Aura H2O, Kobo Aura ONE
Quote:
Originally Posted by Ken Maltby View Post
Isn't it a Nickel setting?
Yes, it is and nickel respects it, but koreader needs it's own, as @trekk mentioned.

I think that could be useful, I have magnetic cover and I would like to disable this function (now I know what to do), but others also maybe would like to disable it and maybe don't read this thread or forum at all. So having it as an option would be great.
Alan_S is offline   Reply With Quote
Old 11-19-2015, 10:13 AM   #2486
LoganW
Enthusiast
LoganW began at the beginning.
 
Posts: 34
Karma: 10
Join Date: Nov 2015
Device: Kindle Touch, Paperwhite, Voyage, Oasis 2
Updated instructions

The links in the original post and instructions are a bit obsolete and it takes a bit of hunting to piece together the correct information now. To help any future people with the problem, I wrote up some notes:

Currently, the most general instructions would be:

1. Download the latest stable release of KOReader and follow the instructions of the included ReadMe file.
https://github.com/koreader/koreader/releases

Those instructions will tell you to download Kobo Start Menu, most recent version is 08 available from here:
https://www.mobileread.com/forums/sho...d.php?t=266821




The above procedure more detailed, as of November 2015 with Kobo Start Menu 08 and KOReader-stable-v2015.11 would be:

1. Download KBStartMenu_08.zip and extract.
https://www.mobileread.com/forums/sho...d.php?t=266821

2. Connect the Kobo to a PC and copy the extracted kbmenupngs to the root of the device.

3. Eject and verify that the images (e.g., exit_nickel.png) are in the library.

4. Connect the Kobo to a PC and copy the extracted KoboRoot.tgz to the folder .kobo of the device.

5. Eject and wait for the update to finish.

6. Download the latest stable release of KOReader and extract.
https://github.com/koreader/koreader/releases

7. Connect the Kobo to a PC and copy the extracted koreader folder into the ".adds" directory on the device.

8. Eject and use the Kobo Start Menu to select KOReader.


And by the way, many thanks to everyone involved in developing these tools. Fantastic work and it really makes the Kobo actually usable!

Last edited by LoganW; 11-19-2015 at 10:21 AM.
LoganW is offline   Reply With Quote
Old 11-19-2015, 03:23 PM   #2487
myki
Zealot
myki can self-interpret dreams as they happen.myki can self-interpret dreams as they happen.myki can self-interpret dreams as they happen.myki can self-interpret dreams as they happen.myki can self-interpret dreams as they happen.myki can self-interpret dreams as they happen.myki can self-interpret dreams as they happen.myki can self-interpret dreams as they happen.myki can self-interpret dreams as they happen.myki can self-interpret dreams as they happen.myki can self-interpret dreams as they happen.
 
Posts: 126
Karma: 20236
Join Date: May 2014
Device: Kinde PW v1, Kobo H2O, Onyx Boox T68
Between the step 5 and 6, I would add this :
In KSM 8, select "tools" > "activate" > "set runmenu settings.msh" > "always"
myki is offline   Reply With Quote
Old 11-19-2015, 05:50 PM   #2488
Alan_S
Evangelist
Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.
 
Alan_S's Avatar
 
Posts: 446
Karma: 1084584
Join Date: Aug 2007
Location: Sisak, Croatia
Device: Kobo Aura H2O, Kobo Aura ONE
Quote:
Originally Posted by LoganW View Post
6. Download the latest stable release of KOReader and extract.
Also, when talking about stable releases, they a bit rare, but we had a lot nightlies that worked great. So people shouldn't look only for stable ones. Or they may, if they want so.
Alan_S is offline   Reply With Quote
Old 11-19-2015, 06:46 PM   #2489
Alan_S
Evangelist
Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.
 
Alan_S's Avatar
 
Posts: 446
Karma: 1084584
Join Date: Aug 2007
Location: Sisak, Croatia
Device: Kobo Aura H2O, Kobo Aura ONE
Is statistics module turned off from stable release?

I just installed stable release and don't see statistics module. Maybe I just can't find it? I also checked, files for it a copied, I checked if directory and two files in it are in plugins directory.

Version is when checking version (if I did something wrong) 2015.11-3-(some numbers and letters).
Alan_S is offline   Reply With Quote
Old 11-20-2015, 06:33 PM   #2490
Alan_S
Evangelist
Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.
 
Alan_S's Avatar
 
Posts: 446
Karma: 1084584
Join Date: Aug 2007
Location: Sisak, Croatia
Device: Kobo Aura H2O, Kobo Aura ONE
Quote:
Originally Posted by Alan_S View Post
Is statistics module turned off from stable release?
Well, I did one thing, upgraded KSM to version 8. After that and changing ebook to epub, I was able to see statistics plugin. I am fairly sure that I changed ebook I'm viewing to epub one.

Also, there's one strange thing (maybe it needs feature request?), when I want to change default settings for statistics module, I don't see settings I set up previously, only that default ones are 5 and 90 seconds. And yes, I'm sure I changed settings. Is this how statistics module should act?
Alan_S is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
KOReader: a document reader for PDF, DJVU, EPUB, FB2, HTML, ... (GPLv3) hawhill Kindle Developer's Corner 1289 04-07-2025 10:18 AM
Touch Using two Kobos tkavan Kobo Reader 4 06-23-2017 02:47 AM
2 kobos at once tsarinaerika Kobo Reader 14 06-03-2013 04:13 AM
Syncing between two Kobos fx3000se Kobo Reader 4 01-24-2013 02:10 PM
2 kobos 1 account retired05 Kobo Reader 9 05-05-2012 08:25 AM


All times are GMT -4. The time now is 12:59 PM.


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