home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World Interactive 1996 May / PCW_MAY_1996_LINUX_UKUUG.ISO / root / .mwmrc < prev    next >
Text File  |  1995-10-29  |  5KB  |  216 lines

  1. ! (c) Copyright 1989, 1990, 1991, 1992 OPEN SOFTWARE FOUNDATION, INC. 
  2. ! ALL RIGHTS RESERVED 
  3. ! Motif Release 1.2
  4.  
  5. !!
  6. !!  DEFAULT Mwm 1.2 RESOURCE DESCRIPTION FILE (system.mwmrc)
  7. !!
  8. !!  NOTE: To personalize this file, copy this file before editing it.
  9. !!        Personalize copies of the Mwm resource file typically
  10. !!      reside as:
  11. !!
  12. !!        $HOME/.mwmrc
  13. !!
  14.  
  15. !!
  16. !! Root Menu Description (this menu must be explicitly posted via f.menu)
  17. !!
  18.  
  19. Menu DefaultRootMenu
  20. {
  21.     "Root Menu"        f.title
  22.     "New Window"        f.exec "mxterm -ls &"
  23.     "Print Window"         f.exec "xwd -frame | xwdtopnm | lp"
  24.     "Documentation"        f.exec "documentation &"
  25.     "Administration"    f.exec "xadmin &"
  26.     "Programs..."        f.menu Programs
  27.     "Utilities..."        f.menu Utilities
  28.     "Games..."        f.menu Games
  29.     "Demos..."        f.menu Demos
  30.     no-label        f.separator
  31.     "Pack Icons"        f.pack_icons
  32.     "Pan"            f.track_pan
  33.     DEFAULT_NAME        f.cci <_WSM_SWITCH_WORKSPACE>
  34.     DEFAULT_NAME        f.cci <_WSM_HIDE_WSM>
  35.     "Windowmanager"        f.menu Windowmanager
  36.     no-label        f.separator
  37.     "Quit..."        f.quit_mwm
  38. }
  39.  
  40. Menu Windowmanager
  41. {
  42.     "Restart Mwm"        f.restart
  43.     "Panner"        f.exec "panner &"
  44.     "Mwm (edit .profile)"    f.exec "switchwm mwm"
  45.     "Fvwm (edit .profile)"    f.exec "switchwm fvwm"
  46.     "Olvwm (edit .profile)"    f.exec "switchwm olvwm"
  47. }
  48.  
  49. Menu Programs
  50. {
  51.     "XTerm"            f.exec "xterm &"
  52.     "Filemanager"        f.exec "moxfm &"
  53.     "Editor"        f.exec "editor &"
  54.     "Mail"            f.exec "xmail -m &"
  55.     "Calculator"        f.exec "xcalc &"
  56.     "Manual"        f.exec "xman &"
  57.     "Clipboard"        f.exec "xclipboard &"
  58.     "Magnify"        f.exec "xmag &"
  59.     "Planner"        f.exec "plan &"
  60. }
  61.  
  62. Menu Utilities
  63. {
  64.     "Shuffle Up"        f.circle_up
  65.     "Shuffle Down"        f.circle_down
  66.     "Refresh"        f.refresh
  67.     "Pack Icons"        f.pack_icons
  68. !    "Toggle Behavior..."    f.set_behavior
  69.     "Print Window"         f.exec "xwd -frame | xwdtopnm | lp"
  70.     "Console"        f.exec "xconsole &"
  71. }
  72.  
  73. Menu Demos
  74. {
  75.     "stx (Smalltalk/X, see /usr/pkg/stx)"    f.exec "stx &"
  76.     "siscadp (CAD, german version)"        f.exec "siscadp &"
  77.     "ODD (Open Data Desktop) DB interface"    f.exec "odd-demo &"
  78.     "PAF (PathFinder) code browser"        f.exec "paf-demo &"
  79.     "periodic (Motif demo)"            f.exec "periodic &"
  80.     "sampler2_0 (Motif 2.0 demo)"        f.exec "sampler2_0 &"
  81.     "X11 Demos..."        f.menu X11Demos
  82.     "Games..."        f.menu Games
  83. }
  84.  
  85. Menu X11Demos
  86. {
  87.     "xlogo"            f.exec "xlogo &"
  88.     "oclock"        f.exec "oclock &"
  89.     "t3d"            f.exec "t3d &"
  90.     "xeyes"            f.exec "xeyes -geometry 60x44-180+0 &"
  91.     "ico"            f.exec "ico &"
  92.     "maze"            f.exec "maze &"
  93.     "xsnow"            f.exec "xsnow &"
  94. }
  95.  
  96. Menu Games
  97.     "Chess"            f.exec "xboard &"
  98.     "Mahjongg"        f.exec "xmahjongg &"
  99.     "Tetris"        f.exec "xtetris &"
  100.     "Hextris"        f.exec "xhextris &"
  101.     "Nethack"        f.exec "nethack &"
  102.     "Sokoban"        f.exec "xsokoban &"
  103.     "Spider"        f.exec "spider &"
  104.     "Patience"        f.exec "xpat &"
  105.     "Teddy"            f.exec "xteddy &"
  106.     "xbill"            f.exec "xbill &"
  107.     "Flugsimulator"        f.exec "acm &"
  108.     "Maelstrom"        f.exec "Maelstrom &"
  109.     "xboing"        f.exec "xboing &"
  110.     "xdemineur"        f.exec "xdemineur &"
  111.     "xevil"            f.exec "xevil &"
  112.     "xlander"        f.exec "xlander &"
  113.     "xkoules"        f.exec "xkoules &"
  114.     "xmandel"        f.exec "xmandel &"
  115.     "xmille"        f.exec "xmille &"
  116.     "xrubik"        f.exec "xrubik &"
  117.     "xreversi"        f.exec "xreversi &"
  118. }
  119.  
  120. Menu RootMenu_1.1
  121. {
  122.     "Root Menu"        f.title
  123.     "New Window"        f.exec "mxterm &"
  124.     "Shuffle Up"        f.circle_up
  125.     "Shuffle Down"        f.circle_down
  126.     "Refresh"        f.refresh
  127. !    "Pack Icons"        f.pack_icons
  128. !    "Toggle Behavior"    f.set_behavior
  129.     no-label        f.separator
  130.     "Restart..."        f.restart
  131. }
  132.  
  133. !!
  134. !! Default Window Menu Description
  135. !!
  136.  
  137. Menu DefaultWindowMenu
  138. {
  139.     Restore        _R    Alt<Key>F5    f.restore
  140.     Move        _M    Alt<Key>F7    f.move
  141.     Size        _S    Alt<Key>F8    f.resize
  142.     Minimize    _n    Alt<Key>F9    f.minimize
  143.     Maximize    _x    Alt<Key>F10    f.maximize
  144.     Lower        _L    Alt<Key>F3    f.lower
  145.     Pin        _P            f.toggle_pin_state
  146.     no-label                f.separator
  147.     Close        _C    Alt<Key>F4    f.kill
  148. }
  149.  
  150.  
  151. !!
  152. !! Key Binding Description
  153. !!
  154.  
  155. Keys DefaultKeyBindings
  156. {
  157.     Shift<Key>Escape    window|icon        f.post_wmenu
  158.     Alt<Key>space        window|icon        f.post_wmenu
  159.     Alt<Key>Tab        root|icon|window    f.next_key
  160.     Alt Shift<Key>Tab    root|icon|window    f.prev_key
  161.     Alt<Key>Escape        root|icon|window    f.circle_down
  162.     Alt Shift<Key>Escape    root|icon|window    f.circle_up
  163.     Alt Shift Ctrl<Key>exclam root|icon|window    f.set_behavior
  164.     Alt<Key>F6        window            f.next_key transient
  165.     Alt Shift<Key>F6    window            f.prev_key transient
  166.     Shift<Key>F10        icon            f.post_wmenu
  167. !    Alt Shift<Key>Delete    root|icon|window    f.restart
  168. }
  169.  
  170. !!
  171. !! Button Binding Description(s)
  172. !!
  173.  
  174. Buttons DefaultButtonBindings
  175. {
  176.     <Btn1Down>    icon|frame    f.raise
  177.     <Btn1Down>    root        f.menu    DefaultRootMenu
  178.     <Btn3Down>    icon|frame    f.post_wmenu
  179.     <Btn3Down>    root        f.menu    DefaultRootMenu
  180. }
  181.  
  182. Buttons ExplicitButtonBindings
  183. {
  184.     <Btn1Down>    frame|icon    f.raise
  185.     <Btn1Down>    root        f.menu    DefaultRootMenu
  186.     <Btn3Down>    frame|icon    f.post_wmenu
  187.     <Btn3Down>    root        f.menu    DefaultRootMenu
  188. !    <Btn1Up>    icon        f.restore
  189.     Alt<Btn1Down>    window|icon    f.lower
  190. !    Alt<Btn2Down>    window|icon    f.resize
  191. !    Alt<Btn3Down>    window|icon    f.move
  192.  
  193. }
  194.  
  195. Buttons PointerButtonBindings
  196. {
  197.     <Btn1Down>    frame|icon    f.raise
  198.     <Btn1Down>    root        f.menu    DefaultRootMenu
  199.     <Btn3Down>    frame|icon    f.post_wmenu
  200.     <Btn3Down>    root        f.menu    DefaultRootMenu
  201.     <Btn1Down>    window        f.raise
  202. !    <Btn1Up>    icon        f.restore
  203.     Alt<Btn1Down>    window|icon    f.lower
  204. !    Alt<Btn2Down>    window|icon    f.resize
  205. !    Alt<Btn3Down>    window|icon    f.move
  206. }
  207.  
  208. !!
  209. !!  END OF mwm RESOURCE DESCRIPTION FILE
  210. !!
  211.