View Single Post
Old 02-29-2024, 04:57 AM   #18
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 74,349
Karma: 129333690
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by DNSB View Post
Once again, Jon, there are ways to test for those files existence and reboot the Kobo but, for me, it's just as easy to simply reboot.

A script (quick and dirty would be using if [ -f /mnt/onboard/.kobo/<sqlite-wal filename> ] to check for the existence of a write ahead logging file ( either BookReader.sqlite-wal or KoboReader.sqlite-wal ) and triggering the reboot if either one exists) could be written and run from NickelMenu) but creating that file will be left as an exercise for the student.

Alternately, you could run entire command from NickelMenu. See the Toggle Screensave command for an example using test to detect a file's existence.
Thanks. I'll have a look at the Toggle Screensave command.
JSWolf is online now   Reply With Quote