Page 1 of 1

Search for Files in GhostBSD

Posted: Tue Jul 18, 2017 9:38 am
by NevilleGoddard
There is a very useful application called catfish that can be used to search your computer for files. Catfish is a GTK based search utility. You can search for files using the command line but catfish makes things much easier.
To install just open OctoPkg, enter "catfish" in the search bar and install.
Or by command line "pkg install catfish".
To use catfish, simply launch the program enter the file name in the search bar and click the magnifying glass icon or press enter and catfish will find the file for you.
If you are using xfce, you can set up a custom action to use catfish by simply right-clicking while using the file manager.
To set this custom action up, open Thunar, the file manager and go to Edit -> Configure custom actions.
When the "Configure custom actions" window opens up click the + button on the right side to add the custom action.
When this window opens enter name (Whatever you like) and Description (Whatever you like) and then command .
In this window put this in "catfish --path=%f" without the " of course.
If you want an icon, click on the Icon button and enter catfish in the search bar. If nothing comes up enter search and you will find a system search icon that can be used. You could also search /usr/local/share/icons by clicking the "Image files" option from "select icon from" tab.
Then click on the "Appearance conditions" tab and under "Appears if selection contains" dialogue make sure all boxes are ticked or checked. Then click OK and then close and shut file manager.
Now open file manager (Thunar) and right click on an empty space somewhere and you should see your custom action there with the name and icon you chose.

Re: Search for Files in GhostBSD

Posted: Tue Jul 18, 2017 11:35 am
by Kernelpanic
Thanks for this trick ;)

Re: Search for Files in GhostBSD

Posted: Tue Jul 18, 2017 12:14 pm
by NevilleGoddard
No worries. :D

Re: Search for Files in GhostBSD

Posted: Sun May 06, 2018 8:39 am
by amgpuma
I know its and old post, I actually I installed GhostBSD 11.1 few days ago. I manage to install all desired packages except catfish; for whatever reasons has not been added or deleted from the repository. I saw there is a rather old 2016 version available at FreeBSD freshports https://www.freshports.org/sysutils/catfish/ although I'm not sure whether I should add freshports to GhostBSD; read somewhere that by adding freshports will "pollute" the sys and jeopardise it. I haven't seen any updated ref. only one last from the #4 version in the wiki, about installing additional software.
Thanks in advance

Re: Search for Files in GhostBSD

Posted: Sun May 06, 2018 9:30 am
by NevilleGoddard
Yes, it's usually not a good idea to mix ports and packages, but I haven't experienced any issues with catfish so far. The problem is that catfish is not in the repositories for some reason. Maybe the repo problem will be fixed soon for catfish.

Re: Search for Files in GhostBSD

Posted: Mon May 07, 2018 9:49 am
by amgpuma
OK then you suggest to add this port or just wait for a while, it's not a big drama though

Re: Search for Files in GhostBSD

Posted: Mon May 07, 2018 10:17 am
by NevilleGoddard
Yes, I'd wait for a while. The package should hopefully come into the repos soon. If it doesn't install the port.
There is also another program called "recoll". See how that works for you.

Re: Search for Files in GhostBSD

Posted: Mon May 07, 2018 4:13 pm
by amgpuma
I know recoll, but this is most a text rather than a file finder.tks anyway.