Nemo is good at searching for files and folders.

I use Nemo file manager in Xfce and would like to add the Nemo file-search action to WhiskerMenu in the same way Catfish is integrated to Whisker Menu following this answer:

enter image description here

Creating links to folders of other partitions in some location in $HOME and searching there would extend the search to those folders too, something that Catfish doesn't do.

I would need a command that would start Nemo (by default in $HOME) and search for a variable file-name.

During search, the CPU is put to work by the nemo process;

enter image description here

but nemo --help-all and man nemo show no useful options.

  • I have found a partial solution, the problem is that it opens each result in a new window. Would you like that I write this as an answer? Oct 11 '19 at 15:37
  • @guillermochamorro - of course you could post that, thank you.
    – cipricus
    Oct 14 '19 at 7:27
  • @guillermochamorro - that could give ideas for other solutions. post your thing as a comment or as an answer - mentioning it is temporary
    – cipricus
    Oct 16 '19 at 13:35

The best way I could find is to use a script, since "Find commands" doesn't accept some bash commands, like xargs:

Create a script with any name, in this case we will call it search:


find /my/path -name "*$1*" | head -5 | xargs nemo

Make the file executable:

chmod +x search

Then in the "Find commands" insert:

/path/to/my/script/search %s

The problem with this approach is that it will open a new browser for each result found! To avoid having dozens of windows opened, you can use a constraint like head or tail, wich will give a fixed number of results. In the example above, only 5 windows will be opened.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.