home *** CD-ROM | disk | FTP | other *** search
/ PC-Online 1996 May / PCOnline_05_1996.bin / linux / source / xap / xfm / xfm-1.000 / xfm-1 / xfm-1.3.2 / lib / Xfm.cpp < prev    next >
Encoding:
C/C++ Source or Header  |  1995-04-14  |  4.8 KB  |  156 lines

  1. !***********************************************************************
  2. ! Application defaults for xfm.
  3. ! Most of these are the defaults anyway, but they are listed here so you can
  4. ! change them if necessary.
  5. !***********************************************************************
  6.  
  7. ! Search paths for icon files
  8. *bitmapPath: LIBDIR/bitmaps:/usr/include/X11/bitmaps
  9. *pixmapPath: LIBDIR/pixmaps:/usr/include/X11/pixmaps
  10.  
  11. ! Default applications file to be loaded at startup
  12. *applicationDataFile: ~/.xfm/Apps
  13.  
  14. ! Directory in which new application files are created
  15. *applicationDataDir: ~/.xfm
  16.  
  17. ! Clipboard for Cut/Copy/Paste operations in application window
  18. *applicationDataClip: ~/.xfm/.XfmClip
  19.  
  20. ! Configuration file (where the file types are specified)
  21. *configFile: ~/.xfm/xfmrc
  22.  
  23. ! Device configuration file (floppies and such)
  24. *devFile: ~/.xfm/xfmdev
  25.  
  26. ! Magic headers configuration file (files you recognize by their header)
  27. *magicFile: ~/.xfm/magic
  28.  
  29. ! Double click time in milliseconds
  30. *doubleClickTime:        300
  31.  
  32. ! Time interval in milliseconds for automatic folder updates (set to zero to
  33. ! disable this feature)
  34. *updateInterval:        10000
  35.  
  36. ! Just two examples -- you should not need this
  37. !*BourneShells: AUTO
  38. !*BourneShells: /bin/sh, /usr/local/bin/bash
  39.  
  40. !***********************************************************************
  41. ! Preferences
  42. !***********************************************************************
  43.  
  44. ! Geometry for application and initial file manager windows
  45. Xfm.Geometry:            265x515+565+130
  46. Xfm.initGeometry:        515x345+5+130
  47. ! Geometry for subsequent file windows
  48. Xfm.file window.Geometry:    515x345
  49.  
  50. ! If you do not want to go chasing dialog popups around the screen, but rather
  51. ! have them in a fixed location, uncomment the following (recommended)
  52. *TransientShell.geometry: +210+295
  53.  
  54. ! The following removes borders from the main menu buttons (my own preference)
  55. *file window*button box.?.borderWidth: 0
  56.  
  57. ! NOTE: The background color of icons is determined from the Xfm.background
  58. ! resource. Make sure that this resource is always given a value appropriate
  59. ! for *both* application and file windows.
  60.  
  61. ! The background color for file and application windows
  62. *background: lightgray
  63.  
  64. ! The foreground color for icon toggles; this is also used when an icon toggle
  65. ! is highlighted or marked
  66. !*viewport.icon box*Toggle.foreground: red
  67.  
  68. ! Use these only if you  have the 75dpi fonts. (recommended)
  69. *boldFont:            -adobe-helvetica-bold-r-*-*-12-*
  70. *iconFont:            -adobe-helvetica-medium-r-*-*-10-*
  71. *buttonFont:            -adobe-helvetica-medium-r-*-*-12-*
  72. *menuFont:            -adobe-helvetica-medium-r-*-*-12-*
  73. *labelFont:            -adobe-helvetica-medium-r-*-*-12-*
  74. *statusFont:            -adobe-helvetica-medium-r-*-*-10-*
  75. ! This must be a fixed width font
  76. *cellFont:            fixed
  77.  
  78. ! Specify the sizes of the different icon toggles. The following values
  79. ! are appropriate for the icons supplied with xfm.
  80. *appIconWidth: 72
  81. *appIconHeight: 60
  82. *fileIconWidth: 48
  83. *fileIconHeight: 40
  84. *treeIconWidth: 48
  85. *treeIconHeight: 32
  86.  
  87. ! Confirmation for various operations
  88. *confirmDeletes:         true
  89. *confirmDeleteFolder:         true
  90. *confirmCopies:         true
  91. *confirmMoves:             true
  92. *confirmOverwrite:        true
  93. *confirmQuit:            true
  94.  
  95. ! Echo actions on stderr (useful for debugging purposes)
  96. *echoActions:            false
  97.  
  98. ! Directory display in Text type
  99. *showOwner:             true
  100. *showDate:             true
  101. *showPermissions:         true
  102. *showLength:             true
  103.  
  104. ! The type of the first and subsequent file windows
  105. ! valid values are Tree, Icons and Text
  106. *initialDisplayType:         Icons
  107. *defaultDisplayType:         Icons
  108.  
  109. ! The type of sorting used by default
  110. ! valid values are SortBy{Name,Size,Date}
  111. *defaultSortType:         SortByName
  112.  
  113. ! The default editor to use
  114. *defaultEditor:         exec emacs
  115.  
  116. ! The default viewer to use
  117. *defaultViewer:         exec xless
  118.  
  119. !***********************************************************************
  120. ! Miscellaneous settings (see also FmMain.c)
  121. ! Normally you won't have to change these.
  122. !***********************************************************************
  123.  
  124. *Command.cursor: hand2
  125. *MenuButton.cursor: hand2
  126. *viewport.forceBars: true
  127. *popup form*bitmap.borderWidth : 0
  128. *popup form*label.borderWidth : 0
  129. *button box.orientation: horizontal
  130. *button box.borderWidth: 0
  131. *file window*viewport.borderWidth: 0
  132. *viewport.icon box*Label.borderWidth : 0
  133. *viewport.icon box.Command.borderWidth : 0
  134. *viewport.icon box.Form.borderWidth : 0
  135. *viewport.icon box*Toggle.borderWidth : 1
  136. *chmod*Label.borderWidth : 0
  137. *info*Label.borderWidth : 0
  138. *error*Label.borderWidth : 0
  139. *confirm*Label.borderWidth : 0
  140. *Text*translations : #override \n\
  141.  <Key>Return: no-op() \n\
  142.  <Key>Linefeed : no-op() \n\
  143.  Ctrl<Key>J : no-op() \n
  144. *Text*baseTranslations : #override \n\
  145.  <Key>Return: no-op() \n\
  146.  <Key>Linefeed : no-op() \n\
  147.  Ctrl<Key>J : no-op() \n
  148.  
  149. #ifdef XAW3D
  150. ! shadow widths for Xaw3d
  151. *icon box*Toggle.shadowWidth: 0
  152. *icon box*Command.shadowWidth: 0
  153. *MenuButton.highlightThickness: 0
  154. *Command.highlightThickness: 0
  155. #endif
  156.