Use ugrep to search file content in the Dolphin file manager (KDE/Plasma) #500
AndydeCleyre
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
For KDE/Plasma users, the Dolphin file manager can search through file content.
If Baloo indexing is enabled, that's used (File Search in system settings). Otherwise, ripgrep-all, then ripgrep, is tried.
You can replace the ripgrep attempts with ugrep attempts by placing a custom script at
~/.local/share/kio_filenamesearch/kio-filenamesearch-grep
.The usual version is found at
/usr/share/kio_filenamesearch/kio-filenamesearch-grep
, and looks like this:default script
You can start with that and modify it as you like. My current version is:
ugrep script
That
PATH
adjustment is needed for me because I have pandoc installed via mise. In the future, or on other systems, I might have other relevant tools (like ugrep itself) installed via mise as well.Beta Was this translation helpful? Give feedback.
All reactions