![]() |
#16 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,466
Karma: 6900052
Join Date: Dec 2009
Location: The Heart of Texas
Device: Boox Note2, AuraHD, PDA,
|
The "zoom" and "contrast" defaults are probably in one of the .lua scripts, but I don't know which ones, off hand.
The "Default" folder, that the File Manager opens in, can be passed as an argument when calling "reader.lua". I use the Kobo Start Menu, so Koreader is launched from ".\.kobo\kbmenu\onstart\koreader_kobo.sh". If you start it from Nickel using the png Icon, the koreader_kobo.sh found in the koreader folder would be the one to change. My koreader_kobo.sh: #!/bin/sh export LC_ALL="en_US.UTF-8" # we're always starting from our working directory cd /mnt/onboard/.kobo/koreader/ # export trained OCR data directory export TESSDATA_PREFIX="data" # export dict directory export STARDICT_DATA_DIR="data/dict" # remount external SD as RW mount -o remount,rw /mnt/sd # finally call reader ./reader.lua /mnt/sd/.Koreader/Books 2> crash.log ---------------------------- The last line sets /mnt/sd/.Koreader/Books as the folder File Manager will open in. You may or may not want to set the external SD card to read/write, it could aggravate any issues with Nickel's database. (If you use it try a long press on an item listed in File Manager.) Luck; Ken Last edited by Ken Maltby; 09-23-2014 at 01:14 PM. |
![]() |
![]() |
![]() |
#17 | |
Fanatic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 529
Karma: 64554
Join Date: Aug 2013
Device: Kobo Glo, GloHD
|
Quote:
If you long press the values you like, you will be asked if you want to use them as defaults. For the last, you can edit the settings.reader.lua found on the root of the Koreader's directory. Change the Code:
["lastdir"] = "/mnt/onboard", Code:
["lastdir"] = "/mnt/sd", Last edited by embryo; 09-23-2014 at 01:50 PM. |
|
![]() |
![]() |
Advert | |
|
![]() |
#18 | |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 77
Karma: 54562
Join Date: Aug 2014
Location: Gangtok (Sikkim), India
Device: Kobo Aura HD
|
Quote:
Is the "remount external SD as RW" required if I set external SD as my default file manager folder? My koreader_kobo.sh misses that entirely. Also, will the file manager crash if it fails to read the SD card? Excuse me for too many questions ![]() |
|
![]() |
![]() |
![]() |
#19 | ||
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 77
Karma: 54562
Join Date: Aug 2014
Location: Gangtok (Sikkim), India
Device: Kobo Aura HD
|
Quote:
Quote:
![]() |
||
![]() |
![]() |
![]() |
#20 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,466
Karma: 6900052
Join Date: Dec 2009
Location: The Heart of Texas
Device: Boox Note2, AuraHD, PDA,
|
Quote:
With Koreader having OPDS and other new features where users might want to download files to the external uSD card, and with the file handling options that File Manager has had all along, I decided to add the remount to RW into the script I use. It should make no difference if the external SD card is being mounted RO or RW, as far as the default folder setting is concerned. The File manager needs to be able to function with or with an external uSD card. In fact I have removed and replaced it while in the File Manager. (It can be a problem for Nickel though.) Luck; Ken Last edited by Ken Maltby; 09-23-2014 at 02:31 PM. |
|
![]() |
![]() |
Advert | |
|
![]() |
#21 | |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 77
Karma: 54562
Join Date: Aug 2014
Location: Gangtok (Sikkim), India
Device: Kobo Aura HD
|
Quote:
Anyway, I have switched from advboot to Kobo Start Menu, as recommended by Ken. The choice was right, as it does provide some interesting customisation options apart from the usb support. I've been trying hard to edit the "poweroff_info.html" to include a picture by using the supported "img" tag for my power off state. Perhaps, my file referencing is incorrect, or the file-type maybe. I have "avatar.png" file in the .kobo/kbmenu/images directory and the html tag used to reference the image is: <img src="../images/avatar.png"></img> Anything awry? Last edited by xibalban; 09-23-2014 at 11:07 PM. |
|
![]() |
![]() |
![]() |
#22 | |
Fanatic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 529
Karma: 64554
Join Date: Aug 2013
Device: Kobo Glo, GloHD
|
Quote:
Code:
<img src="/mnt/onboard/.kobo/kbmenu/images/avatar.png" width="516" height="310" align="middle"> Last edited by embryo; 09-23-2014 at 03:22 PM. |
|
![]() |
![]() |
![]() |
#23 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,466
Karma: 6900052
Join Date: Dec 2009
Location: The Heart of Texas
Device: Boox Note2, AuraHD, PDA,
|
What I used on my AuraHD:
<html> <head> <title>kobo menu info</title> <style type="image/png"> p { margin-top: 0.5em; } </style> </head> <body> <img src="/mnt/onboard/.kobo/kbmenu/txt/poweroff.png"> </body> </html> -------------------------------------- The Poweroff.png I made is 1040x1387. Luck; Ken Last edited by Ken Maltby; 09-23-2014 at 05:03 PM. |
![]() |
![]() |
![]() |
#24 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
As Embryo and Ken already communicated, the application needs the absolute path to the image. As for image attributes, it dependents on the device.
On my Kobo Touch, I have: Code:
<html> <body> <img src="/mnt/onboard/.kobo/kbmenu/images/test01.png" width="566"> </body> </html> The next version of KSM will probably have the ability to auto-size images. Last edited by tshering; 09-23-2014 at 05:43 PM. |
![]() |
![]() |
![]() |
#25 | |||
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 77
Karma: 54562
Join Date: Aug 2014
Location: Gangtok (Sikkim), India
Device: Kobo Aura HD
|
Quote:
Quote:
Quote:
Thank you for your work on the Kobo Start Menu, without which my Aura HD would become miserable. Is there a way to enable landscape mode for the start menu? Coming back to KoReader, I am a bit annoyed by the page overlaps (I mean, part of the contents of the preceding page being duplicated on the next page), which is quite significant in landscape mode. Why does that even happen, and is there a way to disable it somewhere? My page scroll is set to "off", if that matters. Further, the progress bar at the bottom obstructs the page content. Can I disable that bar, or perhaps replace it with an unobtrusive clock? Lastly, I like to load my PDFs in landscape, and KoReader's file manager doesn't seem to obey the laws of rotation while the top menu does. That's a lot in a single post, I'm sure. Thanks for being patient ![]() |
|||
![]() |
![]() |
![]() |
#26 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,466
Karma: 6900052
Join Date: Dec 2009
Location: The Heart of Texas
Device: Boox Note2, AuraHD, PDA,
|
Have you tried the "Show page overlap" menu setting? It will dim the part of the page that was shown on the previous screen(s). The overlap exists because the original page has to be displayed over more than one screen, at the settings you have chosen. And the last screen full will have only some new material to display for the bottom of the original page.
If you poke the bottom right corner you should cycle through the mini-progress bar options, including to dismiss the bar. As far as I know the File Manager is always in portrait mode. Luck; Ken Last edited by Ken Maltby; 09-24-2014 at 02:53 AM. |
![]() |
![]() |
![]() |
#27 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
Yes there is. If you have installed KBStartMenu_04_update01a.zip (you can find it here), you can change in .kobo\usersettings.txt
Code:
# whether to insert the rotation option into the Home menu
#enablerotation=true
Code:
# whether to insert the rotation option into the Home menu enablerotation=true |
![]() |
![]() |
![]() |
#28 | |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 77
Karma: 54562
Join Date: Aug 2014
Location: Gangtok (Sikkim), India
Device: Kobo Aura HD
|
Quote:
Folks, I still don't get the "page overlap" logic, and I blame my poor comprehension rather than Ken's explanation. Anyway, so having customised the KoReader for PDF viewing, almost perfectly (for me i.e.), I moved on to CBZ files. Having learnt the "neat trick" of changing extension of CBR to CBZ (thanks Ken), I hoped that the sailing would be smooth. Until, I discovered an issue of KoReader with CBZ file handling. Instead of registering my page turn tap, it simply refreshes the same page with my first tap. On the second tap, the next/previous page is rendered. Hence, two taps required for page turns. Is this normal? |
|
![]() |
![]() |
![]() |
#29 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 77
Karma: 54562
Join Date: Aug 2014
Location: Gangtok (Sikkim), India
Device: Kobo Aura HD
|
It appears that all you Goodfellas must have been bugged by my incessant device related questions & issues
![]() Anyway, I think I have discovered why I had to tap two times to trigger page turn in CBZ files. I appears that it is, once again, due to the page overlap. The problem disappeared when I changed my zoom mode to "fit page height". Regards!! |
![]() |
![]() |
![]() |
#30 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 77
Karma: 54562
Join Date: Aug 2014
Location: Gangtok (Sikkim), India
Device: Kobo Aura HD
|
Hey folks,
I'd been reading Grimm's Fairy Tales, using nickel and in the process of customisation, added a few custom fonts. The ability of Kobo devices to sideload custom fonts is a big boon. I have, meanwhile, downloaded some ePubs from MR and loaded them onto a hidden directory on the µSD Card (you guys know why). So, my preferred reader becomes KoReader for these sideloaded ePubs. How do I enable custom fonts in KoReader and change the font face to my liking within the application? |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Could this be the Beginning? | kennyc | Lounge | 12 | 01-24-2013 03:59 PM |
From the beginning ........ | Aspic8 | Writers' Corner | 15 | 10-10-2011 11:05 AM |
How do I go to the beginning of a book | heritage | Amazon Kindle | 8 | 12-24-2010 03:13 PM |
Beginning or Ending? | jaxx6166 | Writers' Corner | 3 | 01-12-2010 02:26 PM |