View Single Post
Old 04-17-2016, 08:47 AM   #914
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 roger64 View Post
Mini-bar question

It happened two times already after a full update: the previous customized settings for my mini-bar changed.

Fortunately, I know how to get back to them following this path:
frontend/apps/reader/modules/readerfooter.lua and write your own settings with true/false.

Question: is it possible to keep these settings in default.persistent.lua?

You can see in the joint attachment my customized settings for the mini-bar: I only care about battery, time, and page progress (together).

and here as they are written within readerfooter.lua file
Spoiler:
function ReaderFooter:init()
self.pageno = self.view.state.page

self.settings = G_reader_settings:readSetting("footer") or {
disabled = false,
all_at_once = true,
progress_bar = false,
toc_markers = false,
battery = true,
time = true,
page_progress = true,
pages_left = false,
percentage = false,
book_time_to_read = false,
chapter_time_to_read = false,
}
The KOReader User Interface (UI) Reader Menu includes "Status bar" settings for those. (You need to reload the book to see the changes.)
While there isn't a persistent option that would survive an update, it should be easy to restore the settings to what you want after an update.

There is currently some discussion, at Github, about how this issue should be addressed. As to a separation of "defaults" into those for their respective functional areas or the existing global defaults. [ I would prefer separate treatment for the File Manager (global) options and for the Reader, CR3 & MU, options.]

Luck;
Ken
Ken Maltby is offline   Reply With Quote