3 # "I" stands for Immediate
4 # "M" stands for Motion
7 # "D" stands for Double Click
9 DestroyFunc FuncFvwmMoveOrRaiseOrShade
10 AddToFunc FuncFvwmMoveOrRaiseOrShade
16 DestroyFunc FuncFvwmResizeOrRaiseOrShade
17 AddToFunc FuncFvwmResizeOrRaiseOrShade
23 DestroyFunc FuncFvwmMoveOrRaiseLower
24 AddToFunc FuncFvwmMoveOrRaiseLower
29 DestroyFunc FuncFvwmMoveOrIconify
30 AddToFunc FuncFvwmMoveOrIconify
34 DestroyFunc FuncFvwmMaximizeFullScreen
35 AddToFunc FuncFvwmMaximizeFullScreen
36 + I ThisWindow (Maximized) WindowStyle Title, Borders
37 + I TestRc (!Match) WindowStyle !Title, !Borders
38 + I TestRc (!Match) Raise
39 + I TestRc (!Match) UpdateStyles
42 DestroyFunc FuncFvwmWindowOpsOrAction
43 AddToFunc FuncFvwmWindowOpsOrAction
44 + I Menu MenuFvwmWindowOps2 $*
45 #+ C Menu MenuFvwmWindowOps3
48 DestroyFunc FuncFvwmSetTitleBindings
49 AddToFunc FuncFvwmSetTitleBindings
50 + I Mouse 1 $0 A FuncFvwmMoveOrRaiseOrShade
51 + I Mouse 1 $0 C FuncFvwmMoveOrRaiseLower
52 + I MouseXX 2 3 $0 A FuncFvwmMoveOrRaiseLower
53 + I MouseXX 3 2 $0 A Menu MenuFvwmWindowOps2
54 + I MouseXX 3 2 $0 M Menu MenuFvwmWindowOps
56 DestroyFunc FuncFvwmUnsetTitleBindings
57 AddToFunc FuncFvwmUnsetTitleBindings
60 + I MouseXX 2 3 $0 A -
61 + I MouseXX 3 2 $0 A -
62 + I MouseXX 3 2 $0 M -
64 DestroyFunc FuncFvwmWindowList
65 AddToFunc FuncFvwmWindowList
66 + I WindowList SelectOnRelease "" SortByResource, NoDeskSort, NoGeometry, NoHotkeys
68 # ---------------------------------------------------------------------------
70 # R = Root Window rrrrrrrrrrrrrrrrrrrrrr
71 # W = Application Window rIrrrrFSSSSSSSSSFrrrrr
72 # F = Frame Corners rrrrrrS13TTTT642Srrrrr
73 # S = Frame Sides rIrrrrSwwwwwwwwwSrrrrr
74 # T = Title Bar rrrrrrSwwwwwwwwwSrrrrr
75 # I = Icon rIrrrrFSSSSSSSSSFrrrrr
76 # rrrrrrrrrrrrrrrrrrrrrr
77 # Numbers are buttons: 1 3 5 7 9 0 8 6 4 2
79 # Modifiers: (A)ny, (C)ontrol, (S)hift, (M)eta, (N)othing
81 # ---------------------------------------------------------------------------
82 # key/mouse btn context modifie function
84 # press Ctrl-Alt arrow anywhere, and scroll by one page
85 Key Left A CM GotoPage -1p +0p
86 Key Right A CM GotoPage +1p +0p
87 Key Up A CM GotoPage +0p -1p
88 Key Down A CM GotoPage +0p +1p
90 # press Shift-Ctrl-Alt arrow anywhere, and scroll by 10% of a page
91 Key Left A SCM Scroll -10 +0
92 Key Right A SCM Scroll +10 +0
93 Key Up A SCM Scroll +0 -10
94 Key Down A SCM Scroll +0 +10
96 # press Shift-Ctrl arrow anywhere, reserved
102 # press Shift+Alt arrow anywhere, and move the pointer by 1% of a page
103 Key Left A SM CursorMove -1 +0
104 Key Right A SM CursorMove +1 +0
105 Key Up A SM CursorMove +0 -1
106 Key Down A SM CursorMove +0 +1
108 # direction commands, Ctrl+KP_N (do not always work)
109 Key KP_1 A C Direction SouthWest FuncFvwmSelectWindow
110 Key KP_2 A C Direction South FuncFvwmSelectWindow
111 Key KP_3 A C Direction SouthEast FuncFvwmSelectWindow
112 Key KP_4 A C Direction West FuncFvwmSelectWindow
113 Key KP_5 A C Direction Center FuncFvwmSelectWindow
114 Key KP_6 A C Direction East FuncFvwmSelectWindow
115 Key KP_7 A C Direction NorthWest FuncFvwmSelectWindow
116 Key KP_8 A C Direction North FuncFvwmSelectWindow
117 Key KP_9 A C Direction NorthEast FuncFvwmSelectWindow
119 # These {move,go} to {page,desk} bindings are experimental, may be changed.
121 # go to page, Ctrl+Alt+KP_N (these keys do not always work)
122 Key KP_1 A CM GotoPage 0 2
123 Key KP_2 A CM GotoPage 1 2
124 Key KP_3 A CM GotoPage 2 2
125 Key KP_4 A CM GotoPage 0 1
126 Key KP_5 A CM GotoPage 1 1
127 Key KP_6 A CM GotoPage 2 1
128 Key KP_7 A CM GotoPage 0 0
129 Key KP_8 A CM GotoPage 1 0
130 Key KP_9 A CM GotoPage 2 0
131 Key KP_0 A CM GotoPage prev
133 Key 1 A SCM GotoPage 0 2
134 Key 2 A SCM GotoPage 1 2
135 Key 3 A SCM GotoPage 2 2
136 Key 4 A SCM GotoPage 0 1
137 Key 5 A SCM GotoPage 1 1
138 Key 6 A SCM GotoPage 2 1
139 Key 7 A SCM GotoPage 0 0
140 Key 8 A SCM GotoPage 1 0
141 Key 9 A SCM GotoPage 2 0
142 Key 0 A SCM GotoPage prev
144 # move to page, Shift+Ctrl+KP_N
145 Key KP_1 A SC MoveToPage 0 2
146 Key KP_2 A SC MoveToPage 1 2
147 Key KP_3 A SC MoveToPage 2 2
148 Key KP_4 A SC MoveToPage 0 1
149 Key KP_5 A SC MoveToPage 1 1
150 Key KP_6 A SC MoveToPage 2 1
151 Key KP_7 A SC MoveToPage 0 0
152 Key KP_8 A SC MoveToPage 1 0
153 Key KP_9 A SC MoveToPage 2 0
154 Key KP_0 A SC MoveToPage prev
156 # move without the cursor, Shift+Alt+KP_N
157 Key KP_1 A SM Move w-1 w+1
158 Key KP_2 A SM Move w w+1
159 Key KP_3 A SM Move w+1 w+1
160 Key KP_4 A SM Move w-1 w
161 Key KP_5 A SM Move w w
162 Key KP_6 A SM Move w+1 w
163 Key KP_7 A SM Move w-1 w-1
164 Key KP_8 A SM Move w w-1
165 Key KP_9 A SM Move w+1 w-1
167 # go to desk, Ctrl+Alt+N
168 Key 1 A CM GotoDesk 0 0
169 Key 2 A CM GotoDesk 0 1
170 Key 3 A CM GotoDesk 0 2
171 Key 4 A CM GotoDesk 0 3
172 Key 0 A CM GotoDeskAndPage prev
174 # move to desk, Shift+Ctrl+N
175 Key 1 A SC MoveToDesk 0 0
176 Key 2 A SC MoveToDesk 0 1
177 Key 3 A SC MoveToDesk 0 2
178 Key 4 A SC MoveToDesk 0 3
179 Key 0 A SC MoveToDesk prev
181 # keyboard accelerators
182 # Shift is needed to let apps (xwe, dosemu, kcalc) to handle Alt-FN keys
183 KeyMM F1 A M SM Menu MenuFvwmRoot
184 KeyMM F2 A M SM FuncFvwmWindowList
185 KeyMM F3 A M SM Menu MenuFvwmWindowOps
186 KeyMM F4 A M SM Close
187 KeyMM F5 A M SM RaiseLower
188 KeyMM F6 A M SM FuncFvwmRestore
190 KeyMM F8 A M SM Resize
191 KeyMM F9 A M SM Iconify
192 KeyMM F10 A M SM Pick FuncFvwmSimpleMaximize
193 KeyMM F11 A M SM Module FvwmIdent
194 KeyMM F12 A M SM FuncFvwmConsole
196 Key Tab A M WindowList Root c c NoDeskSort, SelectOnRelease Meta_L
197 Key Tab A SM WindowList Root c c OnlyListSkip, NoDeskSort, SelectOnRelease
198 Key Tab A CM Prev FuncFvwmSelectWindow
199 Key Tab A SCM Next FuncFvwmSelectWindow
200 Key Prior A M Prev FuncFvwmSelectWindow
201 Key Next A M Next FuncFvwmSelectWindow
202 Key F11 A SC Pick FuncFvwmMaximizeFullScreen
203 Key F12 A SC FuncFvwmConfirm `Refresh with no cache?` FuncFvwmThemesFreshUncached
206 Key F8 A SC FuncFvwmShowAllColorsets
207 Key F9 A SC FuncFvwmShowColourTable
209 # ---------------------------------------------------------------------------
210 # button context modifie function
213 Mouse 1 R A Menu MenuFvwmRoot
214 MouseXX 2 3 R A FuncFvwmWindowList
215 MouseXX 3 2 R A Menu MenuFvwmWindowOps
217 MouseXX 2 3 R C Module FvwmPager -transient FvwmPager-Single * *
218 MouseXX 2 3 R SC Module FvwmPager -transient FvwmPager-Desker 0 3
220 # pointer on a EWMH desktop
222 # pointer in Window Buttons
223 # now in 'buttons' component
224 Mouse 1 D M Menu MenuFvwmRoot
225 MouseXX 2 3 D M FuncFvwmWindowList
226 MouseXX 3 2 D M Menu MenuFvwmWindowOps
228 MouseXX 2 3 D MC Module FvwmPager -transient FvwmPager-Single * *
229 MouseXX 2 3 D MSC Module FvwmPager -transient FvwmPager-Desker 0 3
231 # pointer in Window Decorations
232 FuncFvwmSetTitleBindings TSF
233 Mouse 1 SF A FuncFvwmResizeOrRaiseOrShade
234 Mouse 1 SF S FuncFvwmResizeOrRaiseOrShade Maximize
237 Mouse 1 I A FuncFvwmMoveOrIconify
238 MouseXX 2 3 I A FuncFvwmIconify
239 MouseXX 3 2 I A Menu MenuFvwmWindowOps2
240 Mouse 1 I S FuncFvwmIconify
241 MouseXX 2 3 I S FuncFvwmIconifySameResource off
242 MouseXX 3 2 I S FuncFvwmIconifySameResource toggle
244 # pointer in Window (and in Icon for consistency)
245 Mouse 1 WI M Menu MenuFvwmRoot
246 Mouse 1 WI CM FuncFvwmMoveOrRaiseLower
247 MouseXX 2 3 WI M FuncFvwmMoveOrRaiseLower
248 MouseXX 3 2 WI M Menu MenuFvwmWindowOps
250 # ---------------------------------------------------------------------------
251 # We need to destroy the bindings to avoid current problems with fvwm.
253 DestroyFunc FuncFvwmStartBindings
254 AddToFunc FuncFvwmStartBindings
256 DestroyFunc FuncFvwmRemoveBinding
257 AddToFunc FuncFvwmRemoveBinding
258 # Key/Mouse (match) key/button context modifiers method
259 #+ I $0 $1 $2 $3 $4 --
262 DestroyFunc FuncFvwmRemoveBindingsOnWindow
263 AddToFunc FuncFvwmRemoveBindingsOnWindow
264 + I FuncFvwmRemoveBinding Key "($0)" Left A CM
265 + I FuncFvwmRemoveBinding Key "($0)" Right A CM
266 + I FuncFvwmRemoveBinding Key "($0)" Up A CM
267 + I FuncFvwmRemoveBinding Key "($0)" Down A CM
268 + I FuncFvwmRemoveBinding Key "($0)" Left A SCM
269 + I FuncFvwmRemoveBinding Key "($0)" Right A SCM
270 + I FuncFvwmRemoveBinding Key "($0)" Up A SCM
271 + I FuncFvwmRemoveBinding Key "($0)" Down A SCM
272 + I FuncFvwmRemoveBinding Key "($0)" Left A SC
273 + I FuncFvwmRemoveBinding Key "($0)" Right A SC
274 + I FuncFvwmRemoveBinding Key "($0)" Up A SC
275 + I FuncFvwmRemoveBinding Key "($0)" Down A SC
276 + I FuncFvwmRemoveBinding Key "($0)" Left A SM
277 + I FuncFvwmRemoveBinding Key "($0)" Right A SM
278 + I FuncFvwmRemoveBinding Key "($0)" Up A SM
279 + I FuncFvwmRemoveBinding Key "($0)" Down A SM
280 + I FuncFvwmRemoveBinding Key "($0)" KP_1 A C
281 + I FuncFvwmRemoveBinding Key "($0)" KP_2 A C
282 + I FuncFvwmRemoveBinding Key "($0)" KP_3 A C
283 + I FuncFvwmRemoveBinding Key "($0)" KP_4 A C
284 + I FuncFvwmRemoveBinding Key "($0)" KP_5 A C
285 + I FuncFvwmRemoveBinding Key "($0)" KP_6 A C
286 + I FuncFvwmRemoveBinding Key "($0)" KP_7 A C
287 + I FuncFvwmRemoveBinding Key "($0)" KP_8 A C
288 + I FuncFvwmRemoveBinding Key "($0)" KP_9 A C
289 + I FuncFvwmRemoveBinding Key "($0)" KP_1 A CM
290 + I FuncFvwmRemoveBinding Key "($0)" KP_2 A CM
291 + I FuncFvwmRemoveBinding Key "($0)" KP_3 A CM
292 + I FuncFvwmRemoveBinding Key "($0)" KP_4 A CM
293 + I FuncFvwmRemoveBinding Key "($0)" KP_5 A CM
294 + I FuncFvwmRemoveBinding Key "($0)" KP_6 A CM
295 + I FuncFvwmRemoveBinding Key "($0)" KP_7 A CM
296 + I FuncFvwmRemoveBinding Key "($0)" KP_8 A CM
297 + I FuncFvwmRemoveBinding Key "($0)" KP_9 A CM
298 + I FuncFvwmRemoveBinding Key "($0)" KP_0 A CM
299 + I FuncFvwmRemoveBinding Key "($0)" 1 A SCM
300 + I FuncFvwmRemoveBinding Key "($0)" 2 A SCM
301 + I FuncFvwmRemoveBinding Key "($0)" 3 A SCM
302 + I FuncFvwmRemoveBinding Key "($0)" 4 A SCM
303 + I FuncFvwmRemoveBinding Key "($0)" 5 A SCM
304 + I FuncFvwmRemoveBinding Key "($0)" 6 A SCM
305 + I FuncFvwmRemoveBinding Key "($0)" 7 A SCM
306 + I FuncFvwmRemoveBinding Key "($0)" 8 A SCM
307 + I FuncFvwmRemoveBinding Key "($0)" 9 A SCM
308 + I FuncFvwmRemoveBinding Key "($0)" 0 A SCM
309 + I FuncFvwmRemoveBinding Key "($0)" KP_1 A SC
310 + I FuncFvwmRemoveBinding Key "($0)" KP_2 A SC
311 + I FuncFvwmRemoveBinding Key "($0)" KP_3 A SC
312 + I FuncFvwmRemoveBinding Key "($0)" KP_4 A SC
313 + I FuncFvwmRemoveBinding Key "($0)" KP_5 A SC
314 + I FuncFvwmRemoveBinding Key "($0)" KP_6 A SC
315 + I FuncFvwmRemoveBinding Key "($0)" KP_7 A SC
316 + I FuncFvwmRemoveBinding Key "($0)" KP_8 A SC
317 + I FuncFvwmRemoveBinding Key "($0)" KP_9 A SC
318 + I FuncFvwmRemoveBinding Key "($0)" KP_0 A SC
319 + I FuncFvwmRemoveBinding Key "($0)" KP_1 A SM
320 + I FuncFvwmRemoveBinding Key "($0)" KP_2 A SM
321 + I FuncFvwmRemoveBinding Key "($0)" KP_3 A SM
322 + I FuncFvwmRemoveBinding Key "($0)" KP_4 A SM
323 + I FuncFvwmRemoveBinding Key "($0)" KP_5 A SM
324 + I FuncFvwmRemoveBinding Key "($0)" KP_6 A SM
325 + I FuncFvwmRemoveBinding Key "($0)" KP_7 A SM
326 + I FuncFvwmRemoveBinding Key "($0)" KP_8 A SM
327 + I FuncFvwmRemoveBinding Key "($0)" KP_9 A SM
328 + I FuncFvwmRemoveBinding Key "($0)" 1 A CM
329 + I FuncFvwmRemoveBinding Key "($0)" 2 A CM
330 + I FuncFvwmRemoveBinding Key "($0)" 3 A CM
331 + I FuncFvwmRemoveBinding Key "($0)" 4 A CM
332 + I FuncFvwmRemoveBinding Key "($0)" 0 A CM
333 + I FuncFvwmRemoveBinding Key "($0)" 1 A SC
334 + I FuncFvwmRemoveBinding Key "($0)" 2 A SC
335 + I FuncFvwmRemoveBinding Key "($0)" 3 A SC
336 + I FuncFvwmRemoveBinding Key "($0)" 4 A SC
337 + I FuncFvwmRemoveBinding Key "($0)" 0 A SC
340 + I FuncFvwmRemoveBinding Key "($0)" F1 A M
341 + I FuncFvwmRemoveBinding Key "($0)" F2 A M
342 + I FuncFvwmRemoveBinding Key "($0)" F3 A M
343 + I FuncFvwmRemoveBinding Key "($0)" F4 A M
344 + I FuncFvwmRemoveBinding Key "($0)" F5 A M
345 + I FuncFvwmRemoveBinding Key "($0)" F6 A M
346 + I FuncFvwmRemoveBinding Key "($0)" F7 A M
347 + I FuncFvwmRemoveBinding Key "($0)" F8 A M
348 + I FuncFvwmRemoveBinding Key "($0)" F9 A M
349 + I FuncFvwmRemoveBinding Key "($0)" F10 A M
350 + I FuncFvwmRemoveBinding Key "($0)" F11 A M
351 + I FuncFvwmRemoveBinding Key "($0)" F12 A M
353 + I FuncFvwmRemoveBinding Key "($0)" F1 A SM
354 + I FuncFvwmRemoveBinding Key "($0)" F2 A SM
355 + I FuncFvwmRemoveBinding Key "($0)" F3 A SM
356 + I FuncFvwmRemoveBinding Key "($0)" F4 A SM
357 + I FuncFvwmRemoveBinding Key "($0)" F5 A SM
358 + I FuncFvwmRemoveBinding Key "($0)" F6 A SM
359 + I FuncFvwmRemoveBinding Key "($0)" F7 A SM
360 + I FuncFvwmRemoveBinding Key "($0)" F8 A SM
361 + I FuncFvwmRemoveBinding Key "($0)" F9 A SM
362 + I FuncFvwmRemoveBinding Key "($0)" F10 A SM
363 + I FuncFvwmRemoveBinding Key "($0)" F11 A SM
364 + I FuncFvwmRemoveBinding Key "($0)" F12 A SM
366 + I FuncFvwmRemoveBinding Key "($0)" Tab A M
367 + I FuncFvwmRemoveBinding Key "($0)" Tab A SM
368 + I FuncFvwmRemoveBinding Key "($0)" Tab A CM
369 + I FuncFvwmRemoveBinding Key "($0)" Tab A SCM
370 + I FuncFvwmRemoveBinding Key "($0)" Prior A M
371 + I FuncFvwmRemoveBinding Key "($0)" Next A M
372 + I FuncFvwmRemoveBinding Mouse "($0)" 1 W M
373 + I FuncFvwmRemoveBinding Mouse "($0)" 1 W CM
376 + I FuncFvwmRemoveBinding Mouse "($0)" 2 W M
377 + I FuncFvwmRemoveBinding Mouse "($0)" 3 W M
379 + I FuncFvwmRemoveBinding Mouse "($0)" 3 W M
380 + I FuncFvwmRemoveBinding Mouse "($0)" 2 W M
382 DestroyFunc FuncFvwmStopBindings
383 AddToFunc FuncFvwmStopBindings
389 + I Key Right A SCM -
458 + I KeyMM F1 A M SM -
459 + I KeyMM F2 A M SM -
460 + I KeyMM F3 A M SM -
461 + I KeyMM F4 A M SM -
462 + I KeyMM F5 A M SM -
463 + I KeyMM F6 A M SM -
464 + I KeyMM F7 A M SM -
465 + I KeyMM F8 A M SM -
466 + I KeyMM F9 A M SM -
467 + I KeyMM F10 A M SM -
468 + I KeyMM F11 A M SM -
469 + I KeyMM F12 A M SM -
477 + I MouseXX 2 3 R A -
478 + I MouseXX 3 2 R A -
479 + I MouseXX 2 3 R C -
480 + I MouseXX 2 3 R SC -
482 + I MouseXX 2 3 D M -
483 + I MouseXX 3 2 D M -
484 + I MouseXX 2 3 D MC -
485 + I MouseXX 2 3 D MSC -
486 + I FuncFvwmUnsetTitleBindings TSF
489 + I MouseXX 2 3 I A -
490 + I MouseXX 3 2 I A -
492 + I MouseXX 2 3 I S -
493 + I MouseXX 3 2 I S -
496 + I MouseXX 2 3 WI M -
497 + I MouseXX 3 2 WI M -