View Single Post
Old 02-28-2024, 08:22 PM   #13
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 44,952
Karma: 168802811
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by JSWolf View Post
Do you know if there's a way to use NickelMenu to check for these files and if they exist, reboot the Kobo?
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.

Last edited by DNSB; 02-28-2024 at 08:24 PM.
DNSB is offline   Reply With Quote