Quote:
Originally Posted by seabert001
so where sould is input what data? and how do i activate it on my device?
[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 = 7
# 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
3 = toggleNightMode
# when brightness is set to 3% : toggle Nightmode
# 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 &
|
That doesn't appear to be from the mod I mentioned, at least not the file that is specified.
If you used the mod I linked to, the correct file to open is in the .kobo directory which is in the root directory of your H2O. The file is nightmode.ini
Open that file with a text editor that respects linux line breaks
Quote:
# config file for kobo-nightmode
[state]
invertActive = yes
retainStateOverRestart = yes
[control]
longPressDurationMS = 800
lightButtonAction = toggleNightMode
lightButtonCommand = /mnt/onboard/.kobo/testScript.sh
[nightmode]
refreshScreenPages = 0
[brightness]
1percentPatch = yes
timeout = 4
100 = toggleNightMode
|
these settings will get you the settings I have, the ones to note are 'timeout' and = toggleNightMode. The '4' is four seconds, and 100% is the required percentage for the frontlight to be set to. Once Night Mode activates you'd need to adjust at least one percent off of 100% or it'll flip between normal and night mode every 4 seconds.