5.14. Subpanel Manager
Prev | 5. GUI Tools | Next

### 5.14. Subpanel Manager

Only in NsCDE. Tool written for managing FvwmButtons transient Subpanels which are opened from the Front Panel. It is called from Install Icon action on every Subpanel. This tool exists because FvwmButtons doesn't implement drag and drop, and there is no application manager present, since this part of CDE functions cannot be easy implemented even if some file manager is taken to act as application manager.

Figure 45. Subpanel Manager

Subpanel Manager has a list of all applications which are providing system menu with it's presence (fvwm-menu-desktop is used in the background for generating application list), and the list of applications provided in the current Subpanel from which tool is called by "Install Icon". This lists are displayed on the top of the window side by side: system menu applications on the left, and current Subpanel items on the right list. There are 3 text fields: Name, Command and Icon File. This fields are automatically populated when some item from mentioned lists is clicked, but it can also be populated manually if user wishes to add a custom application, Fvwm Module, Fvwm Function or other entry manually on the Subpanel. For manually adding application entry to subpanel, initially at least one item from the list of available applications must be initially selected, and then totally or partially rewritten and overriden, otherwise, no item will be added to the subpanel. Special type of "Check for ..." is meant for entries which in command field are defining for the first command something common like shell, env etc. If we want to override a pointless check existance for this, and define other command string for checking, popdown menu option Check for ... can be selected, and small text field below popdown menu will appear, where this command can be specified. Subpanel Manager can also remove existing entries from the Subpanel.

Subpanel Manager implements this helper functions for modifying and applying settings on new items:

- Type (exec, module, function, other, check-for)

- Do not check for command existence

- Icon indicator

To place some new application from the left (all applications) list in exact place on the subpanel, select an existing entry on the subpanel (right) list. When left arrow button is clicked, new application will appear on the list exactly below that one which has been previously selected, otherwise, default is to place new entries as second entry on the subpanel's list of applications.

Click on the icon indicator will open simple file browser which can be used to find, see as preview, and set icon for manual entries which are not part of the applications list, or an alternative icon for program from applications list. Apply button regenerates subpanel, while Save button does this and also quits Subpanel Manager.

Figure 46. Configured Subpanel

Subpanels configuration file `Subpanels.actions`, can be edited by hand in `$FVWM_USERDIR` if something needs to be changed on existing entries. If editing by hand, $NSCDE_TOOLSDIR/generate_subpanels must be used to generate FVWM configuration output which must be redirected into `$FVWM_USERDIR/Subpanels.fvwmX.fvwmconf`, where "fvwmX" is either "fvwm2" or "fvwm3".

Key Bindings:

- Ctrl+Return: Perform a change. Like if OK was pressed.

- Alt+Return: Apply a change, but do not save it permanently.

- Insert: Insert selected item from application list to the subpanel list.

- Delete: Delete selected item from the subpanel list.

- Escape: Quits Subpanel Manager.

- Ctrl+Q: Quits Subpanel Manager.

- Sun Help and F1: Displays this help text.

Prev | Up | Next
5.13. Power Save Manager | Home | 5.15. Subpanel Settings