# # DEFAULT mwm RESOURCE DESCRIPTION FILE (system.mwmrc) # # modified for Project Athena by Chris VanHaren # # # Menu Pane Descriptions # # Window Menu Description Menu DefaultWindowMenu { "Normal size" _N AltF5 f.normalize "Move" _M AltF6 f.move "Size" _S AltF7 f.resize "Iconify" _I AltF8 f.minimize "Maximum size" _x AltF9 f.maximize "Lower" _L AltF10 f.lower "Raise" _R AltF12 f.raise no-label f.separator "Kill program" f.kill } # Root Window Menus Menu RootMenu { "Window Ops" f.title "New window" _N f.exec "xterm &" "Refresh screen" _R f.refresh "Shuffle Up" _U AltUp f.circle_up "Shuffle Down" _D AltDown f.circle_down "Pack icons" _P f.pack_icons no-label f.separator "X Preferences" _X f.menu Preferences "Applications" _A f.menu Applications no-label f.separator "Quit MWM" _Q f.quit_mwm "Restart MWM..." _M f.restart } Menu Preferences { "X Preferences" f.title "Keyclick volume" _K f.menu Keyclick "Bell volume" _B f.menu Bell "Mouse speed" _M f.menu Mouse # # A neat hack is to have a menu of bitmaps which can be selected to set the # root window pattern. Un-comment the line below and the Backgrounds # menu below. # # "Backgrounds" _g f.menu Backgrounds # } Menu Keyclick { "Loud" _L f.exec "xset c 100" "Quiet" _Q f.exec "xset c 13" "Off" _O f.exec "xset c 0" } Menu Bell { "Loud" _L f.exec "xset b 100" "Quiet" _Q f.exec "xset b 3" "Off" _O f.exec "xset b 0" } Menu Mouse { "Fast" _F f.exec "xset m 7 2" "Medium" _M f.exec "xset m 2 5" "Slow" _S f.exec "xset m 1 1" } # # Example of menu 'Backgrounds' using the bitmaps found in the sipb locker. # If you want to use them, make sure that 'sipb' is attach'ed. # # Menu Backgrounds # { # @/mit/sipb/bitmaps.x11/good_scales f.exec "xsetroot -bitmap /mit/sipb/bitmaps.x11/good_scales" # "Default" f.exec "xsetroot -default" # "White" f.exec "xsetroot -solid white" # "Grey" f.exec "xsetroot -grey" # "Black" f.exec "xsetroot -solid black" # } Menu Applications { "Applications" f.title "Emacs" _E f.exec "emacs &" "Xmh" _m f.exec "xmh &" "Xterm" _t f.exec "xterm &" # "Xscreensaver" _s f.exec "/afs/athena/contrib/sipb/@sys/xscreensaver" "Xcalc" _c f.exec "xcalc &" "Xclock" _k f.exec "xclock &" "Xload" _l f.exec "xload &" } # # Key Binding Descriptions # Keys DefaultKeyBindings { ShiftEscape icon|window f.post_wmenu Metaspace icon|window f.post_wmenu ShiftEscape root f.menu RootMenu Metaspace root f.menu RootMenu # MetaTab root|icon|window f.next_key # Meta ShiftTab root|icon|window f.prev_key MetaEscape root|icon|window f.next_key Meta ShiftEscape root|icon|window f.prev_key Meta Ctrl Shiftexclam root|icon|window f.set_behavior MetaF3 window f.next_key transient } # # Button Binding Descriptions # Buttons DefaultButtonBindings { frame f.raise frame|icon f.post_wmenu frame|icon f.post_wmenu root f.menu RootMenu # root f.menu RootMenu # root f.menu RootMenu # # Athena's mwm now uses MWM_SHELL to exec processes, or /bin/sh if MWM_SHELL # is not set. Therefore, the 'Preferences' and 'Applications' menus # were added back in. If you do not like them, copy this file to your # home directory and uncomment the two lines above and comment out the # two below and in the Root Menu. The menus are currently uncommented. # root f.menu Preferences root f.menu Applications Meta icon|window f.lower Meta icon f.normalize Meta window f.minimize Meta icon|window f.raise Meta Shift icon|window|root f.circle_down Meta Shift icon|window|root f.menu RootMenu Meta Shift icon|window|root f.circle_up Meta Ctrl icon|window f.resize Meta Ctrl icon|window|root f.menu RootMenu Meta Ctrl icon|window f.move } # # END OF mwm RESOURCE DESCRIPTION FILE #