Thread: Glo Kobo Night Mode
View Single Post
Old 06-30-2013, 06:56 PM   #158
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
[ALL] Night Mode - read light-on-dark

Nightmode for Kobo
Read light-on-dark on your Kobo AuraHD / Glo / Touch or Mini!



Installation / Removal
  • Download the attached zip file
  • Connect your Kobo to your computer
  • Extract the file KoboRoot.tgz from the installer / uninstaller folder
  • Copy it to the .kobo folder on your device
  • Safely remove the USB storage and unplug
  • Your device will reboot automatically

Control nightmode
There are two ways to control this mod:
  • Long-press the LIGHT/HOME button to toggle on/off
  • Use a launcher to start the nightmode.sh script:
    • KoboLauncher: Add:
      Night Mode = /mnt/onboard/.kobo/nightmode.sh
      to .kobo/KoboLauncher/kobo_launcher.ini
    • or KoboTweaks: (not working on 2.6+) Add:
      Night Mode=tweaks.executeSystemCmd(\"/mnt/onboard/.kobo/nightmode.sh\")
      to .kobo/kobotewaks.ini

Configuration
In your .kobo folder, there will be a configuration file called nightmode.ini. You can change whether the state should be retained over a restart of the device, the default state after power up and the duration for a long press. The new setting will take effect after a restart.

FAQ
  • I have updated my firmware and it stopped working!
    Simply install the mod again
  • Will this drain my battery?
    The effect on battery life should be negligible
  • I can see more ghosting when the mod is activated!
    This is normal, as eInk screens are optimized for black-on-white mode. Change the refresh rate if it annoys you.

More info
For a more detailed description, the changelog and the source code, visit github:
http://dbeinder.github.io/kobo-nightmode

Credits
  • KevinShort, for the idea and a first proof of concept
  • Nicolas Devillard and others, for the iniParser library
Attached Thumbnails
Click image for larger version

Name:	nightmode.jpg
Views:	159557
Size:	208.7 KB
ID:	107514  
Attached Files
File Type: zip kobo-nightmode_build7.zip (10.8 KB, 575 views)

Last edited by yoq; 06-30-2013 at 07:08 PM.
yoq is offline   Reply With Quote