Disable tracker/localsearch extract in Silverblue

This is a follow-up to the Can tracker extract be disabled in Gnome 46, which is now closed.

The “trick” described there (remove the contents of /usr/share/localsearch3/extract-rules/Unfortunately, it cannot be used in Fedora Silverblue, since that path is read-only.

Aren’t there other ways to disable the indexing of file contents?

I don’t want to disable the tracker altogether, only the contents indexing.

Thanks in advance

You can try:

systemctl --user stop localsearch-3.service localsearch-control-3.service localsearch-writeback-3.service

systemctl --user mask localsearch-3.service localsearch-control-3.service localsearch-writeback-3.service

Thanks, I’ll try that. Would that disable only indexing of contents? Not file and directory name scanning, right?

I guess it turns off everything.

But you can simply turn it off and see yourself.

I don’t want to turn off everything, see my initial post