28 EdgeResistance 150 150 |
27 EdgeResistance 150 150 |
29 # Width or height of the invisible window that fvwm creates on the edges of the screen that |
28 # Width or height of the invisible window that fvwm creates on the edges of the screen that |
30 # are used for the edge scrolling feature. |
29 # are used for the edge scrolling feature. |
31 EdgeThickness 1 |
30 EdgeThickness 1 |
32 |
31 |
33 # ######################### |
32 ################################################################ |
34 # Mouse and Focus Behavior. |
33 # Mouse and Focus Behavior. |
35 # ######################### |
|
36 |
34 |
37 ClickTime 350 |
35 ClickTime 350 |
38 MoveThreshold 3 |
36 MoveThreshold 3 |
39 Style "*" SloppyFocus, MouseFocusClickRaises |
37 Style "*" SloppyFocus, MouseFocusClickRaises |
40 |
38 |
41 ################# |
39 ################################################################ |
42 # Program Styles. |
40 # Program Styles. |
43 ################# |
|
44 |
41 |
45 Style "*" Icon app/x-32x32.xpm, \ |
42 Style "*" Icon app/x-32x32.xpm, \ |
46 MiniIcon app/x-flex-16x16.xpm |
43 MiniIcon app/x-flex-16x16.xpm |
47 Style "XTerm" Icon app/terminal-16x16.xpm, \ |
44 Style "XTerm" Icon app/terminal-16x16.xpm, \ |
48 MiniIcon app/terminal-16x16.xpm |
45 MiniIcon app/terminal-16x16.xpm |
49 Style "rxvt" Icon app/terminal-16x16.xpm, \ |
46 Style "rxvt" Icon app/terminal-16x16.xpm, \ |
50 MiniIcon app/terminal-16x16.xpm |
47 MiniIcon app/terminal-16x16.xpm |
51 Style "mc-*" Icon app/mc-16x16.xpm, \ |
48 Style "mc-*" Icon app/mc-16x16.xpm, \ |
52 MiniIcon app/mc-16x16.xpm |
49 MiniIcon app/mc-16x16.xpm |
53 |
50 |
54 # ############ |
51 ################################################################ |
55 # FvwmTaskBar. |
52 # FvwmTaskBar. |
56 # ############ |
|
57 |
53 |
58 Style "FvwmTaskBar" NoTitle, !Handles, !Borders, Sticky, WindowListSkip, CirculateSkip, StaysOnBottom, FixedPosition, FixedSize, !Iconifiable |
54 Style "FvwmTaskBar" NoTitle, !Handles, !Borders, Sticky, WindowListSkip, CirculateSkip, StaysOnBottom, FixedPosition, FixedSize, !Iconifiable |
59 |
55 |
60 ########################################## |
56 ################################################################ |
61 # Screenshot Functions (uses ImageMagick). |
57 # Screenshot Functions (uses ImageMagick). |
62 ########################################## |
|
63 |
58 |
64 m4_define(`m4_SCREENSHOTPATH', `$[HOME]/.screenshot')m4_dnl |
59 m4_define(`m4_SCREENSHOTPATH', `$[HOME]/.screenshot')m4_dnl |
65 m4_changequote(`<--', `-->')m4_dnl |
60 m4_changequote(`<--', `-->')m4_dnl |
66 |
61 |
67 DestroyFunc FvwmWindowScreenshot |
62 DestroyFunc FvwmWindowScreenshot |
81 + I Exec import -quality 100 -silent \ |
76 + I Exec import -quality 100 -silent \ |
82 "m4_SCREENSHOTPATH/App-`date +%F-[%H:%M:%S]`.png" |
77 "m4_SCREENSHOTPATH/App-`date +%F-[%H:%M:%S]`.png" |
83 |
78 |
84 m4_changequote`'m4_dnl |
79 m4_changequote`'m4_dnl |
85 |
80 |
86 ################## |
81 ################################################################ |
87 # Basic Functions. |
82 # Basic Functions. |
88 ################## |
|
89 |
83 |
90 # DestroyFunc FuncName |
84 # DestroyFunc FuncName |
91 # AddToFunc FuncName |
85 # AddToFunc FuncName |
92 # + I (Action to happen immediately) |
86 # + I (Action to happen immediately) |
93 # + C (Action to happen on a mouse 'click) |
87 # + C (Action to happen on a mouse 'click) |
158 |
151 |
159 # Move windows by right mouse button (pressing anywhere in a window’s border |
152 # Move windows by right mouse button (pressing anywhere in a window’s border |
160 # except the title-bar buttons). |
153 # except the title-bar buttons). |
161 Mouse 3 FST A FvwmMoveOrIconify |
154 Mouse 3 FST A FvwmMoveOrIconify |
162 |
155 |
163 # ############ |
156 ################################################################ |
164 # Key binding. |
157 # Key binding. |
165 # ############ |
|
166 |
158 |
167 # Key [(window)] Keyname Context Modifiers Function |
159 # Key [(window)] Keyname Context Modifiers Function |
168 # See Keyname on /usr/include/X11/keysymdef.h, without the XK_ prefix. |
160 # See Keyname on /usr/include/X11/keysymdef.h, without the XK_ prefix. |
169 |
161 |
170 # Popup MenuMyRoot menu. |
162 # Popup MenuMyRoot menu. |
268 + ButtonStyle 3 Inactive Vector 5 30x60@3 60x60@3 60x50@3 30x50@3 30x60@3 -- Flat |
259 + ButtonStyle 3 Inactive Vector 5 30x60@3 60x60@3 60x50@3 30x50@3 30x60@3 -- Flat |
269 + ButtonStyle 5 ActiveUp Vector 7 30x30@3 30x60@3 60x60@3 60x30@3 30x30@3 30x35@3 60x35@3 -- Flat |
260 + ButtonStyle 5 ActiveUp Vector 7 30x30@3 30x60@3 60x60@3 60x30@3 30x30@3 30x35@3 60x35@3 -- Flat |
270 + ButtonStyle 5 ActiveDown Vector 7 30x30@1 30x60@1 60x60@1 60x30@1 30x30@1 30x35@1 60x35@1 -- Flat |
261 + ButtonStyle 5 ActiveDown Vector 7 30x30@1 30x60@1 60x60@1 60x30@1 30x30@1 30x35@1 60x35@1 -- Flat |
271 + ButtonStyle 5 Inactive Vector 7 30x30@3 30x60@3 60x60@3 60x30@3 30x30@3 30x35@3 60x35@3 -- Flat |
262 + ButtonStyle 5 Inactive Vector 7 30x30@3 30x60@3 60x60@3 60x30@3 30x30@3 30x35@3 60x35@3 -- Flat |
272 |
263 |
273 ################ |
264 ################################################################ |
274 # Window Styles. |
265 # Window Styles. |
275 ################ |
|
276 |
266 |
277 Style "*" UseDecor MyDecor |
267 Style "*" UseDecor MyDecor |
278 Style "*" BorderWidth 6, HandleWidth 6 |
268 Style "*" BorderWidth 6, HandleWidth 6 |
279 # NoDecorHint, OLDecor, MwmDecor |
269 # NoDecorHint, OLDecor, MwmDecor |
280 Style "*" MwmDecor |
270 Style "*" MwmDecor |
285 Emulate Mwm |
275 Emulate Mwm |
286 # Mwm and Win style menus popup sub menus automatically and never overlap the parent menu. |
276 # Mwm and Win style menus popup sub menus automatically and never overlap the parent menu. |
287 # Available: Fvwm, Mwm, Win. |
277 # Available: Fvwm, Mwm, Win. |
288 MenuStyle "*" Mwm |
278 MenuStyle "*" Mwm |
289 |
279 |
290 # ##### |
280 ################################################################ |
291 # Menu. |
281 # Menu. |
292 # ##### |
|
293 |
282 |
294 # Read generated by update-menu "/Debian" menu. |
283 # Read generated by update-menu "/Debian" menu. |
295 # To add own menu items create proper ~/.menu/app-name file and run update-menu. |
284 # To add own menu items create proper ~/.menu/app-name file and run update-menu. |
296 # About this you can rean in /usr/share/doc/menu/menu.txt.gz. |
285 # About this you can rean in /usr/share/doc/menu/menu.txt.gz. |
297 Read /etc/X11/fvwm/menudefs.hook quiet |
286 Read /etc/X11/fvwm/menudefs.hook quiet |
318 -name mc-secondary -geometry 136x42 -e bash -i -c "mc -x" |
307 -name mc-secondary -geometry 136x42 -e bash -i -c "mc -x" |
319 + debian Popup "/Debian" |
308 + debian Popup "/Debian" |
320 + my Popup MenuMy |
309 + my Popup MenuMy |
321 + fvwm Popup MenuFvwmRoot |
310 + fvwm Popup MenuFvwmRoot |
322 |
311 |
323 ######################## |
312 ################################################################ |
324 # Window Operation Menu. |
313 # Window Operation Menu. |
325 ######################## |
|
326 |
314 |
327 # From "FVWM Beginners Guide" by Jaimos F Skriletz. |
315 # From "FVWM Beginners Guide" by Jaimos F Skriletz. |
328 |
316 |
329 DestroyMenu FvwmWindowOpsMenu |
317 DestroyMenu FvwmWindowOpsMenu |
330 AddToMenu FvwmWindowOpsMenu "Window Operations" Title |
318 AddToMenu FvwmWindowOpsMenu "Window Operations" Title |
350 + "" Nop |
338 + "" Nop |
351 + "Identify%menu/window-identify.xpm%" Module FvwmIdent |
339 + "Identify%menu/window-identify.xpm%" Module FvwmIdent |
352 |
340 |
353 Mouse 3 R A Menu FvwmWindowOpsMenu |
341 Mouse 3 R A Menu FvwmWindowOpsMenu |
354 |
342 |
355 # ########## |
343 ################################################################ |
356 # FvwmPager. |
344 # FvwmPager. |
357 # ########## |
|
358 |
345 |
359 # No any button on pager. |
346 # No any button on pager. |
360 Style "FvwmPager" !Button 1, !Button 3, !Button 5, \ |
347 Style "FvwmPager" !Button 1, !Button 3, !Button 5, \ |
361 StaysOnTop, Sticky, FixedPosition, FixedSize, !Iconifiable, \ |
348 StaysOnTop, Sticky, FixedPosition, FixedSize, !Iconifiable, \ |
362 WindowListSkip, CirculateSkip |
349 WindowListSkip, CirculateSkip |
378 *FvwmPager: LabelsAbove |
365 *FvwmPager: LabelsAbove |
379 # As I use only columns row count calculated automatically. |
366 # As I use only columns row count calculated automatically. |
380 # *FvwmPager: Rows 5 |
367 # *FvwmPager: Rows 5 |
381 *FvwmPager: Columns 1 |
368 *FvwmPager: Columns 1 |
382 |
369 |
383 # ######### |
370 ################################################################ |
384 # FvwmAuto. |
371 # FvwmAuto. |
385 # ######### |
|
386 |
372 |
387 # The autohiding functions. |
373 # The autohiding functions. |
388 # From http://fvwm.org/documentation/faq/#toc_7.17 |
374 # From http://fvwm.org/documentation/faq/#toc_7.17 |
389 # See question "Autohiding FvwmButtons or other windows". |
375 # See question "Autohiding FvwmButtons or other windows". |
390 DestroyFunc autohide |
376 DestroyFunc autohide |
401 # Add the windows you want to autohide |
387 # Add the windows you want to autohide |
402 DestroyFunc enter_handler |
388 DestroyFunc enter_handler |
403 AddToFunc enter_handler |
389 AddToFunc enter_handler |
404 + I autohide FvwmPager 1000 N |
390 + I autohide FvwmPager 1000 N |
405 |
391 |
406 #################### |
392 ################################################################ |
407 # Startup functions. |
393 # Startup functions. |
408 #################### |
|
409 |
394 |
410 # Define whare place autoloaded progs. |
395 # Define whare place autoloaded progs. |
411 # StartsOnPage [desk [x y]] |
396 # StartsOnPage [desk [x y]] |
412 Style "mc-main1" StartsOnPage 0 1 0, SkipMapping |
397 Style "mc-main1" StartsOnPage 0 1 0, SkipMapping |
413 Style "mc-main2" StartsOnPage 0 2 0, SkipMapping |
398 Style "mc-main2" StartsOnPage 0 2 0, SkipMapping |