Catfish File Search for GNU/Linux
In previous articles, I've discussed how to search for files through other means, like using the command line, but I thought I'd give a quick review of the GUI search tool, Catfish.
Catfish is an extremely powerful, and yet extremely simplistic Gtk+ based graphical tool that utilizes multiple technologies already likely in your system, to complete its searches; locate and find, and utilizes zeitgeist for search suggestions.
Sometimes, I really and truthfully just don't feel like popping open a terminal, and locating a file. Sometimes, I really just want to click around with my mouse, even if its typically slower.
Note: Jack Wallen reviewed Catfish in 2009. Check out his article for additional information and find out what changed in the nine or so years since.
Installation
Installation of Catfish is pretty straightforward in most distributions simply using your package manager of choice, although as far as I am aware, Gentoo users will not have Catfish in portage and will need to find a separate overlay for it.
Using Catfish
Using Catfish on my Manjaro Xfce install is incredibly simple. By selecting the menu button in the upper right corner, users have access to enabling or disabling various options such as:
- Changing views, from a compact list, to thumbails / vice versa
- Searching / Showing hidden files
- Searching of File Contents enabled / disabled
- Exact Match searching
- Sidebar
- Search Index Update
In the top left corner of the screen, is a dropdown box for quick and easy directory changing for your searches. The search bar in the top is for your search terms.
One of the things that I love most about Catfish, is simply how fast it is. In my experiences, because it uses find and locate in the background, its extremely efficient at finding files in the blink of an eye, without using much in the way of resources, slowing down your system in the process.
Even doing a search simply for 'conf' on my laptop, which produced over 4000 results in less than 30 seconds, didn't slow it down whatsoever while Spotify, Firefox, LibreOfice, and a bunch of other things on the go all at once were all continuing without a hiccup.
Last thoughts
If you're looking for a simple, straightforward, no frills, nice and fast and easy to use search application for your system as an alternative to more clunky programs, or the mess of a terminal, Catfish might be up your alley. I don't really have any negatives to state about it, from my usage.
Now You: What do you use to search for files, or the contents of files, in terms of graphical tools? Let us know in the comments!
Related Articles
- Enable Beagle Searching in GNOME
- Power searching Linux with SearchMonkey
- Remote searching with Beagle
I find it useless. ditto
double ditto …. computers are not supposed to be manually labour intensive
give me a bloody break … really necessary to do what follows … i think NOT!
def thunar_display_path(self, path):
bus = dbus.SessionBus()
obj = bus.get_object(‘org.xfce.Thunar’, ‘/org/xfce/FileManager’)
iface = dbus.Interface(obj, ‘org.xfce.FileManager’)
#path = os.path.realpath(urllib) ###COMMENTED NO NEED TO CORRECT PATH OF FILE
url = path #urllib.urljoin(‘file:’, urllib.request.pathname2url(path)) ###NO NEED TO REARRANGE FILE ADDRESS
if os.path.isfile(path):
method = iface.get_dbus_method(‘DisplayFolderAndSelect’)
dirname = os.path.dirname(url)
filename = os.path.basename(url)
method(dirname, filename, ”, ”)
else:
method = iface.get_dbus_method(‘DisplayFolder’)
method(url, ”, ”)
after searching for some files I could not open file location from the right click menu. hanging around for half day I found that this is due to some problem in urllib used in CatfishWindow.py file. I do not know the real cause of the problem because I have the same version of catfish on another computer and it works correctly. anyway I changed this file as follows:
def thunar_display_path(self, path):
bus = dbus.SessionBus()
obj = bus.get_object(‘org.xfce.Thunar’, ‘/org/xfce/FileManager’)
iface = dbus.Interface(obj, ‘org.xfce.FileManager’)
#path = os.path.realpath(urllib) ###COMMENTED NO NEED TO CORRECT PATH OF FILE
url = path #urllib.urljoin(‘file:’, urllib.request.pathname2url(path)) ###NO NEED TO REARRANGE FILE ADDRESS
if os.path.isfile(path):
method = iface.get_dbus_method(‘DisplayFolderAndSelect’)
dirname = os.path.dirname(url)
filename = os.path.basename(url)
method(dirname, filename, ”, ”)
else:
method = iface.get_dbus_method(‘DisplayFolder’)
method(url, ”, ”)
I find it useless. I mean, great!… I found a file! Now what! I want to DO something with the files I just found.
“Even doing a search simply for ‘conf’ on my laptop, which produced over 4000 results in less than 30 seconds…”
Too slow.
Might be a name conflict. Also see: https://equi4.com/catfish/
And it’s been around for a looooooong time. I’ve been using it since it came out in fact.
Works simple & great .
Updated to Catfish 1.2.2
(latest version available
for my Ubuntu 14.04 – 32bits).
Question:
Does the search a file
using asterisk * wildcards / regexp?.
ie SEARCH:
myile12*.c
to find:
myile123.c
myile124.c
etc…
no
Searches are limited to one single word or string. There is no way to search for long filenames containing this and that and wildcards are not supported – ref – https://linuxreviews.org/Catfish
also checkout angrysearch, https://github.com/DoTheEvo/ANGRYsearch
and the “locate” command
The black background will keep me far far away. Why won’t the developer jerks provide other options?
are you serious? it doesn’t come with a black background. it depends on the GTK theme you have installed.
Very simple yet powerful tool for users.
Catfish and Recoll are the best! :)
Perhaps interesting for Mint, Ubuntu, etc. users: there is a PPA with “stable, development, and daily builds of Catfish”, maintained by the “‘Catfish Maintainers’ team”.
Details here:
https://launchpad.net/~catfish-search/+archive/ubuntu/ppa
The daily builds are very recent, but have the same version number as the stable build (1.4.2), which was release released two years ago. Perhaps there is a detailed changelog of the various 1.4.2 builds somewhere. The most recent Catfish version is 1.4.5 (source code only).
Some users may also wish to investigate the versatile search feature of Double Commander, a double panel file manager.