Thread: Glo Kobo Night Mode
View Single Post
Old 06-12-2016, 10:47 AM   #577
freekobo
Addict
freekobo ought to be getting tired of karma fortunes by now.freekobo ought to be getting tired of karma fortunes by now.freekobo ought to be getting tired of karma fortunes by now.freekobo ought to be getting tired of karma fortunes by now.freekobo ought to be getting tired of karma fortunes by now.freekobo ought to be getting tired of karma fortunes by now.freekobo ought to be getting tired of karma fortunes by now.freekobo ought to be getting tired of karma fortunes by now.freekobo ought to be getting tired of karma fortunes by now.freekobo ought to be getting tired of karma fortunes by now.freekobo ought to be getting tired of karma fortunes by now.
 
freekobo's Avatar
 
Posts: 250
Karma: 2731310
Join Date: Jan 2013
Device: Kobo Aura
I installed kobo-nightmode_build13H2O.zip
after install, I adjusted the nightmode.ini Brightness setting, saved the file and safely removed Aura from PC;

Code:
[brightness]
1percentPatch = yes		# yes / no : Nickel set brightness to 2% even when on UI it is set to 1%
				#            this patch will force brightenss to 1% when:
				#		- it was set to 1%, then set to 0% (for instance: stand-by) then changed again to "what Nickel says is 2%"
				#		- it was set to 3%, then set to 1% then changed again to "what Nickel says is 2%"
timeout = 2			# time in seconds, after brightness is set (and maintained) to a given level, to toggle the action set to that level
## syntax for associating the trigger of an action when brightness is set to X%:
## X=<command/script>
## special actions:
## - toggleNightMode: toggle Nightmode on / off
## - enableNightMode: force enabling Nightmode
## - disableNightMode: force disabling Nightmode
100 = toggleNightMode # when brightness is set to 3% : toggle Nightmode
1 = toggleNightMode
# some examples of invoking any script when brightness is set to X% for at least TIMEOUT seconds
#4 = touch /mnt/onboard/hello.world
#5 = touch /mnt/onboard/hello.world.async &

New settings did not work. I rebooted my Aura, and now the new settings work, however the nightmode.ini file now has all the # comments removed;

Code:
[brightness]
1percentPatch                  = yes
timeout                        = 2
1                              = toggleNightMode
100                            = toggleNightMode
If I make changes now, save the file the changes, safely remove kobo, and then reconnect to my PC, the settings always revert back to the last above settings(without comments).It seems that after adjusting the settings the first time, and rebooting it installs these settings permanently. Is this by design?

Last edited by freekobo; 06-12-2016 at 10:54 AM.
freekobo is offline   Reply With Quote