Search for Files in GhostBSD

Configuring and tweaking your GhostBSD System.

Search for Files in GhostBSD

Postby NevilleGoddard » Tue Jul 18, 2017 8: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.
NevilleGoddard
Developer
 
Posts: 339
Joined: Thu Dec 22, 2016 10:30 pm
Has thanked: 74 times
Been thanked: 43 times

Search for Files in GhostBSD


Re: Search for Files in GhostBSD

Postby Kernelpanic » Tue Jul 18, 2017 10:35 am

Thanks for this trick ;)
Kernelpanic
 
Posts: 37
Joined: Tue Sep 29, 2015 3:59 pm
Has thanked: 4 times
Been thanked: 1 time

Re: Search for Files in GhostBSD

Postby NevilleGoddard » Tue Jul 18, 2017 11:14 am

No worries. :D
NevilleGoddard
Developer
 
Posts: 339
Joined: Thu Dec 22, 2016 10:30 pm
Has thanked: 74 times
Been thanked: 43 times


Return to Tips and Tricks

Who is online

Users browsing this forum: No registered users and 1 guest