This is for use with the fvwm window manager (or the fvwm95 window manager). It turns tkgoodstuff into an fvwm module, initiating communication with fvwm.
The main use of the Fvwm interface is in enabling some of tkgoodstuff's more useful clients: WindowList and Pager. The Fvwm interface also makes the default behavior of a depressed unix command button to move to and raise the (next) window in which the command is running (but see the description of the "windowname") button parameter.
It also allows you to:
fvwm send 0 {Menu Utilities Nop ""}
You do not do anything to load fvwm as a client. It loads automatically if tkgoodstuff is started as an fvwm module.
This client REQUIRES that you run fvwm2 (or fvwm95).
You must start tkgoodstuff as an fvwm module. To do this, in your .fvwmrc set ModulePath to a directory path which includes your tkgoodstuff library directory. For example:
ModulePath /usr/lib/X11/fvwm2:/usr/local/lib/tkgoodstuffYou now have an fvwm module called "tkgoodstuff", which you invoke like any other fvwm module, e.g., in fvwm's InitFunction. Here's how in fvwm2:
AddToFunc InitFunction "I" Module tkgoodstuffYou also can make "Module tkgoodstuff" an item on your fvwm menus. To specify a configuration file, use "Module tkgoodstuff -f filename".
Also, if you use the Fvwm client, the fvwm window style pararmeters for the tkgoodstuff panel will be set automatically.
FvwmNextOrExec emacsThis will zap you to a running emacs window, or start emacs if there is no such window. (What it actually does it to tell fvwm to move to and raise the next window called "emacs" (either its window name or its resource class) in tkgoodstuff's list of windows if there is one, and to run the unix command "emacs" otherwise. An optional second argument is for a different window name to look for (in case the window is not called by the program name. This example, however, is probably not something you would need to do, because a Button with the unix command "emacs" with Fvwm loaded does better automatically: it makes the raised button run emacs and stay down until the emacs session is over, AND clicking on the sunken button now focuses on an emacs window (if there are several, we cycle through them).
FvwmNext cmd ?name?(Primarily for "advanced" users and client writers.) These commands enable you to go to the next (or previous) window with a given name. Repeated calls will cycle through all windows with the given name.