[Solved] How to search for document content in Mint 18.3
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
[Solved] How to search for document content in Mint 18.3
Hi all.
I can't seem to search for documents or their contents on Mint. I have Recoll on Ubuntu Mate which works perfectly but on Mint the search only comes up with a couple pdf documents not the docx files.
I installed SearchMonkey and the same - even files that I know contain the content words do not appear in the search. The files are all in my connected Dropbox file. Any idea why searching files works on Ubuntu Mate but not Mint?
I can't seem to search for documents or their contents on Mint. I have Recoll on Ubuntu Mate which works perfectly but on Mint the search only comes up with a couple pdf documents not the docx files.
I installed SearchMonkey and the same - even files that I know contain the content words do not appear in the search. The files are all in my connected Dropbox file. Any idea why searching files works on Ubuntu Mate but not Mint?
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: How to search for document content in Mint 18.3
I don't know / use it, so only a shot in the dark: Look in synaptic, if there are recommended packages. Perhaps some libraries are missing.
Besides that you might be interested in DocFetcher.
Besides that you might be interested in DocFetcher.
- smurphos
- Level 18
- Posts: 8498
- Joined: Fri Sep 05, 2014 12:18 am
- Location: Irish Brit in Portugal
- Contact:
Re: How to search for document content in Mint 18.3
gnome-search-tool
is a straightforward GUI filesystem search application that can search by filename or file contents. It's effective if not the fastest- it doesn't do any pre-indexing. I don't really understand why it's not installed by default. In Cinnamon at least there are preconfigured keyboard short-cuts for it.apt install gnome-search-tool
- the GUI will appear in the menu as 'Search for Files'For something a bit more advanced you could give tracker a go -
apt install tracker-gui
. This does index the file-system for quick search results. If your using Cinnamon there is a tracker applet available for download via the Applets settings module for quick searches or it is possible to set up the menu search field to provide tracker results. In the menu it's GUI is 'Desktop Search' and it's settings GUI is 'Search & Indexing'For custom Nemo actions, useful scripts for the Cinnamon desktop, and Cinnamox themes visit my Github pages.
Re: How to search for document content in Mint 18.3
I don't know what's going on. I've got Mint 18.3 on a laptop and a desktop and the only positive is that at least they are responding in exactly the same way. Unhelpfully.
Docfetcher will not open on either machine after clicking either of the execution files (yes, the linux ones not the windows ones). It works a treat on Mate so I know I'm doing it right.
Gnome-search-tool takes much too long searching to be useable - and then comes up with the message 'No Files Found'. Even searching for the rather usual words 'cabbage' and 'cuwhich I wrote in a text this morning so I know it's there!
I've added Dropbox to the index and 'applied' in changes in Tracker but when I enter a word into the search box the whole programme just seems to sit there doing nothing. There's no sign that it's actually searching for anything and the GUI is, erm, minimal, to say the least and doesn't offer any further insight.
This is really going to be a deal-breaker for me too because if I can't search the content of docs I won't be able to work effectively - a bit like today where I've managed to do very little because of this issue :-/. Grrr.
Thanks for the responses so far but any other ideas what I can do to search the content on .docx files on Mint?
P.S. Research tells me SearchMonkey doesn't actually search the content of texts so that's a no-go.
Docfetcher will not open on either machine after clicking either of the execution files (yes, the linux ones not the windows ones). It works a treat on Mate so I know I'm doing it right.
Gnome-search-tool takes much too long searching to be useable - and then comes up with the message 'No Files Found'. Even searching for the rather usual words 'cabbage' and 'cuwhich I wrote in a text this morning so I know it's there!
I've added Dropbox to the index and 'applied' in changes in Tracker but when I enter a word into the search box the whole programme just seems to sit there doing nothing. There's no sign that it's actually searching for anything and the GUI is, erm, minimal, to say the least and doesn't offer any further insight.
This is really going to be a deal-breaker for me too because if I can't search the content of docs I won't be able to work effectively - a bit like today where I've managed to do very little because of this issue :-/. Grrr.
Thanks for the responses so far but any other ideas what I can do to search the content on .docx files on Mint?
P.S. Research tells me SearchMonkey doesn't actually search the content of texts so that's a no-go.
- smurphos
- Level 18
- Posts: 8498
- Joined: Fri Sep 05, 2014 12:18 am
- Location: Irish Brit in Portugal
- Contact:
Re: How to search for document content in Mint 18.3
Have you opened the advanced options in gnome-search-tool?
This search - limited to my Documents folder returned these results in less than a second.
Tracker needs a bit of time to build it's index to be useful - agreed the GUI is less than helpful.
For custom Nemo actions, useful scripts for the Cinnamon desktop, and Cinnamox themes visit my Github pages.
Re: How to search for document content in Mint 18.3
Well, you could use grep from the terminal, something like:
where
-r => recursive
-l => list filenames
--include={*.pdf,*.docx} => optional, only search in pdf and docx files. (you can add more)
"search term" => search term with quotes
/path/to/base/search/directory/ => optional, but without this you should cd into the base directory of your search before running grep.
Code: Select all
grep -r -l --include={*.pdf,*.docx} "search term" /path/to/base/search/directory/
-r => recursive
-l => list filenames
--include={*.pdf,*.docx} => optional, only search in pdf and docx files. (you can add more)
"search term" => search term with quotes
/path/to/base/search/directory/ => optional, but without this you should cd into the base directory of your search before running grep.
Re: How to search for document content in Mint 18.3
Just an FYI but enjoy gnome-search-tool while you can. It's been removed from the repository in Ubuntu 18.04: https://ubuntuforums.org/showthread.php?t=2386714
It's a pity.
It's a pity.
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.
Re: How to search for document content in Mint 18.3
This is what my gnome-search-tool looks like. And this is with the 'select more options' open. I can't see any way to access 'advanced options'.
I also notice there are no doc/docx files in your pic smurphos which are what I specifically need to search. Note: Tracker is coming up with hits now for the word 'rice' but once again only pdf files not docx.
Using the terminal is not really an option greerd - I appreciate the sentiment but that looks like scary nonsense that you've written there .
I also notice there are no doc/docx files in your pic smurphos which are what I specifically need to search. Note: Tracker is coming up with hits now for the word 'rice' but once again only pdf files not docx.
Using the terminal is not really an option greerd - I appreciate the sentiment but that looks like scary nonsense that you've written there .
Re: How to search for document content in Mint 18.3
gnome-search-tool is a fine tool, but is not able to read the content of office files, so forget it.
Regarding DocFetcher: Is a Java Runtime installed?
I wrote a tutorial about installing DocFetcher, it might be of help.
Regarding DocFetcher: Is a Java Runtime installed?
I wrote a tutorial about installing DocFetcher, it might be of help.
- smurphos
- Level 18
- Posts: 8498
- Joined: Fri Sep 05, 2014 12:18 am
- Location: Irish Brit in Portugal
- Contact:
Re: How to search for document content in Mint 18.3
altair4 wrote: ⤴Fri Apr 27, 2018 1:34 pm Just an FYI but enjoy gnome-search-tool while you can. It's been removed from the repository in Ubuntu 18.04: https://ubuntuforums.org/showthread.php?t=2386714
It's a pity.
tracker-gui
is gone too - it looks like the newest tracker in Bionic is pretty much intended to be a Gnome-Shell only backend - https://wiki.gnome.org/Projects/Tracker ... ingStarted.At least Cinnamon has got the https://github.com/glebihan/cinnamon-tracker-applet but the configuration of tracker will be via gsettings / dconf-editor.....
For custom Nemo actions, useful scripts for the Cinnamon desktop, and Cinnamox themes visit my Github pages.
Re: How to search for document content in Mint 18.3
Thanks for the link Cosmo but that's all well beyond me...
App Grid tell me Java Common is installed but I've no idea how to check to see whether it's running or not.
App Grid tell me Java Common is installed but I've no idea how to check to see whether it's running or not.
Re: How to search for document content in Mint 18.3
+1 on gnome-search-tool. I far prefer it to Catfish, which is often recommended too.smurphos wrote: ⤴Fri Apr 27, 2018 11:30 amgnome-search-tool
is a straightforward GUI filesystem search application that can search by filename or file contents. It's effective if not the fastest- it doesn't do any pre-indexing. I don't really understand why it's not installed by default. In Cinnamon at least there are preconfigured keyboard short-cuts for it.
apt install gnome-search-tool
- the GUI will appear in the menu as 'Search for Files'
...
For every complex problem there is an answer that is clear, simple, and wrong - H. L. Mencken
Re: How to search for document content in Mint 18.3
Looks like problem solved!
From recoll menu go Help > Missing Helpers
There was a number of things listed as missing, speciifically:
Perl::Image::ExifTool,
antiword,
untex,
xsltproc
I found each of these listed in App Grid, installed them, rebooted Mint and rebuilt index in Recoll.
Now it is finding .doc and .docx files in the search. Phew!
Question is, of course, why weren't these installed with the Recoll package in the first instance?
From recoll menu go Help > Missing Helpers
There was a number of things listed as missing, speciifically:
Perl::Image::ExifTool,
antiword,
untex,
xsltproc
I found each of these listed in App Grid, installed them, rebooted Mint and rebuilt index in Recoll.
Now it is finding .doc and .docx files in the search. Phew!
Question is, of course, why weren't these installed with the Recoll package in the first instance?
Re: How to search for document content in Mint 18.3
I installed this software centre and installed them directly from there: https://www.appgrid.org/linaafryn12_ wrote: ⤴Tue Dec 03, 2019 6:20 amHow do you install them? recently i have the same problem too:(
Re: [Solved] How to search for document content in Mint 18.3
Thanks for the tip for Recoll, I needed a replacement for 'Everything' that I used for searching on Win 10.
I just installed it through the Software Manager, where I saw this comment in a review -
Cheers,
DM.
I just installed it through the Software Manager, where I saw this comment in a review -
Adding these worked for me and I'm able to search the content of Office files.Just remember that to search in LO & MS Office files, you also needpython-libxslt1
andpython-libxml2
for Recoll v1.22 to 1.24, orpython3-lmxl
for 1.25 and newer.
Cheers,
DM.