home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 1999 March B / SCO_CASTOR4RRT.iso / TEDdesk / reloc.8 / $TED_DIR / config / C / sys.dtwmrc < prev    next >
Text File  |  1998-08-19  |  5KB  |  223 lines

  1. ####################################################################
  2. #
  3. #    Original copy: /usr/dt/config/C/sys.dtwmrc
  4. #
  5. #    The Resource Description File for the TED Window Manager dtwm
  6. #
  7. #    (c) Copyright 1994, 1995 TriTeal Corporation
  8. #    (c) Copyright 1993, 1994 Hewlett-Packard Company.
  9. #    (c) Copyright 1993, 1994 International Business Machines Corp. 
  10. #    (c) Copyright 1993, 1994 Sun Microsystems, Inc.
  11. #    (c) Copyright 1993, 1994 Unix System Labs, Inc., a subsidiary
  12. #        of Novell, Inc.
  13. #
  14. #    $Revision: 1.1.1.1 $
  15. #
  16. ####################################################################
  17.  
  18. ###
  19. #
  20. #  Please make a COPY of this file before editing it.
  21. #
  22. #  Personalized copies typically exist as:
  23. #
  24. #       $HOME/.dt/dtwmrc
  25. #
  26. ###
  27.  
  28. ###
  29. #
  30. # Root Menu Description
  31. #
  32. ###
  33.  
  34.  
  35.  
  36. Menu DtRootMenu
  37. {
  38.     "Workspace Menu"            f.title
  39.      "Show GWM"            _G    f.show_gwm
  40.      "Application List"        _A    f.show_app_list
  41.      "Shuffle Up"        _U    f.circle_up
  42.      "Shuffle Down"        _D    f.circle_down
  43.      "Refresh"            _f    f.refresh
  44.      "Minimize/Restore Front Panel" _R    f.toggle_frontpanel
  45.       no-label                f.separator
  46.      "Restart Workspace Manager..." _W    f.restart
  47.       no-label                f.separator
  48.      "Log out..."        _o    f.action ExitSession
  49. }
  50.  
  51.  
  52. ###
  53. #
  54. # Front panel Manu Description
  55. #
  56. ###
  57.  
  58. Menu DtPanelMenu
  59. {
  60.     Restore            _R    f.normalize
  61.     Move            _M    f.move
  62.     Minimize            _n    f.minimize
  63.     Lower            _L    f.lower
  64.     Refresh            _f    f.refresh
  65.      no-label                f.separator
  66.     "Log out..."        _o    f.action ExitSession
  67. }
  68.  
  69.  
  70. ###
  71. #
  72. # Sample Window Menu Description
  73. # This menu description exists as a sample only.
  74. # The normal window manager menu is built in.
  75. #
  76. ###
  77.  
  78. Menu SampleWindowMenu
  79. {
  80.     "Restore"            _R            f.normalize
  81.     "Move"            _M            f.move
  82.     "Size"            _S            f.resize
  83.     "Minimize"            _n            f.minimize
  84.     "Maximize"            _x            f.maximize
  85.     "Lower"            _L            f.lower
  86.      no-label                        f.separator
  87.     "Occupy Workspace..."    _O            f.workspace_presence
  88.     "Occupy All Workspaces"    _A            f.occupy_all
  89.     "Unoccupy Workspace"    _U            f.remove
  90.      no-label                        f.separator
  91.     "Close"            _C    Alt<Key>F4    f.kill
  92. }
  93.  
  94. ###
  95. #
  96. # Alternate Window Menu Description without accelerators
  97. #
  98. ###
  99.  
  100. Menu NoAcceleratorWindowMenu
  101. {
  102.     "Restore"            _R    f.normalize
  103.     "Move"            _M    f.move
  104.     "Size"            _S    f.resize
  105.     "Minimize"            _n    f.minimize
  106.     "Maximize"            _x    f.maximize
  107.     "Lower"            _L    f.lower
  108.      no-label                f.separator
  109.     "Occupy Workspace..."    _O    f.workspace_presence
  110.     "Occupy All Workspaces"    _A    f.occupy_all
  111.     "Unoccupy Workspace"    _U    f.remove
  112.      no-label                f.separator
  113.     "Close"            _C    f.kill
  114. }
  115.  
  116.  
  117. ###
  118. #
  119. # Window Menu Description WITH accelerators
  120. #
  121. ###
  122.  
  123. Menu AcceleratorWindowMenu
  124. {
  125.     "Restore"        _R    Alt<Key>F5      f.restore
  126.     "Move"            _M    Alt<Key>F7      f.move
  127.     "Size"            _S    Alt<Key>F8      f.resize
  128.     "Minimize"        _n    Alt<Key>F9      f.minimize
  129.     "Maximize"        _x    Alt<Key>F10     f.maximize
  130.     "Lower"            _L    Alt<Key>F3      f.lower
  131.     "no-label"                                f.separator
  132.     "Occupy Workspace..."    _O    Alt<Key>F11    f.workspace_presence
  133.     "Occupy All Workspaces"    _A    Alt<Key>F12    f.occupy_all
  134.     "Unoccupy Workspace"    _U    Alt<Key>F6     f.remove
  135.     "no-label"                    f.separator
  136.     "Close"            _C    Alt<Key>F4    f.kill
  137. }
  138.  
  139.  
  140. ###
  141. #
  142. # Key Bindings Description
  143. #
  144. ###
  145.  
  146. Keys DtKeyBindings
  147. {
  148.  
  149.  
  150. #   Alt<Key>Menu        root|icon|window    f.toggle_frontpanel 
  151.  
  152.     Shift<Key>Escape        icon|window        f.post_wmenu
  153.     Alt<Key>space        icon|window        f.post_wmenu
  154.     Alt<Key>Tab            root|icon|window    f.next_key
  155.     Alt Shift<Key>Tab        root|icon|window    f.prev_key
  156.     Alt<Key>Escape        root|icon|window    f.next_key
  157.     Alt Shift<Key>Escape    root|icon|window    f.prev_key
  158.     Alt<Key>Down        root|icon|window    f.circle_down
  159.     Alt<Key>Up            root|icon|window    f.circle_up
  160.     Alt Ctrl Shift<Key>exclam    root|icon|window    f.set_behavior
  161.     Alt<Key>F6            window            f.next_key transient
  162.     Alt<Key>F10            root|icon|window    f.menu DtRootMenu
  163.     <Key>SunFront               ifkey|icon|window       f.raise_lower
  164.     <Key>SunOpen                ifkey|window            f.minimize
  165.     <Key>SunOpen                ifkey|icon              f.normalize
  166.  
  167. }
  168.  
  169. ###
  170. #
  171. # Mouse Button Bindings Description
  172. #
  173. ###
  174.  
  175. Buttons DtButtonBindings
  176. {
  177.     <Btn1Down>        root            f.marquee_selection
  178.     <Btn3Down>        root            f.menu  DtRootMenu
  179.     <Btn1Down>        frame|icon        f.raise
  180.     <Btn3Down>        frame|icon        f.post_wmenu
  181.     Alt<Btn1Down>    icon|window        f.move
  182.     Alt<Btn3Down>    window            f.minimize
  183. }
  184.  
  185.  
  186. ###
  187. #
  188. # Defaults:   Window menus, key bindings, and mouse button bindings
  189. #
  190. ###
  191.  
  192. Menu DefaultWindowMenu
  193. {
  194.     "Restore"    _R    Alt<Key>F5    f.normalize
  195.     "Move"    _M    Alt<Key>F7    f.move
  196.     "Size"    _S    Alt<Key>F8    f.resize
  197.     "Minimize"    _n    Alt<Key>F9    f.minimize
  198.     "Maximize"    _x    Alt<Key>F10    f.maximize
  199.     "Lower"    _L    Alt<Key>F3    f.lower
  200.     no-label                f.separator
  201.     "Close"    _C    Alt<Key>F4    f.kill
  202. }
  203.  
  204. Keys DefaultKeyBindings
  205. {
  206.     Shift<Key>Escape        icon|window        f.post_wmenu
  207.     Alt<Key>space        icon|window        f.post_wmenu
  208.     Alt<Key>Tab        root|icon|window    f.next_key
  209.     Alt Shift<Key>Tab        root|icon|window    f.prev_key
  210.     Alt<Key>Escape        root|icon|window    f.next_key
  211.     Alt Shift<Key>Escape    root|icon|window    f.prev_key
  212.     Alt Ctrl Shift<Key>exclam    root|icon|window    f.set_behavior
  213.     Alt<Key>F6            window            f.next_key transient
  214. }
  215.  
  216. Buttons DefaultButtonBindings
  217. {
  218.     <Btn1Down>        frame|icon    f.raise
  219.     <Btn3Down>        icon        f.post_wmenu
  220. }
  221.  
  222. #################  End of the dtwmrc file   #####################
  223.