This file is not FVWM configuration file. It is written by the
Subpanels Manager,
Subpanel Settings, or
manually with editor, and read by the /usr/local/libexec/nscde/generate_subpanels
command which will generate
NsCDE-Subpanels.conf
file in user's
$FVWM_USERDIR
.
The syntax of this file is simple. It is CSV-like file where values are delimited with a comma ",".
Every line belongs to one of the ten subpanels. Comma and "'" characters cannot be part of
the field values. This values are:
S<X>: where <X> is a number from 1 to 10 indicates which subpanel's line is this
NAME, WIDTH, ENABLED, ENTRY: second line indicates subpanel's display name, subpanel's width regarding font and long application names on the menu, state of enablement, and entries defined for this subpanel. ENTRY lines can be multiple (as much as screen resolution allows), other values must be unique for every subpanel.
For NAME, WIDTH and ENABLED, there is only a third parameter: for a NAME the name of the subpanel, WIDTH is an integer (reasonable values: 120 - 260), and enabled is boolean 1 or 0.
For ENTRY lines, there are fields application title, check type, icon path and name,
and command with arguments fields that must be defined. Title is name of the entry. For example
"Firefox" or "Workstation Info". Check type can be one of "FVWM-M" for FVWM module, "FVWM-F" for
FVWM function, "OTHER" (currently unused), CHECK:<appname> where <appname> is the
command which should be checked for existance instead of the first string of the command field,
empty space (nothing between commas: ,,), and NOCHK
which indicates that no check for
a command existance should be done in NsCDE-Subpanels.conf
.
Most of the entries will default to empty which will prepend
Test (x <appname>)
to the entry specification in the resulting
FvwmButtons(8) config.
Icon is full path of the icon file (32x32) which should belong
to the application. and the rest of the line is application's calling command, possibly
with options and arguments.