Thread: Glo Kobo Night Mode
View Single Post
Old 01-07-2019, 02:21 PM   #859
RobertJSawyer
Guru
RobertJSawyer ought to be getting tired of karma fortunes by now.RobertJSawyer ought to be getting tired of karma fortunes by now.RobertJSawyer ought to be getting tired of karma fortunes by now.RobertJSawyer ought to be getting tired of karma fortunes by now.RobertJSawyer ought to be getting tired of karma fortunes by now.RobertJSawyer ought to be getting tired of karma fortunes by now.RobertJSawyer ought to be getting tired of karma fortunes by now.RobertJSawyer ought to be getting tired of karma fortunes by now.RobertJSawyer ought to be getting tired of karma fortunes by now.RobertJSawyer ought to be getting tired of karma fortunes by now.RobertJSawyer ought to be getting tired of karma fortunes by now.
 
RobertJSawyer's Avatar
 
Posts: 738
Karma: 4306712
Join Date: Jun 2006
Location: Toronto
Device: Kobo Libra 2, Clara 2E, and Clara HD; Kindle PaperWhite
The difference between the patch this thread we're currently in talks about and the invert patch as part of the overall firmware patches (which @DNSB linked to) is this:

The patch in this current thread includes a user-editable nightmode.ini file, in which you can set a value for how often the screen is refreshed that's different from the one used in normal mode. On my Kobo Clara HD, refreshing the screen every chapter is fine in regular-video day mode, and that's what I leave it set at on my Reading Settings menu. But I get severe ghosting if I refresh anything less than every page turn in inverse-video night mode, and so I have "refreshScreenPages = 1" set in nightmode.ini.

Thus, with the patch in this thread, while actually using the ereader, I only have to toggle one thing -- invert mode -- to both invert the screen AND change to the appropriate screen-refresh value; using the libnickel patch DNSB refers to requires having to toggle invert mode AND THEN also manual changing screen-refresh.

For the patch provided in this current thread we're in now, I set the toggle value to 100% brightness, and the timeout delay of 1 second. It's a very quick maneuver to slide the brightness indicator all the way to the right then after just a second, once night-mode has toggled on or off, to move it back to a lower level.

My nightmode.ini looks like this:

Code:
# config file for kobo-nightmode

[state]
invertActive = no
retainStateOverRestart = no

[control]
longPressDurationMS = 800
debug=no

[nightmode]
refreshScreenPages = 1

[brightness]
1percentPatch = yes
timeout = 1
100 = toggleNightMode

Last edited by RobertJSawyer; 01-07-2019 at 02:24 PM.
RobertJSawyer is offline   Reply With Quote