07-24-2020, 05:41 AM | #1 |
Guru
Posts: 695
Karma: 2383012
Join Date: Aug 2007
Location: Schiedam (The Netherlands)
Device: Lots of eInk devices and iOS stuff
|
Where is located "defaults.persistent.lua" in Android
I want to change dictionary path to default one in "defaults.persistent.lua" as documented here. However, my Poke 2 KOreader does not contain that file inside koreader folder.
A search here for "defaults.persistent.lua" returns nothing, and I was not able to find where to put that file and internal format file. "settings" folder? KOreader root folder? What is the file format? Plain text? PS: KOreader documentation is not very useful because lacks this kind of things. In one part it says you can modify "defaults.persistent.lua" but then don't explain where that file is and what format is or offers a sample file or installation comes with an empty sample file. It is not easy to make this program run for a luser like me, even more difficult if thinks like that aren't explained enough. |
07-24-2020, 07:29 AM | #2 |
Evangelist
Posts: 446
Karma: 1084584
Join Date: Aug 2007
Location: Sisak, Croatia
Device: Kobo Aura H2O, Kobo Aura ONE
|
You create it from defaults.lua, i.e. just edit name and add ".persistent" part. And it should stay in same directory (i.e. koreader's root).
|
Advert | |
|
07-24-2020, 07:43 AM | #3 | |
Guru
Posts: 695
Karma: 2383012
Join Date: Aug 2007
Location: Schiedam (The Netherlands)
Device: Lots of eInk devices and iOS stuff
|
Quote:
Code:
STARDICT_DATA_DIR = "/sdcard/dicts" Thanks to tell me the location of the file. |
|
07-24-2020, 10:23 AM | #4 | |
cosiñeiro
Posts: 1,351
Karma: 2200073
Join Date: Apr 2014
Device: BQ Cervantes 4
|
Quote:
All users are welcome to help on the wiki, as stated in https://github.com/koreader/koreader#support. In this specific case is a matter of saying "If defaults.persistent.lua doesn't exist just create it in koreader directory". One could think that's still unhelpful for certain users (please don't do it on Notepad, the right folder is "x", you need to restart the program to apply the changes...), but these users are not expected to perform these kind of changes. If they want they can ask here or in github. We're pretty liberal with that. Keep in mind that most of us are just users commiting things for fun. If I had to document any single feature to be helpful for newbies I won't commit a single thing. BTW, ,most of the job on the wiki was done by Alan_S. A big thank you for your work. |
|
07-25-2020, 06:41 AM | #5 |
Evangelist
Posts: 446
Karma: 1084584
Join Date: Aug 2007
Location: Sisak, Croatia
Device: Kobo Aura H2O, Kobo Aura ONE
|
|
Advert | |
|
07-25-2020, 12:14 PM | #6 | |
cosiñeiro
Posts: 1,351
Karma: 2200073
Join Date: Apr 2014
Device: BQ Cervantes 4
|
Quote:
Code:
190 Huang Xin 91 Frans de Jonge 85 NiLuJe 74 Alan 65 houqp 50 Robert |
|
07-26-2020, 08:12 AM | #7 |
Evangelist
Posts: 446
Karma: 1084584
Join Date: Aug 2007
Location: Sisak, Croatia
Device: Kobo Aura H2O, Kobo Aura ONE
|
Well, I more wanted to tell, it's much harder to make new feature than to mention in wiki that there's one.
|
07-26-2020, 02:15 PM | #8 |
Wizard
Posts: 2,839
Karma: 10700629
Join Date: May 2016
Location: Canada
Device: Onyx Nova
|
Yeah, I should add some of the stuff I've worked out to the wiki if it's pertinent. I tend to just post it here so people can find it. Bit overwhelmed atm.
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
a persistent "epub.css" file? | roger64 | KOReader | 6 | 07-08-2016 02:18 AM |
Where the heck is "My Items" located on the Paperwhite?!? | OakIris | Amazon Kindle | 4 | 12-26-2014 05:37 PM |
Kindle's "Reset to Factory Defaults" | Loosheesh | Amazon Kindle | 4 | 10-04-2012 08:22 PM |
Sony Reader PRS-T1 and Persistent "Removing..." Message in Collections | cinco | Calibre | 1 | 05-28-2012 01:40 AM |
Classic What happens if I "Reset to Factory Defaults" when I have a rooted nook? | chas0039 | Nook Developer's Corner | 0 | 11-26-2010 06:52 PM |