2
0

dtresour.sgm 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  1. <!-- $XConsortium: dtresour.sgm /main/9 1996/09/08 20:18:41 rws $ -->
  2. <!-- (c) Copyright 1995 Digital Equipment Corporation. -->
  3. <!-- (c) Copyright 1995 Hewlett-Packard Company. -->
  4. <!-- (c) Copyright 1995 International Business Machines Corp. -->
  5. <!-- (c) Copyright 1995 Sun Microsystems, Inc. -->
  6. <!-- (c) Copyright 1995 Novell, Inc. -->
  7. <!-- (c) Copyright 1995 FUJITSU LIMITED. -->
  8. <!-- (c) Copyright 1995 Hitachi. -->
  9. <RefEntry Id="CDEMX.MAN83.rsml.1">
  10. <RefMeta>
  11. <RefEntryTitle>dtresourcesfile</RefEntryTitle>
  12. <ManVolNum>special file</ManVolNum>
  13. </RefMeta>
  14. <RefNameDiv>
  15. <RefName><Filename>dtresourcesfile</Filename></RefName>
  16. <RefPurpose>format and location of desktop resource files
  17. </RefPurpose>
  18. </RefNameDiv>
  19. <RefSect1>
  20. <Title>DESCRIPTION</Title>
  21. <Para>The desktop default resources can be found in
  22. /usr/dt/config/$LANG/sys.resources.
  23. These resources will be
  24. made available to each user's session via the
  25. <Symbol Role="Define">RESOURCE_MANAGER</Symbol> property.
  26. This file should not be edited as it will be unconditionally
  27. overwritten upon subsequent desktop installations.
  28. </Para>
  29. <Para>A system administrator may augment the system default resources
  30. by creating
  31. <Filename>/etc/dt/config/$LANG/sys.resources</Filename>. In this file, a
  32. system administrator may override system default resources or
  33. specify additional resources.
  34. As this file is merged into the
  35. desktop default resources during session startup, it is preferrable
  36. that only new or updated resource specifications be placed in this
  37. file, rather than a copy being made of the desktop default resource
  38. file.
  39. Resources specified in this file will be made available to
  40. each user's session via the
  41. <Symbol Role="Define">RESOURCE_MANAGER</Symbol> property.
  42. Resources
  43. specified in this file take precedence over those specified in
  44. the desktop default resource file.
  45. </Para>
  46. <Para>A user may augment the desktop default and system administrator
  47. resources via their $HOME/.Xdefaults file.
  48. Resources specified in
  49. this file will be made available to only that user's session via
  50. the RESOURCE_MANAGER property.
  51. Resources specified in this file
  52. take precedence over those specified in the desktop default or
  53. system administrator resource files.
  54. </Para>
  55. <Para><Symbol Role="Define">NOTE</Symbol> <Literal>:</Literal> The X Toolkit Intrinsics specifies that it will load resources
  56. for an application from either
  57. <Symbol Role="Define">RESOURCE_MANAGER</Symbol> or from
  58. <Filename>$HOME/.Xdefaults</Filename>, but not both.
  59. Ordinarily, this would mean that
  60. the user's
  61. <Filename>$HOME/.Xdefaults</Filename> file would be ignored.
  62. However, the
  63. session manager accommodates
  64. <Filename>$HOME/.Xdefaults</Filename> by merging it into
  65. the
  66. <Symbol Role="Define">RESOURCE_MANAGER</Symbol> at session startup as described above.
  67. If
  68. a user changes the
  69. <Filename>$HOME/.Xdefaults</Filename>, the changes will not be
  70. visible to new applications until the user invokes the
  71. ReloadResources action.
  72. </Para>
  73. <Para>The ReloadResources action will instruct the session manager to
  74. reload the
  75. <Symbol Role="Define">RESOURCE_MANAGER</Symbol> with the system, system administrator
  76. and user specified resources.
  77. This is useful to make available to
  78. new applications changes made to system administrator or user
  79. specified resource files.
  80. </Para>
  81. </RefSect1>
  82. <RefSect1>
  83. <Title>FILE FORMAT</Title>
  84. <Para>The desktop resource files use X resource syntax.
  85. See
  86. <Filename MoreInfo="RefEntry">X</Filename>(1) for
  87. the precise syntax.
  88. </Para>
  89. </RefSect1>
  90. <RefSect1>
  91. <Title>FILES</Title>
  92. <VariableList>
  93. <VarListEntry>
  94. <Term><Filename>/usr/dt/config/$LANG/sys.resources</Filename></Term>
  95. <ListItem>
  96. <Para>The desktop default resources.
  97. </Para>
  98. </ListItem>
  99. </VarListEntry>
  100. <VarListEntry>
  101. <Term><Filename>/etc/dt/config/$LANG/sys.resources</Filename></Term>
  102. <ListItem>
  103. <Para>System administrator specified resources.
  104. </Para>
  105. </ListItem>
  106. </VarListEntry>
  107. <VarListEntry>
  108. <Term><Filename>$HOME/.Xdefaults</Filename></Term>
  109. <ListItem>
  110. <Para>User specified resources.
  111. </Para>
  112. </ListItem>
  113. </VarListEntry>
  114. </VariableList>
  115. </RefSect1>
  116. <RefSect1>
  117. <Title>SEE ALSO</Title>
  118. <Para>&cdeman.dtsession;, &cdeman.dtsessionaction;, <Filename MoreInfo="RefEntry">X</Filename>(1), <Literal>Xlib Resource Manager documentation</Literal>,
  119. <Literal>Xt resource documentation</Literal>.
  120. </Para>
  121. </RefSect1>
  122. </RefEntry>
  123. <!--fickle 1.12 mancsf-to-docbook 1.2 08/07/95 01:31:55-->