Search for Files in GhostBSD

Configuring and tweaking your GhostBSD System.
Post Reply
NevilleGoddard
Developer
Posts: 399
Joined: Thu Dec 22, 2016 10:30 pm
Location: Japan
Has thanked: 4 times
Been thanked: 1 time

Search for Files in GhostBSD

Post by NevilleGoddard » Tue Jul 18, 2017 9:38 am

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.

Kernelpanic
Posts: 37
Joined: Tue Sep 29, 2015 4:59 pm
Has thanked: 0
Been thanked: 0

Re: Search for Files in GhostBSD

Post by Kernelpanic » Tue Jul 18, 2017 11:35 am

Thanks for this trick ;)

NevilleGoddard
Developer
Posts: 399
Joined: Thu Dec 22, 2016 10:30 pm
Location: Japan
Has thanked: 4 times
Been thanked: 1 time

Re: Search for Files in GhostBSD

Post by NevilleGoddard » Tue Jul 18, 2017 12:14 pm

No worries. :D

amgpuma
Posts: 8
Joined: Thu Mar 12, 2015 2:54 am
Has thanked: 0
Been thanked: 0

Re: Search for Files in GhostBSD

Post by amgpuma » Sun May 06, 2018 8:39 am

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

NevilleGoddard
Developer
Posts: 399
Joined: Thu Dec 22, 2016 10:30 pm
Location: Japan
Has thanked: 4 times
Been thanked: 1 time

Re: Search for Files in GhostBSD

Post by NevilleGoddard » Sun May 06, 2018 9:30 am

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.

amgpuma
Posts: 8
Joined: Thu Mar 12, 2015 2:54 am
Has thanked: 0
Been thanked: 0

Re: Search for Files in GhostBSD

Post by amgpuma » Mon May 07, 2018 9:49 am

OK then you suggest to add this port or just wait for a while, it's not a big drama though

NevilleGoddard
Developer
Posts: 399
Joined: Thu Dec 22, 2016 10:30 pm
Location: Japan
Has thanked: 4 times
Been thanked: 1 time

Re: Search for Files in GhostBSD

Post by NevilleGoddard » Mon May 07, 2018 10:17 am

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.

amgpuma
Posts: 8
Joined: Thu Mar 12, 2015 2:54 am
Has thanked: 0
Been thanked: 0

Re: Search for Files in GhostBSD

Post by amgpuma » Mon May 07, 2018 4:13 pm

I know recoll, but this is most a text rather than a file finder.tks anyway.

Post Reply