Hi everyone,
I’ve noticed that when I search for files using the GNOME Activities Overview search, it doesn’t return files if I type a substring that’s inside the filename — for example, searching for “apple
” doesn’t find a file named 001_apple_tree.png
.
After some clarification from the dev in LocalSearch
(which I think was previously known as tracker3
), it seems like the search results in the GNOME Activities Overview search come from a search provider installed by Nautilus (Files)
, instead of LocalSearch
. Unlike searching with LocalSearch
in the terminal, I can find that file easily with the command localsearch search -f apple
, so I know it’s indexed at least by LocalSearch
. But the Activities Overview search seems to only find those files matching the entire word, not substring, i.e., I need to type “001_apple
” in order to find such a file.
I am not sure if it’s a bug, or if it’s intended. But I am still wondering if there is any way, maybe through settings, extensions, or a custom search provider, to enable substring searching in Gnome’s Activities Overview search? I’m looking for something that can seamlessly integrate into the Activities Overview search bar.
(Environment: Fedora 42 with GNOME 48.2.)
(Also, not sure is if it’s correct, but I vaguely remember that substring search used to work in several versions of GNOME ago, but stopped working in recent versions. Please do correct me if I misremember.)
Thanks in advance!
Edit:
I just tested it on a freshly installed Fedora 42 (with GNOME 48.2) running on VirtualBox, and apparently, the substring search works perfectly in this new virtual machine. However, it does not function on my actual main machine, which is also running Fedora 42 (with GNOME 48.2) but was upgraded all the way from Fedora 39 version by version.
I’m not sure why this discrepancy occurs. And I am wondering if there is any method to reset the index by Nautilus
to maybe fix this issue.