07-12-2013, 01:28 PM | #211 | |
Wizard
Posts: 4,465
Karma: 6900052
Join Date: Dec 2009
Location: The Heart of Texas
Device: Boox Note2, AuraHD, PDA,
|
Quote:
I'm not that familiar with Linux Shared Objects or Linux in general, so I doubt I could find a way to do that, on my own. Luck; Ken |
|
07-12-2013, 01:36 PM | #212 |
Wizard
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
|
Advert | |
|
07-12-2013, 02:07 PM | #213 | |
Wizard
Posts: 4,465
Karma: 6900052
Join Date: Dec 2009
Location: The Heart of Texas
Device: Boox Note2, AuraHD, PDA,
|
Quote:
or perhaps ".Books" ( when nickel reads the FAT32 formatted external uSD card wouldn't it be seeing the file/folder attributes as they are for windows?) Wouldn't this deny the external uSD card to Koreader as well? Luck; Ken Last edited by Ken Maltby; 07-12-2013 at 02:09 PM. |
|
07-12-2013, 02:22 PM | #214 | |
♫
Posts: 660
Karma: 506380
Join Date: Aug 2010
Location: Germany
Device: Kobo Aura / PB Lux 2 / Bookeen Frontlight / Kobo Mini / Nook Color
|
Quote:
But i doubt it is as simple as that to create a hidden folder, cuz I am pretty sure Kobo tries to process files when I just did some changes in koreader or kobolauncher folders But I have not really made any tests in that direction and can be wrong. |
|
07-12-2013, 02:34 PM | #215 | |
Wizard
Posts: 4,465
Karma: 6900052
Join Date: Dec 2009
Location: The Heart of Texas
Device: Boox Note2, AuraHD, PDA,
|
Quote:
I can give it a try, I have plenty of SD cards and I needn't use one with a lot of files to do the testing. Luck; Ken Last edited by Ken Maltby; 07-12-2013 at 02:44 PM. |
|
Advert | |
|
07-12-2013, 02:46 PM | #216 |
♫
Posts: 660
Karma: 506380
Join Date: Aug 2010
Location: Germany
Device: Kobo Aura / PB Lux 2 / Bookeen Frontlight / Kobo Mini / Nook Color
|
[ot]Completely ot, but I think I saw somewhere once some talk about the possibility to run Kobo on NTFS instead of FAT32, but I can't find the thread anymore (not even sure it was here in this forum).
Was that successfull? Anyone knows the link?[/ot] |
07-12-2013, 02:49 PM | #217 |
Grand Sorcerer
Posts: 12,119
Karma: 73448614
Join Date: Nov 2007
Location: Toronto
Device: Nexus 7, Clara, Touch, Tolino EPOS
|
Nooo.... there was no talk of NTFS; rather there was discussion on how to change the mount scripts to accept an external card in ext3 / ext4 format.
One major issue though with that was the usbmounting to a PC; if the external SD card is in NON fat32 format, then the host (Windows) would have to have drivers to understand the file system used on the SD card. See Hacking SD card file system Last edited by PeterT; 07-12-2013 at 02:54 PM. |
07-12-2013, 02:54 PM | #218 | |
♫
Posts: 660
Karma: 506380
Join Date: Aug 2010
Location: Germany
Device: Kobo Aura / PB Lux 2 / Bookeen Frontlight / Kobo Mini / Nook Color
|
Quote:
|
|
07-12-2013, 03:03 PM | #219 | |
Wizard
Posts: 4,465
Karma: 6900052
Join Date: Dec 2009
Location: The Heart of Texas
Device: Boox Note2, AuraHD, PDA,
|
Quote:
Luck; Ken |
|
07-12-2013, 03:26 PM | #220 | |
Grand Sorcerer
Posts: 12,119
Karma: 73448614
Join Date: Nov 2007
Location: Toronto
Device: Nexus 7, Clara, Touch, Tolino EPOS
|
Ken; what happens if you just change the extensions on the ePubs say to MyPubs and then try to add a custom mapping like this
Quote:
With luck Kobo woun;t scan non standard extensions, while KoReader will. |
|
07-12-2013, 03:31 PM | #221 | |
Wizard
Posts: 4,465
Karma: 6900052
Join Date: Dec 2009
Location: The Heart of Texas
Device: Boox Note2, AuraHD, PDA,
|
Quote:
#!/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" # stop nickel killall nickel # mount external SD and finally call reader mount -t vfat -o iocharset=utf8 /dev/mmcblk1p1 /mnt/sd ./reader.lua "$1" 2> crash.log # Unmount external SD and continue with nickel umount /mnt/sd reboot --------------------------------------------- Not sure I want or need the "/dev/mmcblk1p1" I'll give this a try after awhile. Luck; Ken Last edited by Ken Maltby; 07-12-2013 at 03:36 PM. |
|
07-12-2013, 03:38 PM | #222 |
Grand Sorcerer
Posts: 12,119
Karma: 73448614
Join Date: Nov 2007
Location: Toronto
Device: Nexus 7, Clara, Touch, Tolino EPOS
|
Buuuttttt.... If you're rebooting at the end of script then what's the point of the umount right before it.
The card will be remounted when the device reboots |
07-12-2013, 03:55 PM | #223 | |
Wizard
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
Quote:
|
|
07-12-2013, 04:08 PM | #224 |
Guru
Posts: 895
Karma: 149877
Join Date: Jul 2013
Location: Netherlands
Device: Cracked HiSenseA5ProCC, Cracked OnyxNotePro, Note5, Kobo Glo, Aura
|
The dictionary is working in the 273 version on the Aura!! Even better the german dictionary is working using the Duden files from Stardict.
Only problem is the umlauts. ü is represented by \u00fc, ä by \u00e4 etc. (Unicode code points apparently) Anyone knows how to straighten this out? Lua doesn't support unicode, so I've tried to substitute ü with \195\188 (unicode to UTF-8 as described in Beginning Lua Programming, p192) but that only gives \195\188 instead of \u00fc. Nor does replacing ü with \xc3\xbc work, nor with ü or ü or ü. Why is the text in the reader displayed as it should and the text in the dictionary not? It is not the font. I changed cfont in font.lua to georgia.ttf (which I copied to font/freefont directory first) and it still \u00fc. I've made a version of duden.dict where ü is replaced by ue, ä by ae, ß by ss and ö by oe. This seemed to work, until I found out that it messes up the index and you do not end up at the beginning of a definition anymore. Last edited by Markismus; 07-14-2013 at 04:56 PM. Reason: found extra info |
07-12-2013, 04:14 PM | #225 | |
Wizard
Posts: 4,465
Karma: 6900052
Join Date: Dec 2009
Location: The Heart of Texas
Device: Boox Note2, AuraHD, PDA,
|
Quote:
Luck; Ken |
|
Thread Tools | Search this Thread |
|
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 | 1269 | 02-27-2024 11:49 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 |