Using Xresources or Xdefaults files with X-Win32
X-Win32 8 and later allow you to use a .Xresources or .Xdefaults file that will be read by X-Win32 on startup. This allows you to maintain your Xresources on your X-Win32 machine instead of on many differnt remote Linux and UNIX machines.
You can simply copy your Xresources or Xdefaults file from your remote host and place it in one of the locations below and X-Win32 will read it in as the resource database on startup (i.e. it will be read into the RESOURCE_MANAGER property of the root window, just as xrdb would do). Note that only one such file will be read and the files are searched in the order that they are listed below.
You can verify the contents of the RESOURCE_MANAGER property by running the command below:
xprop -root | grep RESOURCE_MANAGER
Limitations
Note that this feature supports only simple Xresources files (i.e. it does not support complex preprocessor directives such as #if color in the file); preprocessor directives are simply stripped from the file when it is read and the resulting text is added to the resource database. This is unlikely to be a problem for most users; however, you may need to remove some conflicting sections from your Xresources file if the results are not what you had expected.
When an Xresources file is present, the *customization: -color entry in the resource database that is set when Set Xresource defaults is checked on X-Config’s Window form will no longer be set; if you want this to be set when using an Xresources file, you must include that setting in your Xresources file.
Search path for Xresources and Xdefaults
- Per user settings (e.g. C:\Documents and Settings\user\Application Data\...)
- [Application Data]/StarNet/X-Win32/Xresources
- [Application Data]/StarNet/X-Win32/.Xresources
- [Application Data]/StarNet/X-Win32/Xdefaults
- [Application Data]/StarNet/X-Win32/.Xdefaults
- Per installation settings (e.g. C:\Program Files\StarNet\X-Win32 8.0\...)
- [InstallDir]/Xresources
- [InstallDir]/.Xresources
- [InstallDir]/Xdefaults
- [InstallDir]/.Xdefaults

Solutions