Thread: Glo Kobo Night Mode
View Single Post
Old 06-22-2017, 10:18 AM   #690
pickyaxe
Addict
pickyaxe ought to be getting tired of karma fortunes by now.pickyaxe ought to be getting tired of karma fortunes by now.pickyaxe ought to be getting tired of karma fortunes by now.pickyaxe ought to be getting tired of karma fortunes by now.pickyaxe ought to be getting tired of karma fortunes by now.pickyaxe ought to be getting tired of karma fortunes by now.pickyaxe ought to be getting tired of karma fortunes by now.pickyaxe ought to be getting tired of karma fortunes by now.pickyaxe ought to be getting tired of karma fortunes by now.pickyaxe ought to be getting tired of karma fortunes by now.pickyaxe ought to be getting tired of karma fortunes by now.
 
Posts: 291
Karma: 3762916
Join Date: Nov 2011
Device: none
Night Mode toggle for Aura One + fmon:

I'm using this with baskerville's fmon (thanks, baskerville!) and here's a very simple nightmode toggle. I have only tried this on recent firmwares (4.4.9349+).

The script toggles night mode then reboots. Rebooting is necessary because otherwise there's a lot of instability (hanging when USB is mounted, 30 second waiting time to access home page or library, etc).


How to install:
  1. Download the attachment (nightmode_fmon.zip)
  2. Install the newest version of night mode
  3. Edit /.kobo/nightmode.ini and change "retainStateOverRestart = no" to "retainStateOverRestart = yes"
  4. Install baskerville's fmon
  5. Mount USB, extract nightmode.png to /icons/
  6. Check that nightmode.png is in database and open it. Then long press it and choose "View details", then reboot. This makes sure that all the thumbnails have been generated. Do not proceed before doing this!
  7. Copy the nightmode directory into /.adds/ (including the directory itself, so that you have /.adds/nightmode/nightmode.sh)
  8. Edit /.adds/fmon/fmon.sh and add nightmode to the list of apps. For example, by default it is "for app in koreader sketch; do", change it to "for app in koreader sketch nightmode; do"
  9. Reboot

It should be working now.
Attached Files
File Type: zip nightmode_fmon.zip (17.8 KB, 297 views)

Last edited by pickyaxe; 06-22-2017 at 10:22 AM.
pickyaxe is offline   Reply With Quote