View Single Post
Old 08-10-2024, 08:25 PM   #5
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: 46,881
Karma: 169810634
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
Also, if this is supposed to be images for the screensaver, you create a directory called screensaver under the .kobo directory. No need for a sleep directory.
However, if you turn off the screensaver mode by renaming the screensaver directory by renaming to screensaver_old or screensaver.old or other filename of your choice, that name is not automagically excluded.

For me I use the following NickelMenu command to toggle the screensaver on/off:

Code:
menu_item : main : Toggle screensaver    : cmd_output     : 500: quiet: test -e /mnt/onboard/.kobo/screensaver_old
      chain_failure  : skip : 3
      chain_success  : cmd_spawn         : quiet: mv /mnt/onboard/.kobo/screensaver_old /mnt/onboard/.kobo/screensaver
      chain_success  : dbg_toast         : Screensaver on
      chain_always   : skip              : -1
      chain_failure  : cmd_spawn         : quiet          : mv /mnt/onboard/.kobo/screensaver /mnt/onboard/.kobo/screensaver_old
      chain_success  : dbg_toast         : Screensaver off
And in the /.kobo/Kobo/Kobo eReader.conf file under the [FeatureSettings] header, I use the following exclusion settings:

Code:
[FeatureSettings]
ExcludeSyncFolders=(\\.(?!kobo|adobe).+|([^.][^/]*/)+\\..+)|(screensaver_old)
A directory named sleep in the root of the partition exposed over USB does not seem to do anything so unless you have been patching the Kobo code, there is no reason to have that directory.

Last edited by DNSB; 08-10-2024 at 08:27 PM.
DNSB is offline   Reply With Quote