Thread: Glo Kobo Night Mode
View Single Post
Old 08-09-2013, 03:14 PM   #199
yoq
Developer
yoq ought to be getting tired of karma fortunes by now.yoq ought to be getting tired of karma fortunes by now.yoq ought to be getting tired of karma fortunes by now.yoq ought to be getting tired of karma fortunes by now.yoq ought to be getting tired of karma fortunes by now.yoq ought to be getting tired of karma fortunes by now.yoq ought to be getting tired of karma fortunes by now.yoq ought to be getting tired of karma fortunes by now.yoq ought to be getting tired of karma fortunes by now.yoq ought to be getting tired of karma fortunes by now.yoq ought to be getting tired of karma fortunes by now.
 
Posts: 77
Karma: 206176
Join Date: Apr 2013
Location: Europe
Device: Kobo Glo
The config file is only read on startup, so you need to reboot after you make the cha

Quote:
Originally Posted by KevinNash View Post
If I change in nightmode.ini to 6 for example, that doesn't work, the refresh is still at 4 and nightmode.ini setting revert to 4 by himself.
The config file is only read on startup, so you need to reboot after you make the change.
The revert happens this way: you have retainStateOverRestart set to 'yes' so every time you trigger nightmode the current state has to be written into the config file. In fact, the whole file is rewritten so it also writes refreshScreenPages with the old value it read as you started your Kobo the last time.
I will note it for the next version to detect usb access and reread the file then.

Quote:
Originally Posted by ZipMaker View Post
Can we uninstall this mod easily?
Yes, simply use the KoboRoot.tgz from the uninstaller folder.
yoq is offline   Reply With Quote