Sophie

Sophie

distrib > Fedora > 14 > x86_64 > by-pkgid > 59211def61df135ee568a7912e1909c4 > files > 5

dfish-1.3-1.fc13.noarch.rpm

Daniel's File Selection Hack

REQUIRES:
Tcl/Tk

COMMAND LINE SYNTAX:
dfish directory command [glob_mask]

USAGE:
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.

NOTE:
The glob_mask *must* be in apostrophes, to escape it from the shell,
the command in double quotes in order to specify its parameters: to
know which parameters belong to it and which belong to dfish... 

LICENCE:
GNU GPL

AUTHOR:
Daniel Novotny (danielsoft@seznam.cz)