9.19. Main.fvwmconf
Prev | 9. Configuration files explained | Next

### 9.19. Main.fvwmconf

Core configuration. This file is read as first initialization upon starting FVWM Window Manager. In fact, FVWM is invoked with `-f /path/to/Main.fvwmconf` to read it instead of default FVWM system configuration or user's `~/.fvwm/config`. This invocation and configuration in `Main.fvwmconf` changes everything: it avoids `~/.fvwm` if user has a plain (normal) FVWM setup, defines and redefines FVWM internal variables and sets `NSCDE_ROOT`, configures some core FVWM options (like `DefaultIcon`), defines main FVWM Read command wrapper `f_ReadCfg`, sets desktop names, reads `NsCDE.conf` depending if user has it, or system-wide one, defines `StartFunction`, `DesktopSize`, and then reads most of the files described in this documents, composing NsCDE FVWM configuration. Care must be taken NOT to read this file with `f_ReadCfg`, because it will end up in the endless CPU hogging loop because `f_ReadCfg` will be destroyed and recreated during it's own execution. This file should never be overridden in `$FVWM_USERDIR`. It is the init(8) of the NsCDE system.

Prev | Up | Next
9.18. Mousebindings.fvwmconf | Home | 9.20. Menus.fvwmconf