box.defs 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158
  1. !######################################################################
  2. !#
  3. !# File: box.defs
  4. !#
  5. !# Directory: /usr/lib/X11/dt/examples/Dtwm
  6. !#
  7. !# Description: Sample Application Defaults for the
  8. !# HP DT Window Manager
  9. !# (Tuned for HighResHighColor screens)
  10. !#
  11. !# Hewlett-Packard Visual User Environment, Version 2.1
  12. !#
  13. !# Copyright (c) 1990 Hewlett-Packard Company
  14. !#
  15. !# $XConsortium: box.defs /main/2 1996/07/18 15:27:36 drk $
  16. !#
  17. !######################################################################
  18. !#########
  19. !#
  20. !# This dtwm resource file is used in conjunction with the
  21. !# "box.rc" file to create a box-shaped front panel in the upper
  22. !# right corner of the screen.
  23. !#
  24. !# Merge these resources into your display environment
  25. !# using the command:
  26. !#
  27. !# xrdb -merge box.defs
  28. !#
  29. !# Then, restart the window manager for the changes to take effect.
  30. !#
  31. !#########
  32. !#########
  33. !#
  34. !# Specify the name of the front panel description within the RC file.
  35. !#
  36. !#########
  37. dtwm*frontPanel*name: BoxedFrontPanel
  38. !#########
  39. !#
  40. !# The following resources set the desired background pixmaps for
  41. !# the rows in the front panel.
  42. !#
  43. !#########
  44. dtwm*frontPanel*Top*rowBackgroundPixmap: ribbing.l.bm
  45. dtwm*frontPanel*Terminals*rowBackgroundPixmap: ribbing.l.bm
  46. dtwm*frontPanel*Middle*rowBackgroundPixmap: 50_foreground
  47. dtwm*frontPanel*Bottom*rowBackgroundPixmap: 50_foreground
  48. !#########
  49. !#
  50. !# The following resources help create a tightly packed front panel.
  51. !#
  52. !#########
  53. dtwm*frontPanel*wsButtonBorder: 0
  54. dtwm*frontPanel*wsButtonSpacing: 0
  55. dtwm*frontPanel*wsButtonShadowThickness: 3
  56. dtwm*frontPanel*highlightThickness: 0
  57. !#########
  58. !#
  59. !# Here's where the workspace names are specified. The number
  60. !# of workspaces is determined by the number of names.
  61. !#
  62. !#########
  63. dtwm*workspaceList: Main Two Three Four
  64. !#########
  65. !#
  66. !# This resource removes the backdrop from the "Main" workspace
  67. !# to expose the real X root window.
  68. !#
  69. !#########
  70. dtwm*Main*backdrop*image: none
  71. !#########
  72. !#
  73. !# These optional resources simply make the entire front panel a
  74. !# single color (which is the same as the inactive window frame color).
  75. !#
  76. !#########
  77. dtwm*frontPanel*Top*colorSetId: 2
  78. dtwm*frontPanel*Middle*colorSetId: 2
  79. dtwm*frontPanel*Terminals*colorSetId: 2
  80. dtwm*frontPanel*Bottom*colorSetId: 2
  81. !#########
  82. !#
  83. !# This resource puts the front panel in the upper-right corner of the
  84. !# screen.
  85. !#
  86. !#########
  87. dtwm*geometry: -1+1
  88. !#########
  89. !#
  90. !# This resource makes for compact window frames.
  91. !#########
  92. dtwm*resizeBorderWidth: 7
  93. !#########
  94. !#
  95. !# These resources make for a slighly different date display.
  96. !#
  97. !#########
  98. dtwm*dtwmdate*format: @(#) box.defs 1.11@(#)n%b %.1d
  99. dtwm*frontPanel*dtwmdate*fontList1: system16
  100. dtwm*frontPanel*dtwmdate*fontList2: system23
  101. !#########
  102. !#
  103. !# Enable "pointer focus" and "auto raise".
  104. !#
  105. !#########
  106. dtwm*keyboardFocusPolicy: pointer
  107. dtwm*focusAutoRaise: True
  108. !#########
  109. !#
  110. !# This resource must be specified for the customized window menu to
  111. !# be used.
  112. !#
  113. !#########
  114. dtwm*windowMenu: DtWindowMenu
  115. !#########
  116. !#
  117. !# Font to use in the workspace switch
  118. !#
  119. !#########
  120. dtwm*fontList: system17
  121. !#########
  122. !#
  123. !# These names add window and icon title to the terminal windows started
  124. !# from the "Terminals" row of the front panel. (You can also add
  125. !# machine-specific resources like geometry, colors, etc.) Replace the
  126. !# hostnames with the ones you use in the "Terminals" row of the
  127. !# front panel description.
  128. !#
  129. !#########
  130. Host1*Title: hostname1
  131. Host1*iconName: hostname1
  132. Host2*Title: hostname2
  133. Host2*iconName: hostname2
  134. Host3*Title: hostname3
  135. Host3*iconName: hostname3
  136. Host4*Title: hostname4
  137. Host4*iconName: hostname4
  138. Host5*Title: hostname5
  139. Host5*iconName: hostname5
  140. Host6*Title: hostname6
  141. Host6*iconName: hostname6
  142. Console*Title: Console
  143. Console*iconName: Console
  144. !################################# eof ##############################