Dolphin search by file name finds little and behaves erratically

Dolphin search by file name finds only one file whereas KFind finds 6 files with the same search query:

Search query: *bank*account*.odt.

Dolphin search is fast, suspiciously fast, compared to KFind.

Interestingly, if I slightly change search query: *bank*accounts*.odt (plural) it returns one result again, but a different file, one of those it should clearly return before, with the wider query.

1 Like

Interestingly, if I slightly change search query to *bank*accounts*.odt, plural, it returns one result again, but a different file, one of those it should clearly return before, with the wider query.

Not exactly a solution, but I generally use KFind to find files - so powerful. You can set a KFind button in Dolphin for easy access.

1 Like

Well actually I’d say it is a solution - I use KFind and find it simpler and easier than popping up a terminal.

However, in the terminal you’d be looking at find (classic, but often verbose) and fd which is a bit more modern and new fangled.
Let me see - I started a record when I started doing eggs last year, so let’s find it. I think it was an ODS or an ODT file, but I’m not really sure…

fd first, using a ā€˜glob’ -g search…

Interestingly it also pulls up a more recent/local copy than the one I remembered (Record.ods - I copied and renamed Eggs)

āÆ fd -g "*.od*"
Desktop/Tidy/250GiB - backup/Android/data/fr.odupont.android.dopewars/
Desktop/Tidy/eggs/Eggs.ods
Downloads/That One Privacy Guy's VPN Comparison Chart.xlsx.ods
Dropbox/Documents/Accounting/Record-bak.ods
Dropbox/Documents/Accounting/Record.ods

With fish in Konsole, I can just click the link to open it.

Ctrl_F now in Dolphin (at home) and the result is, indeed, slightly disappointing, with two entries for each result (one with thumbnail, the other without - yet the same timestamp reveals simply duplicates in the results).

For some reason, the Eggs.ods in a desktop folder was not discovered… and this is why in Dolphin I generally only use the / filter to narrow down searches.

Further investigation reveals that ā€˜Eggs.ods’ is merely a shortcut to the original Record.ods that lets me click through the main folder where I have images ready to drag and paste where needed… yet this is excluded even if I navigate to see the (link) entry in the folder and do Ctrl_F search for Eggs.ods.

It’s insane to think I can see the icon Eggs.ods and the thumbnail in Dolphin, and F4 ā€˜fd’ will find it - but Dolphin search just makes everything disappear.

KFind pulls it up straight away… and learning the syntax to use fd is something I didn’t really get around to due to that.

fd -g for globbing (more noob friendly search)
fd for regex (powerful for clever folks).

1 Like

clearly the two methods are interpreting the search string differently.

which goes to my larger point that finding files is far too complicated in linux and the first distro which arrives at comprehensive file search solution will become the distro of choice for those leaving windows at the end of win10.

this kind of confusion puts off new users.

this needs to be simplified and idiot proof.

1 Like

True - every time I need to find something (i.e. no recollection where it is, maybe on home, maybe shifted over to a storage…) I break out in sweats.

1 Like