home *** CD-ROM | disk | FTP | other *** search
/ Chip 2000 May - Linux Special / SU6400.E02.ISO / dosutils / exceed / USER / MWMRC < prev    next >
Encoding:
Text File  |  1999-10-29  |  4.2 KB  |  166 lines

  1. #
  2. # (c) Copyright 1989, 1990, 1991, 1992 OPEN SOFTWARE FOUNDATION, INC. 
  3. # ALL RIGHTS RESERVED 
  4. # Motif Release 1.2
  5.  
  6. #
  7. #  DEFAULT mwm RESOURCE DESCRIPTION FILE (.mwmrc)
  8. #
  9.  
  10. #  Note: This sample resouce file contains menu items to run local X
  11. #  clients only.  The following menu item is an example of running a
  12. #  X client on an remote host.
  13. #
  14. #    "Xcalc"            f.exec "xstart xcalc.xs"
  15. #
  16. #  The Xstart.exe program can be used to create the file '*.xs' which
  17. #  specifies the remote host and the X client command.
  18.  
  19.  
  20. #
  21. # menu pane descriptions
  22. #
  23.  
  24. Menu MyRootMenu
  25. {
  26.     @xlogo16                    f.title
  27.     "Refresh"            f.refresh
  28.     no-label            f.separator
  29.     "Toggle Behavior"        f.set_behavior
  30.     "Kill Motif Bindings"    f.exec "xprop -root -remove _MOTIF_BINDINGS"
  31.     no-label            f.separator
  32.     "Restart Mwm"            f.restart
  33.     "Quit Mwm"            f.quit_mwm
  34. }
  35.  
  36. Menu MyAppsMenu
  37. {
  38.     "Applications"    f.title
  39.     "Utilities"        f.menu    MyUtilMenu
  40.     "Demos"            f.menu    MyDemoMenu
  41.     no-label        f.separator
  42.     "Windows NT Tools"    f.menu  MyNtMenu
  43. }
  44.  
  45. Menu MyUtilMenu
  46. {
  47.     "Xev"               f.exec "xev"
  48.     "Xdpyinfo"          f.exec "xdpyinfo"
  49.     "Bitmap"        f.exec "bitmap"
  50.     "Seltest"          f.exec "seltest" 
  51.     "XCmap"            f.exec "showcmap"
  52. }
  53.  
  54. Menu MyDemoMenu
  55. {
  56.     "Ico"            f.exec "ico"
  57.     "Maze"            f.exec "maze"
  58.     "Xlogo"            f.exec "xlogo"
  59.     no-label        f.separator
  60.     "Periodic"        f.exec "periodic"
  61.     "Motifanim"        f.exec "motifani" 
  62. }
  63.  
  64. Menu MyNtMenu
  65. {
  66.     "Notepad"        f.exec "notepad"
  67. }
  68.  
  69. Menu MyMwmMenu
  70. {
  71.     "Mwm functions"        f.title
  72.     "Next Icon"            f.next_key icon
  73.     "Next Window"            f.next_key window
  74.     "Next Transient"        f.next_key transient
  75.     no-label            f.separator
  76.     "Pack Icons"            f.pack_icons
  77.     "Refresh"            f.refresh
  78.     no-label            f.separator
  79.     "Kill Motif Bindings"    f.exec "xprop -root -remove _MOTIF_BINDINGS"
  80.     "Toggle Behavior"        f.set_behavior
  81.     "Toggle Pass keys"        f.pass_keys
  82.     no-label            f.separator
  83.     "Restart Mwm"        f.restart
  84.     "Quit Mwm"            f.quit_mwm
  85. }
  86.  
  87. # Default Window Menu Description
  88.  
  89. Menu MyWindowMenu
  90. {
  91.     Restore        _R    Alt<Key>F5    f.normalize
  92.     Move        _M    Alt<Key>F7    f.move
  93.     Size        _S    Alt<Key>F8    f.resize
  94.     Minimize    _n    Alt<Key>F9    f.minimize
  95.     Maximize    _x    Alt<Key>F10    f.maximize
  96.     Refresh        _f    Alt<Key>F2    f.refresh_win
  97.     Lower        _L    Alt<Key>F3    f.lower
  98.     no-label        f.separator
  99.     Close        _C    Alt<Key>F4    f.kill
  100. }
  101.  
  102.  
  103. #
  104. # key binding descriptions
  105. #
  106.  
  107. #Keys MyKeyBindings
  108. Keys DefaultKeyBindings
  109. {
  110.     Shift<Key>Escape        window|icon        f.post_wmenu
  111.     Meta<Key>space        window|icon        f.post_wmenu
  112.     Ctrl<Key>Tab        root|icon|window    f.next_key
  113.     Ctrl Shift<Key>Tab        root|icon|window    f.prev_key
  114.     Shift<Key>Escape        root|icon|window    f.circle_up    
  115.     Ctrl Shift<Key>Escape    root|icon|window    f.circle_down
  116.     Meta Shift Ctrl<Key>F10    root|icon|window    f.set_behavior
  117.     Meta<Key>F6            window            f.next_key transient
  118.     Meta Shift<Key>F6        window            f.prev_key transient
  119.     <Key>F4            icon            f.post_wmenu
  120.    Ctrl<Key>F5            root|icon|window    f.restart    
  121. }
  122.  
  123. #
  124. # button binding descriptions
  125. #
  126.  
  127. Buttons MyExplicitButtonBindings
  128. {
  129.     <Btn1Down>        frame|icon        f.raise
  130.     <Btn3Down>        frame|icon        f.post_wmenu
  131.     <Btn1Down>        root            f.menu    MyRootMenu
  132.     <Btn2Down>        root            f.menu    MyAppsMenu
  133.     <Btn3Down>        root            f.menu    MyMwmMenu
  134.     Ctrl<Btn1Down>    window|icon        f.lower
  135.     Ctrl<Btn2Down>    window|icon        f.resize
  136.     Ctrl<Btn3Down>    window|icon        f.move
  137.     Ctrl Shift<Btn1Down> window|icon        f.minimize
  138.     Ctrl Shift<Btn2Down> window|icon        f.focus_color
  139.     Ctrl Shift<Btn3Down> window|icon        f.post_wmenu
  140. }
  141.  
  142. #Buttons MyPointerButtonBindings
  143. Buttons DefaultButtonBindings
  144. {
  145.     <Btn1Down>        frame|icon        f.raise
  146.     <Btn3Down>        frame|icon        f.post_wmenu
  147.     <Btn1Down>        root            f.menu    MyRootMenu
  148.     <Btn2Down>        root            f.menu    MyAppsMenu
  149.     <Btn3Down>        root            f.menu    MyMwmMenu
  150.     <Btn1Down>        window            f.raise
  151.     Shift <Btn1Down>    window|icon        f.lower
  152.     Shift <Btn2Down>    window|icon        f.resize
  153.     Shift <Btn3Down>    window|icon        f.move
  154.     Ctrl Shift<Btn1Down> window|icon        f.minimize
  155.     Ctrl Shift<Btn2Down> window|icon        f.next_cmap
  156.     Ctrl Shift<Btn3Down> window|icon        f.post_wmenu
  157. }
  158.  
  159. #
  160. #  END OF mwm RESOURCE DESCRIPTION FILE
  161. #
  162.  
  163.