1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
|
#
# Default system.fvwm2rc for Slackware Linux, adapted from the version
# for fvwm95 (i.e. beware of non-functional commented-out options)
#
#========================================================================#
#
# Fonts - one for window titles, another for icons, and another for the menus
#
WindowFont -adobe-helvetica-bold-r-*-*-12-*-*-*-*-*-*-*
IconFont fixed
MenuStyle black grey76 grey30 -adobe-helvetica-medium-r-*-*-*-120-*-*-*-*-*-* fvwm
#
# Set the default window colors. The syntax is:
# DefaultColors winforecolor winbackcolor titleforecolor titlebackcolor
# where:
# winbackcolor is the background (border) color of all windows,
# including the menu windows
# winforecolor is used for the menu text
# titlebackcolor is the background color used for title bars of
# non selected windows
# titleforecolor is the color of the title text of non selected windows
#
#DefaultColors Black #c3c3c3 #c3c3c3 grey51
#
# Text and background color for the title bar of the active (selected) window
#
#HilightColors White #000080
#
# Text and background color for the title bar of sticky windows
#
#StickyColors grey51 #60c080
# You can also use the Style command to set the colors of individual
# title bars of some non-selected windows
#Style "*" ForeColor #c3c3c3
#Style "*" BackColor grey51
#========================================================================#
#
# Set up the major operating modes
#
# Let's comment this out and be more UNIX-like :^)
# Style "*" ClickToFocus
# If we use the FvwmTaskBar we don't need the icons :-)
# Style "..." Icon is also commented below.
Style "*" NoIcon
Style "*" MWMFunctions
Style "*" HintOverride
Style "*" MWMDecor
OpaqueMoveSize 100
EdgeScroll 100 100
EdgeResistance 10000 0
#
# RandomPlacement prevents user interaction while placing windows:
#
Style "*" RandomPlacement
#
# NoPPosition instructs fvwm to ignore the PPosition field in window
# geometry hints. Emacs annoyingly sets PPosition to (0,0)!
#
Style "*" NoPPosition
#========================================================================#
#
# Set the desk top size in units of physical screen size
#
DeskTopSize 3x2
#========================================================================#
# Set the decoration styles and window options
# Order is important!!!!
# If compatible styles are set for a single window in multiple Style
# commands, then the styles are ORed together. If conflicting styles
# are set, the last one specified is used.
# These commands should command before any menus or functions are defined,
# and before the internal pager is started.
#
# Default border and handle widths
#
Style "*" BorderWidth 5, HandleWidth 5
Style "Fvwm*" NoTitle, Sticky, WindowListSkip
Style "Fvwm Pager" StaysOnTop, NoHandles
Style "FvwmBanner" StaysOnTop
Style "FvwmButtons" NoTitle, NoHandles, Sticky, WindowListSkip,BorderWidth 5
Style "*lock" NoTitle, NoHandles, Sticky, WindowListSkip
Style "xbiff" NoTitle, Sticky, WindowListSkip
#
# Some mini-icons for the title bar
#
#Style "*" TitleIcon mini-x2.xpm
#Style "*xterm*" TitleIcon mini-term.xpm
#Style "rxvt" TitleIcon mini-term.xpm
#Style "xcalc" TitleIcon mini-calc.xpm
#Style "xsession" TitleIcon mini-bx2.xpm
#Style "xv" TitleIcon mini-xv.xpm
#Style "SeaMonkey" TitleIcon mini-nscape.xpm
#Style "xmag" TitleIcon mini-zoom.xpm
#Style "textedit" TitleIcon mini-edit.xpm
#Style "tkps" TitleIcon mini-run.xpm
#Style "Ghostview" TitleIcon mini-gv.xpm
#Style "Xcolorsel" TitleIcon mini-colors.xpm
#Style "IDL*" TitleIcon mini-zoom.xpm
#Style "xeyes" TitleIcon mini-eyes.xpm
#Style "*fm*" TitleIcon mini-filemgr.xpm
# xman resource names
#Style "topBox" TitleIcon mini-book1.xpm
#Style "help" TitleIcon mini-book2.xpm
#Style "manualBrowser" TitleIcon mini-book2.xpm
# xpaint resource names
#Style "xpaint" TitleIcon mini-paint.xpm
#Style "Canvas" TitleIcon mini-paint.xpm
#Style "fatbits" TitleIcon mini-paint.xpm
#Style "filebrowser" TitleIcon mini-paint.xpm
#Style "rxvt" Icon term.xpm
#Style "xterm" Icon xterm.xpm
#Style "Appointment" Icon datebook.xpm
#Style "xcalc" Icon rcalc.xpm
#Style "xbiff" Icon mail1.xpm
#Style "xmh" Icon mail1.xpm, StartsOnDesk 2
#Style "xman" Icon xman.xpm
#Style "xvgr" Icon graphs.xpm
#Style "matlab" Icon math4.xpm
#Style "xmag" Icon mag_glass.xpm
#Style "xgraph" Icon graphs.xpm
#Style "xv" Icon xview.xpm
#Style "FvwmButtons" Icon toolbox.xpm
#Style "xconsole" Icon koala.xpm
#Style "xsession" Icon koala.xpm
#Style "textedit" Icon textedit.xpm
#Style "gv" Icon gv.xpm
#========================================================================#
#
# Stuff to do at start-up
#
AddToFunc "InitFunction"
#+ "I" Module FvwmButtons
+ "I" Module FvwmButtons MiniButtons
+ "I" Module FvwmPager 0 0
AddToFunc "RestartFunction"
#+ "I" Module FvwmButtons
+ "I" Module FvwmButtons MiniButtons
+ "I" Module FvwmPager 0 0
#========================================================================#
# Now define some handy complex functions
#
# This one moves and then raises the window if you drag the mouse,
# only raises the window if you click, or does a full maximize if
# you double click
#
AddToFunc "Move-or-Raise" "M" Move
+ "M" Raise
+ "C" Raise
+ "D" Maximize 100 100
#
# This one moves and then lowers the window if you drag the mouse,
# only lowers the window if you click, or does a RaiseLower if you double
# click
#
AddToFunc "Move-or-Lower" "M" Move
+ "M" Lower
+ "C" Lower
+ "D" RaiseLower
#
# This one moves or (de)iconifies:
#
AddToFunc "Move-or-Iconify" "M" Move
+ "D" Iconify
#
# This one resizes and then raises the window if you drag the mouse,
# only raises the window if you click, or does a RaiseLower if you double
# click
#
AddToFunc "Resize-or-Raise" "M" Resize
+ "M" Raise
+ "C" Raise
+ "D" RaiseLower
#========================================================================#
#
# Now define the menus - defer bindings until later
#
# This is for the Start menu of the FvwmTaskBar
DestroyMenu "StartMenu"
AddToMenu "StartMenu"
+ "Manual Pages %mini-book1.xpm%" Exec xman &
+ "Magnifying Glass %mini-zoom.xpm%" Exec xmag &
+ "" Nop
+ "Accessories%mini-hammer.xpm%" Popup Accessories
+ "Applications %mini-x2.xpm%" Popup Applications
+ "File Managers %mini-filemgr.xpm%" Popup Filemanagers
+ "Games %mini-happy.xpm%" Popup Games
+ "Shells %mini-term.xpm" Popup Shells
+ "" Nop
+ "Lock Screen %mini-lock.xpm%" Popup Screenlock
+ "Screensaver %mini-display.xpm%" Popup Screensaver
+ "" Nop
+ "Refresh Screen %mini-ray.xpm%" Refresh
+ "" Nop
+ "Exit Fvwm2 %mini-stop.xpm%" Popup Quit-Verify
DestroyMenu "Shells"
AddToMenu "Shells"
+ "Xterm (7x14 font)%mini-term.xpm%" Exec xterm -sb -sl 500 -j -ls -fn 7x14 -fb 7x14bold &
+ "Large Xterm (10x20 font)%mini-term.xpm%" Exec xterm -sb -sl 500 -j -ls -fn 10x20 &
+ "" Nop
+ "Rxvt (7x14 font)%mini-term.xpm%" Exec rxvt -font 7x14 -ls &
+ "Large Rxvt (10x20 font)%mini-term.xpm%" Exec rxvt -font 10x20 -ls &
DestroyMenu "Screensaver"
AddToMenu "Screensaver"
+ "Blank%mini-bball.xpm%" Exec xlock -nolock -nice 0 -mode blank &
+ "Random%mini-bball.xpm%" Exec xlock -nolock -nice 0 -mode random &
+ "" Nop
+ "Ant%mini-bball.xpm%" Exec xlock -nolock -nice 0 -mode ant &
+ "Ball%mini-bball.xpm%" Exec xlock -nolock -nice 0 -mode ball &
+ "Bat%mini-bball.xpm%" Exec xlock -nolock -nice 0 -mode bat &
+ "Blot%mini-bball.xpm%" Exec xlock -nolock -nice 0 -mode blot &
+ "Bomb%mini-bball.xpm%" Exec xlock -nolock -nice 0 -mode bomb &
+ "Bouboule%mini-bball.xpm%" Exec xlock -nolock -nice 0 -mode bouboule &
#+ "Bob%mini-bball.xpm%" Exec xlock -nolock -nice 0 -mode image -bitmap /usr/include/X11/bitmaps/l-bob.xbm -batchcount 7 &
#+ "Bounce%mini-bball.xpm%" Exec xlock -nolock -nice 0 -mode bounce &
+ "\"Bob\"%mini-bball.xpm%" Exec xlock -nolock -nice 0 -mode bounce &
+ "Braid%mini-bball.xpm%" Exec xlock -nolock -nice 0 -mode braid &
+ "Bug%mini-bball.xpm%" Exec xlock -nolock -nice 0 -mode bug &
+ "Bubble%mini-bball.xpm%" Exec xlock -nolock -nice 0 -mode bubble &
+ "Clock%mini-bball.xpm%" Exec xlock -nolock -nice 0 -mode clock &
+ "Coral%mini-bball.xpm%" Exec xlock -nolock -nice 0 -mode coral &
+ "Crystal%mini-bball.xpm%" Exec xlock -nolock -nice 0 -mode crystal &
+ "Daisy%mini-bball.xpm%" Exec xlock -nolock -nice 0 -mode daisy &
+ "Dclock%mini-bball.xpm%" Exec xlock -nolock -nice 0 -mode dclock &
+ "Deco%mini-bball.xpm%" Exec xlock -nolock -nice 0 -mode deco &
+ "Demon%mini-bball.xpm%" Exec xlock -nolock -nice 0 -mode demon &
+ "Dilemma%mini-bball.xpm%" Exec xlock -nolock -nice 0 -mode dilemma &
+ "Drift%mini-bball.xpm%" Exec xlock -nolock -nice 0 -mode drift &
+ "More" PopUp ScreenSaver2
DestroyMenu "Screensaver2"
AddToMenu "Screensaver2"
+ "Eyes%mini-bball.xpm%" Exec xlock -nolock -nice 0 -mode eyes &
+ "Fadeplot%mini-bball.xpm%" Exec xlock -nolock -nice 0 -mode fadeplot &
+ "Flag%mini-bball.xpm%" Exec xlock -nolock -nice 0 -mode flag &
+ "Flame%mini-bball.xpm%" Exec xlock -nolock -nice 0 -mode flame &
+ "Forest%mini-bball.xpm%" Exec xlock -nolock -nice 0 -mode forest &
+ "Galaxy%mini-bball.xpm%" Exec xlock -nolock -nice 0 -mode galaxy &
+ "Geometry%mini-bball.xpm%" Exec xlock -nolock -nice 0 -mode geometry &
+ "Grav%mini-bball.xpm%" Exec xlock -nolock -nice 0 -mode grav &
+ "Helix%mini-bball.xpm%" Exec xlock -nolock -nice 0 -mode helix &
+ "Hop%mini-bball.xpm%" Exec xlock -nolock -nice 0 -mode hop &
+ "Hyper%mini-bball.xpm%" Exec xlock -nolock -nice 0 -mode hyper &
+ "Ico%mini-bball.xpm%" Exec xlock -nolock -nice 0 -mode ico &
+ "Ifs%mini-bball.xpm%" Exec xlock -nolock -nice 0 -mode ifs &
+ "Julia%mini-bball.xpm%" Exec xlock -nolock -nice 0 -mode julia &
+ "Kaleid%mini-bball.xpm%" Exec xlock -nolock -nice 0 -mode kaleid &
+ "Laser%mini-bball.xpm%" Exec xlock -nolock -nice 0 -mode laser &
+ "Life%mini-bball.xpm%" Exec xlock -nolock -nice 0 -mode life &
+ "Life1d%mini-bball.xpm%" Exec xlock -nolock -nice 0 -mode life1d &
+ "Life3d%mini-bball.xpm%" Exec xlock -nolock -nice 0 -mode life3d &
+ "Lightning%mini-bball.xpm%" Exec xlock -nolock -nice 0 -mode lightning &
+ "Lisa%mini-bball.xpm%" Exec xlock -nolock -nice 0 -mode lisa &
+ "Lissie%mini-bball.xpm%" Exec xlock -nolock -nice 0 -mode lissie &
+ "Loop%mini-bball.xpm%" Exec xlock -nolock -nice 0 -mode loop &
+ "More" PopUp ScreenSaver3
DestroyMenu "Screensaver3"
AddToMenu "Screensaver3"
+ "Mandelbrot%mini-bball.xpm%" Exec xlock -nolock -nice 0 -mode mandelbrot &
+ "Marquee%mini-bball.xpm%" Exec xlock -nolock -nice 0 -mode marquee &
+ "Maze%mini-bball.xpm%" Exec xlock -nolock -nice 0 -mode maze &
+ "Mountain%mini-bball.xpm%" Exec xlock -nolock -nice 0 -mode mountain &
+ "Munch%mini-bball.xpm%" Exec xlock -nolock -nice 0 -mode munch &
+ "Nose%mini-bball.xpm%" Exec xlock -nolock -nice 0 -mode nose &
+ "Pacman%mini-bball.xpm%" Exec xlock -nolock -nice 0 -mode pacman &
+ "Penguin%mini-bball.xpm%" Exec xlock -nolock -nice 0 -mode image -bitmap /usr/include/X11/bitmaps/l-linux.xbm -batchcount 7 &
+ "Penrose%mini-bball.xpm%" Exec xlock -nolock -nice 0 -mode penrose &
+ "Petal%mini-bball.xpm%" Exec xlock -nolock -nice 0 -mode petal &
+ "Puzzle%mini-bball.xpm%" Exec xlock -nolock -nice 0 -mode puzzle &
+ "Pyro%mini-bball.xpm%" Exec xlock -nolock -nice 0 -mode pyro &
+ "Qix%mini-bball.xpm%" Exec xlock -nolock -nice 0 -mode qix &
+ "Roll%mini-bball.xpm%" Exec xlock -nolock -nice 0 -mode roll &
+ "Rotor%mini-bball.xpm%" Exec xlock -nolock -nice 0 -mode rotor &
+ "Shape%mini-bball.xpm%" Exec xlock -nolock -nice 0 -mode shape &
+ "Sierpinski%mini-bball.xpm%" Exec xlock -nolock -nice 0 -mode sierpinski &
+ "Slip%mini-bball.xpm%" Exec xlock -nolock -nice 0 -mode slip &
+ "Sphere%mini-bball.xpm%" Exec xlock -nolock -nice 0 -mode sphere &
+ "Spiral%mini-bball.xpm%" Exec xlock -nolock -nice 0 -mode spiral &
+ "Spline%mini-bball.xpm%" Exec xlock -nolock -nice 0 -mode spline &
+ "Star%mini-bball.xpm%" Exec xlock -nolock -nice 0 -mode star &
+ "Strange%mini-bball.xpm%" Exec xlock -nolock -nice 0 -mode strange &
+ "More" PopUp ScreenSaver4
DestroyMenu "Screensaver4"
AddToMenu "Screensaver4"
+ "Swarm%mini-bball.xpm%" Exec xlock -nolock -nice 0 -mode swarm &
+ "Swirl%mini-bball.xpm%" Exec xlock -nolock -nice 0 -mode swirl &
+ "Triangle%mini-bball.xpm%" Exec xlock -nolock -nice 0 -mode triangle &
+ "Tube%mini-bball.xpm%" Exec xlock -nolock -nice 0 -mode tube &
+ "Turtle%mini-bball.xpm%" Exec xlock -nolock -nice 0 -mode turtle &
+ "Vines%mini-bball.xpm%" Exec xlock -nolock -nice 0 -mode vines &
+ "Voters%mini-bball.xpm%" Exec xlock -nolock -nice 0 -mode voters &
+ "Wator%mini-bball.xpm%" Exec xlock -nolock -nice 0 -mode wator &
+ "Wire%mini-bball.xpm%" Exec xlock -nolock -nice 0 -mode wire &
+ "World%mini-bball.xpm%" Exec xlock -nolock -nice 0 -mode world &
+ "Worm%mini-bball.xpm%" Exec xlock -nolock -nice 0 -mode worm &
DestroyMenu "Screenlock"
AddToMenu "Screenlock"
+ "Blank%mini-bball.xpm%" Exec xlock -nice 0 -mode blank &
+ "Random%mini-bball.xpm%" Exec xlock -nice 0 -mode random &
+ "" Nop
+ "Ant%mini-bball.xpm%" Exec xlock -nice 0 -mode ant &
+ "Ball%mini-bball.xpm%" Exec xlock -nice 0 -mode ball &
+ "Bat%mini-bball.xpm%" Exec xlock -nice 0 -mode bat &
+ "Blot%mini-bball.xpm%" Exec xlock -nice 0 -mode blot &
+ "Bomb%mini-bball.xpm%" Exec xlock -nice 0 -mode bomb &
+ "Bouboule%mini-bball.xpm%" Exec xlock -nice 0 -mode bouboule &
#+ "Bob%mini-bball.xpm%" Exec xlock -nice 0 -mode image -bitmap /usr/include/X11/bitmaps/l-bob.xbm -batchcount 7 &
#+ "Bounce%mini-bball.xpm%" Exec xlock -nice 0 -mode bounce &
+ "\"Bob\"%mini-bball.xpm%" Exec xlock -nice 0 -mode bounce &
+ "Braid%mini-bball.xpm%" Exec xlock -nice 0 -mode braid &
+ "Bug%mini-bball.xpm%" Exec xlock -nice 0 -mode bug &
+ "Bubble%mini-bball.xpm%" Exec xlock -nice 0 -mode bubble &
+ "Clock%mini-bball.xpm%" Exec xlock -nice 0 -mode clock &
+ "Coral%mini-bball.xpm%" Exec xlock -nice 0 -mode coral &
+ "Crystal%mini-bball.xpm%" Exec xlock -nice 0 -mode crystal &
+ "Daisy%mini-bball.xpm%" Exec xlock -nice 0 -mode daisy &
+ "Dclock%mini-bball.xpm%" Exec xlock -nice 0 -mode dclock &
+ "Deco%mini-bball.xpm%" Exec xlock -nice 0 -mode deco &
+ "Demon%mini-bball.xpm%" Exec xlock -nice 0 -mode demon &
+ "Dilemma%mini-bball.xpm%" Exec xlock -nice 0 -mode dilemma &
+ "Drift%mini-bball.xpm%" Exec xlock -nice 0 -mode drift &
+ "More" PopUp Screenlock2
DestroyMenu "Screenlock2"
AddToMenu "Screenlock2"
+ "Eyes%mini-bball.xpm%" Exec xlock -nice 0 -mode eyes &
+ "Fadeplot%mini-bball.xpm%" Exec xlock -nice 0 -mode fadeplot &
+ "Flag%mini-bball.xpm%" Exec xlock -nice 0 -mode flag &
+ "Flame%mini-bball.xpm%" Exec xlock -nice 0 -mode flame &
+ "Forest%mini-bball.xpm%" Exec xlock -nice 0 -mode forest &
+ "Galaxy%mini-bball.xpm%" Exec xlock -nice 0 -mode galaxy &
+ "Geometry%mini-bball.xpm%" Exec xlock -nice 0 -mode geometry &
+ "Grav%mini-bball.xpm%" Exec xlock -nice 0 -mode grav &
+ "Helix%mini-bball.xpm%" Exec xlock -nice 0 -mode helix &
+ "Hop%mini-bball.xpm%" Exec xlock -nice 0 -mode hop &
+ "Hyper%mini-bball.xpm%" Exec xlock -nice 0 -mode hyper &
+ "Ico%mini-bball.xpm%" Exec xlock -nice 0 -mode ico &
+ "Ifs%mini-bball.xpm%" Exec xlock -nice 0 -mode ifs &
+ "Julia%mini-bball.xpm%" Exec xlock -nice 0 -mode julia &
+ "Kaleid%mini-bball.xpm%" Exec xlock -nice 0 -mode kaleid &
+ "Laser%mini-bball.xpm%" Exec xlock -nice 0 -mode laser &
+ "Life%mini-bball.xpm%" Exec xlock -nice 0 -mode life &
+ "Life1d%mini-bball.xpm%" Exec xlock -nice 0 -mode life1d &
+ "Life3d%mini-bball.xpm%" Exec xlock -nice 0 -mode life3d &
+ "Lightning%mini-bball.xpm%" Exec xlock -nice 0 -mode lightning &
+ "Lisa%mini-bball.xpm%" Exec xlock -nice 0 -mode lisa &
+ "Lissie%mini-bball.xpm%" Exec xlock -nice 0 -mode lissie &
+ "Loop%mini-bball.xpm%" Exec xlock -nice 0 -mode loop &
+ "More" PopUp Screenlock3
DestroyMenu "Screenlock3"
AddToMenu "Screenlock3"
+ "Mandelbrot%mini-bball.xpm%" Exec xlock -nice 0 -mode mandelbrot &
+ "Marquee%mini-bball.xpm%" Exec xlock -nice 0 -mode marquee &
+ "Maze%mini-bball.xpm%" Exec xlock -nice 0 -mode maze &
+ "Mountain%mini-bball.xpm%" Exec xlock -nice 0 -mode mountain &
+ "Munch%mini-bball.xpm%" Exec xlock -nice 0 -mode munch &
+ "Nose%mini-bball.xpm%" Exec xlock -nice 0 -mode nose &
+ "Pacman%mini-bball.xpm%" Exec xlock -nice 0 -mode pacman &
+ "Penguin%mini-bball.xpm%" Exec xlock -nice 0 -mode image -bitmap /usr/include/X11/bitmaps/l-linux.xbm -batchcount 7 &
+ "Penrose%mini-bball.xpm%" Exec xlock -nice 0 -mode penrose &
+ "Petal%mini-bball.xpm%" Exec xlock -nice 0 -mode petal &
+ "Puzzle%mini-bball.xpm%" Exec xlock -nice 0 -mode puzzle &
+ "Pyro%mini-bball.xpm%" Exec xlock -nice 0 -mode pyro &
+ "Qix%mini-bball.xpm%" Exec xlock -nice 0 -mode qix &
+ "Roll%mini-bball.xpm%" Exec xlock -nice 0 -mode roll &
+ "Rotor%mini-bball.xpm%" Exec xlock -nice 0 -mode rotor &
+ "Shape%mini-bball.xpm%" Exec xlock -nice 0 -mode shape &
+ "Sierpinski%mini-bball.xpm%" Exec xlock -nice 0 -mode sierpinski &
+ "Slip%mini-bball.xpm%" Exec xlock -nice 0 -mode slip &
+ "Sphere%mini-bball.xpm%" Exec xlock -nice 0 -mode sphere &
+ "Spiral%mini-bball.xpm%" Exec xlock -nice 0 -mode spiral &
+ "Spline%mini-bball.xpm%" Exec xlock -nice 0 -mode spline &
+ "Star%mini-bball.xpm%" Exec xlock -nice 0 -mode star &
+ "Strange%mini-bball.xpm%" Exec xlock -nice 0 -mode strange &
+ "More" PopUp Screenlock4
DestroyMenu "Screenlock4"
AddToMenu "Screenlock4"
+ "Swarm%mini-bball.xpm%" Exec xlock -nice 0 -mode swarm &
+ "Swirl%mini-bball.xpm%" Exec xlock -nice 0 -mode swirl &
+ "Triangle%mini-bball.xpm%" Exec xlock -nice 0 -mode triangle &
+ "Tube%mini-bball.xpm%" Exec xlock -nice 0 -mode tube &
+ "Turtle%mini-bball.xpm%" Exec xlock -nice 0 -mode turtle &
+ "Vines%mini-bball.xpm%" Exec xlock -nice 0 -mode vines &
+ "Voters%mini-bball.xpm%" Exec xlock -nice 0 -mode voters &
+ "Wator%mini-bball.xpm%" Exec xlock -nice 0 -mode wator &
+ "Wire%mini-bball.xpm%" Exec xlock -nice 0 -mode wire &
+ "World%mini-bball.xpm%" Exec xlock -nice 0 -mode world &
+ "Worm%mini-bball.xpm%" Exec xlock -nice 0 -mode worm &
DestroyMenu "Games"
AddToMenu "Games"
+ "Maze%mini-maze.xpm%" Exec maze &
+ "Spider%mini-espada.xpm%" Exec spider &
+ "Chess%mini-slon.xpm%" Exec xboard &
+ "Xlander%mini-xlander.xpm%" Exec xlander &
#+ "Xmahjongg%mini-xmahjongg.xpm%" Exec xmahjongg &
+ "Workman%mini-cdlabel.xpm%" Exec workman &
+ "" Nop
+ "Amusements" Popup Amusements
DestroyMenu "Amusements"
AddToMenu "Amusements"
#+ "Xcat%mini-cat.xpm%" Exec xcat &
+ "Xeyes%mini-eyes.xpm%" Exec xeyes &
+ "Xlogo%mini-bx2.xpm%" Exec xlogo &
+ "Xroach%mini-roach.xpm%" Exec xroach &
+ "Xsnow%mini-xsnow.xpm%" Exec xsnow &
+ "Stop Xsnow%mini-stop.xpm%" Exec killall xsnow &
DestroyMenu "Accessories"
AddToMenu "Accessories"
+ "Font viewer (xfontsel)%mini-font.xpm%" Exec xfontsel &
+ "Manual pages%mini-book1.xpm%" Exec xman &
+ "Magnifying glass%mini-zoom.xpm%" Exec xmag &
+ "Oclock%mini-clock.xpm%" Exec oclock &
+ "Running Processes (Top)%mini-run.xpm%" Exec xterm -font 7x14 -T Top -n Top -e top &
+ "System load%mini-perf.xpm%" Exec xload &
+ "Xclipboard%mini-clipboard.xpm%" Exec xclipboard &
+ "Xclock%mini-clock.xpm%" Exec xclock &
DestroyMenu "Applications"
AddToMenu "Applications"
+ "Emacs%mini-edit.xpm%" Exec emacs &
+ "NcFTP%mini-ftp.xpm%" Exec xterm -name NcFtp -T FTP -ls -fn 7x14 -e ncftp &
+ "GIMP%mini-camera.xpm%" Exec gimp &
+ "Gv%mini-gv.xpm%" Exec gv &
+ "Gnuplot%mini-zoom.xpm%" Exec xterm -T "Gnuplot" -name Gnuplot -fn 7x14 -e gnuplot &
+ "SeaMonkey%mini-nscape.xpm%" Exec seamonkey &
+ "Pine%mini-mail.xpm%" Exec xterm -name Mail -T Mail -ls -fn 7x14 -e pine -i &
+ "Xv%mini-xv.xpm%" Exec xv &
+ "Xedit%mini-edit.xpm%" Exec xedit &
+ "Xfig%mini-xfig.xpm%" Exec xfig &
+ "Xfractint%mini-fractal.xpm%" Exec xterm -font 7x14 -e xfractint &
+ "Xpaint%mini-paint.xpm%" Exec xpaint &
+ "Xpdf%mini-pdf.xpm%" Exec xpdf &
+ "Xxgdb%mini-bug2.xpm%" Exec xxgdb &
DestroyMenu "Filemanagers"
AddToMenu "Filemanagers"
#+ "TkDesk%mini-desktop.xpm%" Exec tkdesk &
+ "Xfm%mini-filemgr.xpm%" Exec xfm &
#
# This menu is invoked as a sub-menu - it allows you to quit,
# restart, or switch to another WM.
#
DestroyMenu "Quit-Verify"
AddToMenu "Quit-Verify"
+ "Quit fvwm2%mini-exclam.xpm%" Quit
+ "" Nop
+ "Restart Fvwm2%mini-turn.xpm%" Restart fvwm2
+ "" Nop
+ "Start fvwm95%mini-exp.xpm%" Restart fvwm95
+ "Start mwm%mini-mwm.xpm%" Restart mwm
+ "Start olvwm%mini-olwm.xpm%" Restart /usr/openwin/bin/olvwm
+ "Start olwm%mini-olwm.xpm%" Restart /usr/openwin/bin/olwm
+ "Start twm%mini-twm.xpm%" Restart twm
#
# Provides a list of modules to fire off
#
#DestroyMenu "Module-Popup"
#AddToMenu "Module-Popup"
##+ "Audio" Module FvwmAudio
#+ "Banner%mini.fvwm.xpm%" Module FvwmBanner
#+ "Button Bar%mini-ball.xpm%" Module FvwmButtons
#+ "Button Bar (Mini)%mini-ball.xpm%" Module FvwmButtons MiniButtons
##+ "Clean-Up%mini-pencil.xpm%" Module FvwmClean
##+ "Configure%mini-hammer.xpm%" Module FvwmConfig
#+ "Debug%mini-bug2.xpm%" Module FvwmDebug
##+ "Task bar%mini-exp.xpm%" Module FvwmTaskBar
#+ "Identify%mini-question.xpm%" Module FvwmIdent
#+ "Save Desktop%mini-desktop.xpm%" Module FvwmSaveDesk
#+ "Pager%mini-pager.xpm%" Module FvwmPager 0 0
#+ "Window List%mini-windows.xpm%" Module FvwmWinList
#+ "Talk%mini-exclam.xpm%" Module FvwmTalk
AddToMenu Module-Popup "FvwmModules" Title
+ "Identify" Module FvwmIdent
+ "Talk" Module FvwmTalk
+ "" Nop
+ "Button-Bar" Module FvwmButtons
+ "Pager" Module FvwmPager 0 0
+ "Pager (2 desks)" Module FvwmPager 0 1
+ "WinList" Module FvwmWinList
+ "" Nop
+ "Banner" Module FvwmBanner
+ "ScrollBar" Module FvwmScroll 50 50
+ "Background" Module FvwmBacker
+ "AutoRaise" Module FvwmAuto 200 Raise Nop
+ "Stop AutoRaise" KillModule FvwmAuto
+ "" Nop
+ "IconBox" Module FvwmIconBox
+ "IconMan" Module FvwmIconMan
+ "" Nop
+ "Form - Rlogin" Module FvwmForm Rlogin
+ "Form - MyFvwmTalk" Module FvwmForm MyFvwmTalk
+ "Form - QuitVerify" Module FvwmForm QuitVerify
#
# This menu will fire up some very common utilities
#
DestroyMenu "Utilities"
AddToMenu "Utilities"
+ "" Nop
+ "Xterm%mini-term.xpm%" Exec xterm -sb -sl 500 -j -ls -fn 7x14 -fb 7x14bold &
+ "Running Processes (Top)%mini-run.xpm%" Exec xterm -font 7x14 -T Top -n Top -e top &
+ "Calculator%mini-calc.xpm%" Exec xcalc &
+ "Manual pages%mini-book1.xpm%" Exec xman &
+ "Magnifying glass%mini-zoom.xpm%" Exec xmag &
+ "Oclock%mini-clock.xpm%" Exec oclock &
+ "" Nop
+ "Applications%mini-x2.xpm%" Popup Applications
+ "File Managers%mini-filemgr.xpm%" Popup Filemanagers
+ "Games%mini-happy.xpm%" Popup Games
+ "Shells%mini-term.xpm" Popup Shells
+ "" Nop
+ "Screensaver%mini-display.xpm%" Popup Screensaver
+ "Lock Screen%mini-lock.xpm%" Popup Screenlock
+ "" Nop
+ "Modules%mini-modules.xpm%" Popup Module-Popup
+ "" Nop
+ "Refresh Screen%mini-ray.xpm%" Refresh
+ "" Nop
+ "Exit Fvwm2%mini-stop.xpm%" Popup Quit-Verify
#
# This defines the most common window operations
#
DestroyMenu "Window Ops"
AddToMenu "Window Ops" Title
+ "&Move%mini-move.xpm%" Function Move-or-Raise
+ "&Resize%mini-resize.xpm%" Function Resize-or-Raise
+ "R&aise%mini-raise.xpm%" Raise
+ "&Lower%mini-lower.xpm%" Lower
+ "(De)Iconify" Iconify
+ "(Un)Stick" Stick
+ "(Un)Maximize%mini-max1.xpm%" Function maximize_func
+ "" Nop
+ "Kill%mini-bomb.xpm%" Destroy
+ "&Close%mini-cross.xpm%" Delete
+ "" Nop
+ "Switch to..." WindowList
+ "Refresh Screen%mini-ray.xpm%" Refresh
#
# A trimmed down version of "Window Ops", good for binding to decorations
#
AddToMenu "Window-Ops2" "&Restore" Iconify -1
+ "&Move" Move-or-Raise
+ "&Size" Resize-or-Raise
+ "Mi&nimize" Iconify 1
+ "Ma&ximize" Maximize 100 100
+ "" Nop
+ "&Kill" Destroy
+ "&Close Alt+F4" Delete
#========================================================================#
#
# One more complex function - couldn't be defined earlier because it used
# pop-up menus
#
# This creates the "system" menu for the title-bar window-ops
# pop-up
#
AddToFunc "window_ops_func" "C" PopUp Window-Ops2
+ "M" PopUp Window-Ops2
+ "D" Delete
#========================================================================#
#
# Mouse bindings
#
# First, for the mouse in the root window
# Button 1 gives the Utilities menu
# Button 2 gives the Window Ops menu
# Button 3 gives the WindowList (like TwmWindows)
# I use the AnyModifier (A) option for the modifier field, so you can hold down
# any shift-control-whatever combination you want!
# Button Context Modifi Function
Mouse 1 R A Menu "Utilities" Nop
Mouse 2 R A Menu "Window Ops" Nop
Mouse 3 R A WindowList
#Mouse 3 R A Module "winlist" FvwmWinList transient
# Now the title bar buttons
# Any button in the left title-bar button gives the window ops menu
# Any button in the first right title-bar button Iconifies the window
# Any button in the second title-bar button full-maximizes
# Note the use of "Mouse 0" for AnyButton.
# Button Context Modif Function
Mouse 0 1 A Function "window_ops_func"
Mouse 0 2 A Maximize 100 100
Mouse 0 4 A Iconify
# Now the rest of the frame
# Here I invoke my complex functions for Move-or-lower, Move-or-raise,
# and Resize-or-Raise.
#
# Button 1 in the corner pieces, with any modifiers, gives resize or raise
Mouse 1 F A Function "Resize-or-Raise"
# Button 1 in the title, sides, or icon, w/ any modifiers, gives move or raise
Mouse 1 TS A Function "Move-or-Raise"
# Button 1 in an icons gives move for a drag, de-iconify for a double-click,
# nothing for a single click
# Button 2 in an icon, w/ any modifiers, gives de-iconify
Mouse 1 I A Function "Move-or-Iconify"
Mouse 2 I A Iconify
# Button 2 in the corners, sides, or title-bar gives the window ops menu
Mouse 2 FST A Function "window_ops_func"
# Button 3 anywhere in the decoration (except the title-bar buttons)
# does a raise-lower
Mouse 3 TSIF A RaiseLower
# Button 3 in the window, with the Modifier-1 key (usually alt or diamond)
# gives Raise-Lower. Used to use control here, but that interferes with xterm
Mouse 3 W M RaiseLower
#========================================================================#
# Now some keyboard shortcuts.
# Arrow Keys
# press arrow + control anywhere, and scroll by 1 page
Key Left A C Scroll -100 0
Key Right A C Scroll +100 +0
Key Up A C Scroll +0 -100
Key Down A C Scroll +0 +100
# press arrow + meta key, and scroll by 1/10 of a page
Key Left A M Scroll -10 +0
Key Right A M Scroll +10 +0
Key Up A M Scroll +0 -10
Key Down A M Scroll +0 +10
# press shift arrow + control anywhere, and move the pointer by 1% of a page
Key Left A SC CursorMove -1 0
Key Right A SC CursorMove +1 +0
Key Up A SC CursorMove +0 -1
Key Down A SC CursorMove +0 +1
# press shift arrow + meta key, and move the pointer by 1/10 of a page
Key Left A SM CursorMove -10 +0
Key Right A SM CursorMove +10 +0
Key Up A SM CursorMove +0 -10
Key Down A SM CursorMove +0 +10
# Keyboard accelerators
Key F1 A M Popup "Utilities"
Key F1 A M Popup "Utilities"
Key F2 A M Popup "Window Ops"
Key F3 A M Module "WindowList" FvwmWinList
Key F4 A M Iconify
Key F5 A M Move
Key F6 A M Resize
Key F7 A M CirculateUp
Key F8 A M CirculateDown
#Page Up/Dapge Down keys are used to scroll by one desktop page
# in any context, press page up/down + control
# in root context, just pressing page up/down is OK
#
# I prefer the non-wrapping scroll. These are for example purposes only
#Key Next A C Scroll 100000 0
#Key Next R N Scroll 100000 0
#Key Prior A C Scroll -100000 0
#Key Prior R N Scroll -100000 0
Key Tab A M Prev Focus
Key Tab A MS Next Focus
Key Escape A C WindowList
#========================================================================#
# Definitions used by the modules
#------------------ Pager
*FvwmPagerBack grey60
*FvwmPagerFore black
*FvwmPagerFont -adobe-helvetica-bold-r-*-*-10-*-*-*-*-*-*-*
*FvwmPagerHilight #c3c3c3
*FvwmPagerGeometry -3-27
*FvwmPagerLabel 0 Desktop
*FvwmPagerSmallFont 5x8
#------------------ FvwmButtons
*FvwmButtonsFore Black
*FvwmButtonsBack #c3c3c3
*FvwmButtonsFont -adobe-helvetica-bold-r-*-*-10-*-*-*-*-*-*-*
# Geometry - really likes to pick its own size, but giving a position is OK
*FvwmButtonsGeometry -5-5
# Layout: specify rows or columns, not both
*FvwmButtonsRows 1
# Define the buttons to use.....
*FvwmButtons xclock clock.xpm Swallow "xclock" Exec xclock -bg \#c3c3c3 -geometry -1500-1500 -padding 0 &
#*GoodStuff xcmap NULL Swallow "xcmap" xcmap -geometry -1500-1500
*FvwmButtons (2x1) load NULL Swallow "xload" Exec nice -16 xload -nolabel -bg grey60 -update 5 -geometry -1500-1500
*FvwmButtons SeaMonkey nscape.xpm Exec "SeaMonkey" seamonkey &
*FvwmButtons xterm rterm.xpm Exec "xterm" xterm -ls -sb -fn 7x14 &
*FvwmButtons xfm Xfm.xpm Exec "Xfm" xfm &
#*FvwmButtons textedit textedit.xpm Exec "Textedit" textedit &
*FvwmButtons xcalc rcalc.xpm Exec "Calculator" xcalc &
*FvwmButtons xv xv.xpm Exec "xv" xv &
#*FvwmButtons gv gv.xpm Exec "gv" gv &
#*FvwmButtons seamonkey nscape.xpm Exec "SeaMonkey" seamonkey -geometry 920x650+90+5
*FvwmButtons kill rbomb.xpm Destroy
#*FvwmButtons (2x1) - whatever SwallowModule Exec "Desktop" FvwmPager 0 0
*FvwmButtons (2x1, Swallow(UseOld) "Desktop" 'FvwmPager 0 0')
#------------------ MiniButtons
Style "MiniButtons" NoTitle,NoHandles,Sticky,StaysOnTop,WindowListSkip,BorderWidth 0
*MiniButtonsFore Black
*MiniButtonsBack #c0c0c0
*MiniButtonsFont -adobe-helvetica-bold-r-*-*-10-*-*-*-*-*-*-*
*MiniButtonsGeometry -5-5
*MiniButtonsRows 1
*MiniButtonsPadding 1 1
*MiniButtons - mini-nscape.xpm Exec "SeaMonkey" seamonkey -geometry 790x543+0+0 &
*MiniButtons - mini-term.xpm Exec "XTerm" xterm -ls -sb -fn 7x14 &
*MiniButtons - mini-filemgr.xpm Exec "Xfm" xfm &
*MiniButtons - mini-calc.xpm Exec "Calculator" xcalc &
#*MiniButtons - mini-gv.xpm Exec "gv" gv &
*MiniButtons - mini-xv.xpm Exec "xv" xv &
*MiniButtons - mini-bomb.xpm Destroy
#------------------ Identify
*FvwmIdentBack #000080
*FvwmIdentFore Yellow
*FvwmIdentFont -adobe-helvetica-medium-r-*-*-12-*-*-*-*-*-*-*
#------------------ FvwmWinList
*FvwmWinListBack #c3c3c3
*FvwmWinListFore Black
*FvwmWinListFont -adobe-helvetica-bold-r-*-*-10-*-*-*-*-*-*-*
*FvwmWinListAction Click1 Iconify -1,Focus
*FvwmWinListAction Click2 Iconify
*FvwmWinListAction Click3 Module "FvwmIdent" FvwmIdent
*FvwmWinListUseSkipList
*FvwmWinListGeometry +0-1
#------------------ FvwmTaskBar
#Style "FvwmTaskBar" NoTitle,BorderWidth 4,HandleWidth 4,Sticky,StaysOnTop,WindowListSkip,CirculateSkip
# I don't like the taskbar to stay to top, since it covers the bottom
# part of SeaMonkey in full-screen mode:
#Style "FvwmTaskBar" NoTitle,BorderWidth 4,HandleWidth 4,Sticky,WindowListSkip,CirculateSkip
*FvwmTaskBarGeometry +0-0
*FvwmTaskBarFore Black
*FvwmTaskBarBack #c3c3c3
*FvwmTaskBarTipsFore black
*FvwmTaskBarTipsBack bisque
*FvwmTaskBarFont -adobe-helvetica-medium-r-*-*-*-120-*-*-*-*-*-*
*FvwmTaskBarSelFont -adobe-helvetica-bold-r-*-*-*-120-*-*-*-*-*-*
*FvwmTaskBarAction Click1 Iconify -1,Raise,Focus
*FvwmTaskBarAction Click2 Iconify
*FvwmTaskBarAction Click3 Module "FvwmIdent" FvwmIdent
*FvwmTaskBarUseSkipList
*FvwmTaskBarAutoStick
*FvwmTaskBarStartName Start
*FvwmTaskBarStartMenu StartMenu
# Just for fun, let's use the Linux penguin for the Start button:
*FvwmTaskBarStartIcon mini-penguin.xpm
#*FvwmTaskBarStartIcon mini-exp.xpm
*FvwmTaskBarShowTips
*FvwmTaskBarMailProg xterm -e mail
|