Thread: Kobo Bug thread
View Single Post
Old 12-31-2020, 02:02 PM   #1324
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: 47,371
Karma: 171313058
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by Ore View Post
After some research and tinkering I'll answer my own question :

First, the [FeatureSettings] section was reordered inside the "Kobo eReader.conf " so that it was in the middle of the file instead of at the end but still present.

Second, the option works only for folders beginning with a dot located at the root of the kobo as displayed when plugged in a computer. In another word, a dot folder located inside another "regular" folder will not be ignored and its files will be loaded in the library.
If I recall correctly, there is an implied ^/mnt/(sd|onboard)/%1$ before that exclusion so yes, the sample starts from the root. The example below is for a hack that turns the custom screensaver on/off by renaming the screensaver directory to screensaver_old so it needs to be excluded.
Code:
ExcludeSyncFolders=\\.(?!kobo(?!/screensaver_old)|adobe).*?
Edit: I also looked back at some notes and found the following as the default exclusion list:
Code:
(.kobo|koboExtStorage)/(articles|images|kepub|screensaver|slideshow|dict|certificates|webcache|webstorage)|.fseventsd|.Spotlight-V100|.Trash|.Trashes|.Trash-\\d+|\\$RECYCLE.BIN

Last edited by DNSB; 12-31-2020 at 02:19 PM. Reason: Added default exlusions list
DNSB is online now   Reply With Quote