f4 - fuzzy file finder gtkdialog - 1.0.0
f4 - fuzzy file finder CLI in a GTK dialog
This is yet another file finder script for Fatdog64, FossaPup, FossaDog and Slacko64.
Since my main development focus is Fatdog64, you will forgive me if something minor went amiss for the Fossas and Slacko. I did test with virtual machines running the Fossas and Slacko and f4 seemed to work fine, you'll see. But I digress.
f4 combines the power of fzf, a very popular fuzzy finder for the command line interface (CLI), with gtkdialog compiled with VTE. The result is a live search that updates results as you type your search terms. By default the search terms are approximate, so you don't need to have perfect recollection of file names. You can combine approximate and exact search terms together with AND and OR, and even negate some terms. The search dialog includes a comprehensive built-in help, both as text and HTML. Some advanced controls are available to tweak the search engine though my design goal was to write something simple enough that one could use just by running the search terms.
When you spot the file/folder that you are looking for in the search results list, place the cursor on it and press ENTER to locate it in a ROX window. Pressing control-o opens the file with its associated program--for a document--or executes it directly--for a program and the like. Locating and opening multiple items at once is supported. Saving and reusing the list of search results are also supported.
ROX is not a requirement. You can override it with an environment variable. I tried to set pcmanfm for FossaDog but it simply wasn't convenient, so I'll leave it to FossaDog users to suggest an alternative for ROX.
Links
You will find a .tar.gz file for all supported platforms. Download it, unpack it in /tmp, read the included README file. This .tag.gz file includes an install script. Fossas users can install dependencies from their package repositories. Fatdog64 users, should install packages fzf-0.25.1 and gtkdialog-vte with Fatdog64's Gslapt. The next post includes additional instructions for Slacko64 users.