1 | # |
---|
2 | # DEFAULT mwm RESOURCE DESCRIPTION FILE (system.mwmrc) |
---|
3 | # |
---|
4 | # modified for Project Athena by Chris VanHaren |
---|
5 | # |
---|
6 | |
---|
7 | # |
---|
8 | # Menu Pane Descriptions |
---|
9 | # |
---|
10 | |
---|
11 | # Window Menu Description |
---|
12 | |
---|
13 | Menu DefaultWindowMenu |
---|
14 | { |
---|
15 | "Normal size" _N Alt<Key>F5 f.normalize |
---|
16 | "Move" _M Alt<Key>F6 f.move |
---|
17 | "Size" _S Alt<Key>F7 f.resize |
---|
18 | "Iconify" _I Alt<Key>F8 f.minimize |
---|
19 | "Maximum size" _x Alt<Key>F9 f.maximize |
---|
20 | "Lower" _L Alt<Key>F10 f.lower |
---|
21 | "Raise" _R Alt<Key>F12 f.raise |
---|
22 | no-label f.separator |
---|
23 | "Kill program" f.kill |
---|
24 | } |
---|
25 | |
---|
26 | # Root Window Menus |
---|
27 | |
---|
28 | Menu RootMenu |
---|
29 | { |
---|
30 | "Window Ops" f.title |
---|
31 | "New window" _N f.exec "xterm &" |
---|
32 | "Refresh screen" _R f.refresh |
---|
33 | "Shuffle Up" _U Alt<Key>Up f.circle_up |
---|
34 | "Shuffle Down" _D Alt<Key>Down f.circle_down |
---|
35 | "Pack icons" _P f.pack_icons |
---|
36 | no-label f.separator |
---|
37 | "X Preferences" _X f.menu Preferences |
---|
38 | "Applications" _A f.menu Applications |
---|
39 | no-label f.separator |
---|
40 | "Quit MWM" _Q f.quit_mwm |
---|
41 | "Restart MWM..." _M f.restart |
---|
42 | } |
---|
43 | |
---|
44 | Menu Preferences |
---|
45 | { |
---|
46 | "X Preferences" f.title |
---|
47 | "Keyclick volume" _K f.menu Keyclick |
---|
48 | "Bell volume" _B f.menu Bell |
---|
49 | "Mouse speed" _M f.menu Mouse |
---|
50 | # |
---|
51 | # A neat hack is to have a menu of bitmaps which can be selected to set the |
---|
52 | # root window pattern. Un-comment the line below and the Backgrounds |
---|
53 | # menu below. |
---|
54 | # |
---|
55 | # "Backgrounds" _g f.menu Backgrounds |
---|
56 | # |
---|
57 | } |
---|
58 | Menu Keyclick |
---|
59 | { |
---|
60 | "Loud" _L f.exec "xset c 100" |
---|
61 | "Quiet" _Q f.exec "xset c 13" |
---|
62 | "Off" _O f.exec "xset c 0" |
---|
63 | } |
---|
64 | Menu Bell |
---|
65 | { |
---|
66 | "Loud" _L f.exec "xset b 100" |
---|
67 | "Quiet" _Q f.exec "xset b 3" |
---|
68 | "Off" _O f.exec "xset b 0" |
---|
69 | } |
---|
70 | Menu Mouse |
---|
71 | { |
---|
72 | "Fast" _F f.exec "xset m 7 2" |
---|
73 | "Medium" _M f.exec "xset m 2 5" |
---|
74 | "Slow" _S f.exec "xset m 1 1" |
---|
75 | } |
---|
76 | # |
---|
77 | # Example of menu 'Backgrounds' using the bitmaps found in the sipb locker. |
---|
78 | # If you want to use them, make sure that 'sipb' is attach'ed. |
---|
79 | # |
---|
80 | # Menu Backgrounds |
---|
81 | # { |
---|
82 | # @/mit/sipb/bitmaps.x11/good_scales f.exec "xsetroot -bitmap /mit/sipb/bitmaps.x11/good_scales" |
---|
83 | # "Default" f.exec "xsetroot -default" |
---|
84 | # "White" f.exec "xsetroot -solid white" |
---|
85 | # "Grey" f.exec "xsetroot -grey" |
---|
86 | # "Black" f.exec "xsetroot -solid black" |
---|
87 | # } |
---|
88 | |
---|
89 | Menu Applications |
---|
90 | { |
---|
91 | "Applications" f.title |
---|
92 | "Emacs" _E f.exec "emacs &" |
---|
93 | "Xmh" _m f.exec "xmh &" |
---|
94 | "Xterm" _t f.exec "xterm &" |
---|
95 | # "Xscreensaver" _s f.exec "/afs/athena/contrib/sipb/@sys/xscreensaver" |
---|
96 | "Xcalc" _c f.exec "xcalc &" |
---|
97 | "Xclock" _k f.exec "xclock &" |
---|
98 | "Xload" _l f.exec "xload &" |
---|
99 | } |
---|
100 | |
---|
101 | # |
---|
102 | # Key Binding Descriptions |
---|
103 | # |
---|
104 | |
---|
105 | Keys DefaultKeyBindings |
---|
106 | { |
---|
107 | Shift<Key>Escape icon|window f.post_wmenu |
---|
108 | Meta<Key>space icon|window f.post_wmenu |
---|
109 | Shift<Key>Escape root f.menu RootMenu |
---|
110 | Meta<Key>space root f.menu RootMenu |
---|
111 | # Meta<Key>Tab root|icon|window f.next_key |
---|
112 | # Meta Shift<Key>Tab root|icon|window f.prev_key |
---|
113 | Meta<Key>Escape root|icon|window f.next_key |
---|
114 | Meta Shift<Key>Escape root|icon|window f.prev_key |
---|
115 | Meta Ctrl Shift<Key>exclam root|icon|window f.set_behavior |
---|
116 | Meta<Key>F3 window f.next_key transient |
---|
117 | } |
---|
118 | |
---|
119 | |
---|
120 | # |
---|
121 | # Button Binding Descriptions |
---|
122 | # |
---|
123 | |
---|
124 | Buttons DefaultButtonBindings |
---|
125 | { |
---|
126 | <Btn1Down> frame f.raise |
---|
127 | <Btn2Down> frame|icon f.post_wmenu |
---|
128 | <Btn3Down> frame|icon f.post_wmenu |
---|
129 | <Btn1Down> root f.menu RootMenu |
---|
130 | # <Btn2Down> root f.menu RootMenu |
---|
131 | # <Btn3Down> root f.menu RootMenu |
---|
132 | # |
---|
133 | # Athena's mwm now uses MWM_SHELL to exec processes, or /bin/sh if MWM_SHELL |
---|
134 | # is not set. Therefore, the 'Preferences' and 'Applications' menus |
---|
135 | # were added back in. If you do not like them, copy this file to your |
---|
136 | # home directory and uncomment the two lines above and comment out the |
---|
137 | # two below and in the Root Menu. The menus are currently uncommented. |
---|
138 | # |
---|
139 | <Btn2Down> root f.menu Preferences |
---|
140 | <Btn3Down> root f.menu Applications |
---|
141 | Meta<Btn1Click> icon|window f.lower |
---|
142 | Meta<Btn2Click> icon f.normalize |
---|
143 | Meta<Btn2Click> window f.minimize |
---|
144 | Meta<Btn3Click> icon|window f.raise |
---|
145 | Meta Shift<Btn1Down> icon|window|root f.circle_down |
---|
146 | Meta Shift<Btn2Down> icon|window|root f.menu RootMenu |
---|
147 | Meta Shift<Btn3Down> icon|window|root f.circle_up |
---|
148 | Meta Ctrl<Btn1Down> icon|window f.resize |
---|
149 | Meta Ctrl<Btn2Down> icon|window|root f.menu RootMenu |
---|
150 | Meta Ctrl<Btn3Down> icon|window f.move |
---|
151 | } |
---|
152 | |
---|
153 | # |
---|
154 | # END OF mwm RESOURCE DESCRIPTION FILE |
---|
155 | # |
---|