17. Integration with X resources and widgets
Prev |  | Next

## 17. Integration with X resources and widgets

### 17.1. Integration of X resources

NsCDE is using it's own copies of `Xdefaults` and includes files for X resources integration in `$FVWM_USERDIR`. X resources are filled with this from $NSCDE_ROOT/bin/nscde main wrapper during startup as the part of session assembling. Variable `XAPPLRESDIR` is also adjusted to `$FVWM_USERDIR/app-defaults`. There can be problems while using certain X session managers or DE which are clearing environment on a startup, and in this cases user must take care to put environment from nscde wrapper in place after startup. Probably autostart job in `$HOME/.config/autostart` and select from Session Manager's app will do the job.

Special private paths for X resources are used in order not to mess with user's maybe existing resources and files. If wanted, custom app-defaults files can be placed in `$FVWM_USERDIR/app-defaults` or even better, `$FVWM_USERDIR/templates/app-defaults` and reworked for Color Style Manager integration, because if find in that directory, and with .tmpl extension, it will be processed in the same way as system files from `$NSCDE_DATADIR/config_templates/app-defaults/` and put in `$FVWM_USERDIR/app-defaults`.

Plain custom X resources can be put in `$FVWM_USERDIR/Xdefaults.local`. This file will not be overwritten by Style Managers. X resources integration is turned on by default in Color Style Manager.

Prev |  | Next
16. Diagnostic: X11, FVWM and Watch Errors | Home | 17.2. Gtk2, Gtk3, Qt4, Qt5 and Qt6