Daniel's File Selection Hack (dfish) is a generic front-end for selecting files.
Running dfish will give you a menu with all the files in
the specified directory, which satisfy the mask. When you
double-click a file, the specified command will be run.
The "refresh" button reloads the directory contents.
Title of the window is the command, in order not to confuse
more dfish windows running at the same time.
The program is useful for example if you have a commandline-based
program with no suitable front-end: dfish is in fact a generic
front-end for a lot of possible programs.
When glob_mask is omitted, it defaults to '*': all files.
example
dfish /home/user/my_backgrounds "fbsetbg -f" '*.jpg'
will display all the JPG images in the directory /home/user/my_backrounds,
double-clicking any image will set it as a desktop background,
because that's what the "fbsetbg" command do.
download
You can download the package here.
The program is architecture independent, it requires only Tcl/Tk.
author
Written by Daniel Novotny
web design: Trofozoit