View Single Post
Old 07-20-2013, 04:49 AM   #308
Markismus
Guru
Markismus causes much rejoicingMarkismus causes much rejoicingMarkismus causes much rejoicingMarkismus causes much rejoicingMarkismus causes much rejoicingMarkismus causes much rejoicingMarkismus causes much rejoicingMarkismus causes much rejoicingMarkismus causes much rejoicingMarkismus causes much rejoicingMarkismus causes much rejoicing
 
Markismus's Avatar
 
Posts: 959
Karma: 149907
Join Date: Jul 2013
Location: Rotterdam
Device: HiSenseA5ProCC, Cracked OnyxNotePro, Note5, Kobo Glo, Aura
@Ken Yes, only the Aura is affected by the 235 vs 265 setting. By the way, cfont is set at 28 for now.

@Ken If you find you've lost your hidden files, just open a book, open lower menu, press M_toggle on most left tab: done. No worry.

I made the toggle, so that I can change whatever I like and see what happens: run-time compiling in lua-script, right? I toggle to the original settings. I make changes in for example menu.lua-markismus via the shell with vi and I toggle back to see what those changes do. For the package it comes in handy in that I don't have to force my adjustments on other users or retain an extra untweaked set of scripts.
Anyway, it is not like I do any serious script hacking.

For those who want to know what is adjusted:
  • run.sh is added to the main directory. It is an empty script. In it you can put commands which will be executed just before Nickel starts.
  • toggle_markismus.sh is added to the .kobo\koreader directory. It switches out the orignal versus the changed scripts. You can add or delete lua-scripts you do (not) want to toggle.
    1. credocument.lua in .kobo/koreader/frontend/document is changed. Two lines are added to the last part enabling sh- and lua-scripts to be read in koreader.
    2. screen.lua in /.kobo/koreader/frontend/ui is changed. In line 104 the dpi for the Aura is set to either "return 235" or "return 265".
    3. filechooser.lua in .kobo\koreader\frontend\ui\widget is changed. In line 8 "show_hidden = true" is toggled with "show_hidden = false".
    4. menu.lua in .kobo\koreader\frontend\ui\widget is changed at 4 lines.
      1. In line 69 ("cfont", 22) is toggled with ("cfont", 35). This controls the size of the -[X]-
      2. In line 96 ("cfont", 22) is toggled with ("cfont", 28). I don't know when this is used.
      3. In line 209 ("cfont", 22) is toggled with ("cfont", 28). This is the size of the file names in filemanager.
      4. In line 211 ("tfont", 25) is toggled with ("tfont", 35). This is the size of the title, e.g. "Filemanager".
Markismus is offline   Reply With Quote