TL;DR:
Code:
ExcludeSyncFolders=\\.(?!kobo|adobe).*?
(In the FeatureSettings section)
The thing to remember is that this is sandwiched inside a
Code:
^/mnt/(sd|onboard)/%1$
so, can't use ^ or $, and that QSettings probably wants some stuff escaped, hence \\. for \. (i.e., match a dot, instead of any character, to avoid what @frostschutz just described with the default patterns
).
@frostschutz: I think some DEs do use numbered trashes, for some reason, so \.Trash-\d+ would make sense
. Or just all-in-one: \.Trash.*?
EDIT: Except that both backslash would need to be escaped here
.