15. Integration with X resources and widgets

15.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 /usr/local/sbin/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 places 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 /usr/local/share/nscde/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.