DTRESOURCESFILE(4)
okay bestie, welcome to dtresourcesfile(special file) β the manual page all about the format and location of desktop resource files. Itβs giving βfilesystem lore but make it session startup,β and weβre gonna get through it together. π
πΈ NAME πΈ
dtresourcesfile β format and location of desktop resource files. Short, iconic, to the point. π
π DESCRIPTION π
The desktop default resources live at /nix/store/6waxpwr8lzfzc9ka48gl7yh60rqvlkdb-cde-2.5.3/config/$LANG/sys.resources. Those resources get made available to each userβs session through the RESOURCE_MANAGER property. Do not edit this file, bestie β it will be unconditionally overwritten upon subsequent desktop installations. No cap. π
A system administrator may augment the system default resources by creating /nix/store/6waxpwr8lzfzc9ka48gl7yh60rqvlkdb-cde-2.5.3/etc/config/$LANG/sys.resources. In this file, the system administrator may override system default resources or specify additional resources. Because this file gets merged into the desktop default resources during session startup, it is preferable to put only new or updated resource specifications in this file β rather than making a copy of the desktop default resource file. Resources specified in this file will be made available to each userβs session via the RESOURCE_MANAGER property. Resources specified in this file take precedence over those specified in the desktop default resource file. Precedence tea, periodt. βπ
A user may augment the desktop default resources and system administrator resources via their $HOME/.Xdefaults file. Resources specified in this file will be made available to only that userβs session via the RESOURCE_MANAGER property. Resources specified in this file take precedence over those specified in the desktop default or system administrator resource files. User customization main character energy, fr fr. β¨
β οΈ NOTE : The X Toolkit Intrinsics specifies that it will load resources for an application from eitherRESOURCE_MANAGERor from$HOME/.Xdefaults, but not both. Ordinarily, this would mean that the userβs$HOME/.Xdefaultsfile would be ignored. However, the session manager accommodates$HOME/.Xdefaultsby merging it into theRESOURCE_MANAGERat session startup as described above. If a user changes the$HOME/.Xdefaults, the changes will not be visible to new applications until the user invokes theReloadResourcesaction. Important caveat, bestie β do not let the βnot bothβ part catch you lacking. π
The ReloadResources action will instruct the session manager to reload the RESOURCE_MANAGER with the system, system administrator, and user specified resources. This is useful to make available to new applications changes made to system administrator or user specified resource files. Itβs literally the refresh button for resource vibes. π
π FILE FORMAT π
The desktop resource files use X resource syntax. See X(1) for the precise syntax. Thatβs the whole format section β precise like a good winged eyeliner. π
π¦ FILES π¦
/nix/store/6waxpwr8lzfzc9ka48gl7yh60rqvlkdb-cde-2.5.3/config/$LANG/sys.resourcesβ The desktop default resources./nix/store/6waxpwr8lzfzc9ka48gl7yh60rqvlkdb-cde-2.5.3/etc/config/$LANG/sys.resourcesβ System administrator specified resources.$HOME/.Xdefaultsβ User specified resources.
π₯ SEE ALSO π₯
dtsession(1)dtsessionaction(5)X(1)- Xlib Resource Manager documentation
- Xt resource documentation
Thatβs the page, bestie β footer says dtresourcesfile(special file), with no extra version/date tea in this one. Stay slay and keep your resources in check π
β¨
π¦ where this page comes from
- nixos 26.05: cde 2.5.3
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms