Posted: . At: 1:51 PM. This was 4 years ago. Post ID: 14644
Page permalink. WordPress uses cookies, or tiny pieces of information stored on your computer, to verify who you are. There are cookies for logged in users and for commenters.
These cookies expire two weeks after they are set.


Very nice FVWM config to provide a very useful desktop interface.


This is my very old .fvwm2rc I used to use. This should be very useful for anyone who is interested in using this very old desktop environment.

~/.fvwm2rc
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
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
#------------------------------------------------------------------------------
# Set the root cursor
#------------------------------------------------------------------------------
 
CursorStyle ROOT         left_ptr
CursorStyle TITLE        left_ptr
CursorStyle DEFAULT      left_ptr
CursorStyle SYS          left_ptr
CursorStyle MENU         left_ptr
 
#------------------------------------------------------------------------------
# Fonts - one for window titles, another for icons, and another for the menus
#------------------------------------------------------------------------------
 
#FVWM 1
Style * Font "xft:sans-serif:Medium;-*-times-bold-r-*-*-14-*-*-*-*-*-*-*"
 
Style * IconFont \
  "xft:monospace:pixelsize=12:Medium;-*-fixed-medium-r-*-*-12-*-*-*-*-*-*-*"
 
#------------------------------------------------------------------------------
# Set the default window colors.
#------------------------------------------------------------------------------
 
# Text and background color for the title bar (overridden in the WIN case),
# and the border of the inactive window (also used by icon title,
# and "hilight" and "shadow" colors).
#FVWM 1
Style * ForeColor white, BackColor grey20
 
# Text and background color for the title bar (overriden in the WIN case),
# and the border of the active (selected) window (also used by icon title,
# and "hilight" and "shadow" colors).
#FVWM 1
Style * HilightFore white, HilightBack grey20
 
#------------------------------------------------------------------------------
# Border, Title and Button Styles
#------------------------------------------------------------------------------
# Decors - this style of config will be deprecated come Fvwm3, but that's a
# while off yet, so we'll use it. Window title buttons are numbered like this:
#
# +=========================================================================+
# |1 3 5 7 9			  Title			       0  8  6  4  2|
# |-------------------------------------------------------------------------|
# |									    |
# |									    |
#
Style * BorderWidth 3, HandleWidth 3
 
BorderStyle	Inactive -- HiddenHandles NoInset Flat
BorderStyle	Active -- HiddenHandles NoInset Flat
TitleStyle	LeftJustified
ButtonStyle	1	MiniIcon (-- flat)
ButtonStyle	all	-- UseTitleStyle Flat
ButtonStyle 2 17 20x20@1 30x20@1 50x40@1 \
70x20@1 80x20@1 80x30@0 60x50@0 \
70x70@1 80x80@0 80x80@0 60x60@0
 
ButtonStyle 4 4 50x25@1 75x75@0 25x75@0 50x25@1
ButtonStyle 6 4 50x65@1 35x35@1 65x35@1 50x65@0
ButtonStyle 1 - Clear MWMDecorMenu
ButtonStyle 2 - Clear
ButtonStyle 4 - Clear MWMDecorMax
ButtonStyle 6 - Clear MWMDecorShade
 
#------------------------------------------------------------------------------
# The MenuStyle command allows almost full control over menu look and feel.
# We use the preconfigured 'Win' or 'Fvwm' default. This resets most other
# options and must be set first. We also define a menu called winops for
# the windows operations menus and very long one. The menus which use this
# style are (and must) be defined in the end of the menus.
#------------------------------------------------------------------------------
 
#WIN 4
MenuStyle * win
MenuStyle * font "xft:sans-serif:Medium;-*-times-medium-r-*-*-16-*-*-*-*-*-*-*"
MenuStyle * Foreground white, Background grey20
MenuStyle * ActiveFore white, HilightBack grey30
 
MenuStyle * Greyed grey90  # default is invisible on backgroud grey80
MenuStyle * VerticalItemSpacing 2 4, VerticalTitleSpacing 2 4
 
CopyMenuStyle * winops
 
#WIN 1
MenuStyle winops font "xft:sans-serif:Medium;-*-times-medium-r-*-*-14-*-*-*-*-*-*-*"
 
MenuStyle winops VerticalItemSpacing 1 2, VerticalTitleSpacing 1 2
 
#SEG globalfeel
#-----------------------------------------------------------------------------#
#
# 3. Set up the major operating modes
#
#-----------------------------------------------------------------------------#
 
# WARNING!
#
# If you use (or ever used) Settings-->Configuration-->Base Config
# to configure your major operating modes then all commands in this
# section 3 are overridden by the last line of this section (PipeRead).
# So, you can comment the last line of this section.
# Or, instead, you can remove all the lines of this section but the last one.
#
# If you use Base Config and this section has some application dependent
# styles, a suggested solution is to move them to the styles file.
# This way Base Config does not destroy your application specific
# styles when you use it.
 
#WIN 1  To have more WIN-like behavior
Emulate win
 
HideGeometryWindow Never
 
#WIN 1
SnapAttraction 10 SameType Screen
 
#FAST 3
OpaqueMoveSize 100
Style * ResizeOpaque
Style * WindowShadeSteps 20
 
EdgeScroll 0 0
EdgeResistance 500 0
EdgeThickness 1
 
#
# The focus policy.
#
Style * FocusFollowsMouse
 
#
# MinOverlapPlacement places window automatically in a way that attempts to be
# place windows 'intelligent'.
#
Style * MinOverlapPlacement
 
#
# NoPPosition instructs FVWM to ignore the PPosition field in window
# geometry hints. Emacs annoyingly sets PPosition to (0,0)!
#
 
Style * NoPPosition
 
Style * GrabFocusOff
 
# If you ever used Base Config, then the next line overrides this section
# with the settings you defined! In this case you may replace the whole
# section 3 by one command "Read .FvwmBaseConfig".
PipeRead '[ ! -f $FVWM_USERDIR/.FvwmBaseConfig ] || echo Read .FvwmBaseConfig'
 
#----------------------------------------------------------------------------#
#
# 4. Miscellaneous Major operating mode
#
#----------------------------------------------------------------------------#
 
#------------------------------------------------------------------------------
# Set the desk top size in units of physical screen size
#------------------------------------------------------------------------------
 
DeskTopSize 2x2
 
#------------------------------------------------------------------------------
# Some good things (in general)
#------------------------------------------------------------------------------
Style * MWMFunctions
Style * MWMDecor
Style * HintOverride
Style * OLDecor
 
BusyCursor DynamicMenu True, Read True
 
#SEG startup
#-----------------------------------------------------------------------------#
#
# 5. Stuff to do at start-up and on restart
#
#-----------------------------------------------------------------------------#
 
# Defines the background
Read .start-Background
# This file defines which applications manager we start: TaskBarGlobal,
# TaskBarDesk, IconBoxGlobal, IconBoxDesk, ...etc.
Read .start-apps-man
# This one decides which big buttons we start BarButtons, Wharf or None
Read .start-FvwmButtons
# This one decides if we start the DeskerPanel
Read .start-DeskerPanelButtons
# This one decides if we start MiniButtons
Read .start-MiniButtons
# This one decides if we start WinMakerAppButtons
Read .start-WinMakerAppButtons
# This file decides if we start FvwmAnimate or not
Read .start-FvwmAnimate
# This one decides if we start FvwmAuto
Read .start-FvwmAuto
# This one decides if we start FvwmBanner
Read .start-FvwmBanner
# Sounds effect (FvwmEvent)
Read .start-FvwmEvent
 
# The StartFunction is used at start and restart with or without a Session
# Manager. The above file .start-* defines this function. If
# we want Gtk menus and dialog (defined in the modules section) we start
# FvwmGtk.
 
AddToFunc StartFunction
G_M_G 1
+ I Module FvwmGtk
+ I Module FvwmTaskBar
+ I Module FvwmDesker
 
# The InitFunction is used at FVWM start
 
AddToFunc InitFunction
# Load the X Setup Scripts setting if we use it
+ I Exec [ -f $HOME/.xinitrc-fvwm ] && sh $HOME/.xinitrc-fvwm
#+ I Exec exec xsetroot -solid \#7F4B7F
 
# The restart function:
 
AddToFunc RestartFunction
#+ I Module FvwmButtons MyButtons
 
#
# When used with a session manager FVWM uses SessionInitFunction and
# SessionRestartFunction in the place of  InitFunction and RestartFunction
#
 
AddToFunc SessionInitFunction
# Do not Load the X Setup Scripts setting, some Session Managers have its own
# method (e.g., GNOME)
#+ I Exec [ -f $HOME/.xinitrc-fvwm ] && sh $HOME/.xinitrc-fvwm
#+ I Module FvwmButtons MyButtons
 
AddToFunc SessionRestartFunction
#+ I Module FvwmButtons MyButtons
 
#SEG styles
#-----------------------------------------------------------------------------#
#
# 6. Set application dependent styles
#
# 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.
#
#-----------------------------------------------------------------------------#
 
Style *lock        NoTitle, NoHandles, Sticky, WindowListSkip
Style xeyes        NoTitle, Sticky
Style *biff*       NoTitle,            Sticky, WindowListSkip
Style xsysinfo     NoTitle,            Sticky, WindowListSkip
Style xload        NoTitle,            Sticky, WindowListSkip
Style xconsole                         Sticky, StartIconic
Style xpostit                                  WindowListSkip
Style PostitNote                               WindowListSkip
Style Postit       NoHandles,                  WindowListSkip
# gnome panel & icons
Style panel        Sticky, NoTitle, WindowListSkip, CirculateSkip
Style desktop_icon CirculateSkip, WindowListSkip,  NoTitle
# Animation is broken in gnome panel 1.4 with GNOMEUseHints.
# GNOMEIgnoreHints also disables panel moving itself from layer to layer.
Style panel        GNOMEIgnoreHints
# xsm panel
Style xsm            Sticky, NoTitle, WindowListSkip, CirculateSkip
Style xine*          Sticky, NoTitle
Style xmms*          Sticky, NoTitle
Style FvwmTaskBar    Sticky, NoTitle, WindowListSkip, CirculateSkip
 
Style FvwmForm-QuitVerify NoButton 1, NoButton 2, NoButton 4, NoButton 6, \
				StaysOnTop, NoHandles, WindowListSkip
 
# Some version of Netscape need the following if you want that the
# page source (and others horrible banner) to be decorated (but you may
# lost some MWM decor hints)
#Style Netscape NoDecorHint
 
# I do not like that the "find in page" of netscape cannot be lowered.
# Uncomment the next line if your are agree.
#Style Netscape DontRaiseTransient
 
#DT 1 for the CDE "desk icon"
#Style popup_* CirculateSkip, WindowListSkip
 
# Read the layers settings (stays OnTop, Put or OnBottom)
Read .fvwm-layers
 
#SEG iconstyles
#-----------------------------------------------------------------------------#
#
# 7. Set applications Mini Icons and Icons
#
#-----------------------------------------------------------------------------#
 
# Note: Most applications provide an icon.
 
Style *		IconBox 10 -80 -0 -0, IconGrid 64 64, IconFill left bottom, \
		IconBox 10 +300 -150 -80, IconGrid 64 64, IconFill bottom left
Style *		SlipperyIcon, IconTitle
 
 
# default
Style *         	MiniIcon mini.doc.xpm, Icon page.xpm
 
# Terminals
Style *term*		MiniIcon mini.term.xpm, Icon rterm2.xpm
Style rxvt      	MiniIcon mini.term.xpm, Icon rterm2.xpm #!E rxvt
 
# Accessories
Style xcalc     	MiniIcon mini.calc.xpm, Icon rcalc2.xpm
Style xconsole  	MiniIcon mini.term.xpm, Icon rtrem2.xpm
Style xmag      	MiniIcon mini.zoom.xpm, Icon mag_glass.xpm
Style xfontsel		MiniIcon mini.font.xpm, Icon toolbox.xpm
Style xgrab		MiniIcon mini.camera.xpm
Style *clock*		MiniIcon mini.clock.xpm
Style ddd		MiniIcon mini.bug2.xpm #!E ddd
Style xgdb		MiniIcon mini.bug2.xpm #!E xgdb
Style XClipboard   	MiniIcon mini.clipboard.xpm, Icon toolbox.xpm
Style *color*		MiniIcon mini.colors.xpm, Icon resize
 
# Applications
Style lyx		MiniIcon mini.edit.xpm		#!E lyx
Style thot		MiniIcon mini.edit.xpm		#!E thot
Style ghostview 	MiniIcon mini.gv.xpm		#!E ghostview
Style gv	 	MiniIcon mini.gv.xpm		#!E gv
Style xdvi		MiniIcon mini.zoom.xpm		#!E xdvi
Style acroread	 	MiniIcon mini.pdf.xpm		#!E acroread
Style xpdf		MiniIcon mini.pdf.xpm		#!E xpdf
Style plan		MiniIcon mini.calandar.xpm	#!E plan
 
# Sciences
Style GNUplot		MiniIcon mini.graph.xpm, Icon graphs.xpm #!E gnuplot
Style *maple		MiniIcon mini.zoom.xpm #!E xmpale
Style Scilab    	MiniIcon mini.graph2.xpm #!E scilab
Style Xaos		MiniIcon mini.fractal.xpm #!E xaos
Style fractint		MiniIcon mini.fractal.xpm #!E xfractint
Style xephem		MiniIcon mini.exp.xpm #!E xephem
Style XTide		MiniIcon mini.exp.xpm #!E xtide
Style THX-1138		MiniIcon mini.calc.xpm #!E thx-1138
 
# System
Style Top		MiniIcon mini.run.xpm, Icon toolbox.xpm
Style tkps		MiniIcon mini.hex.xpm, Icon toolbox.xpm #!E tkps
Style xosview		MiniIcon mini.run.xpm, Icon toolbox.xpm #!E xosview
Style xload		MiniIcon mini.perf.xpm, Icon toolbox.xpm
Style xmem		MiniIcon mini.perf.xpm, Icon toolbox.xpm #!E xmem
Style XSysStats         MiniIcon mini.run.xpm #!E XSysStats
# File Mgr
Style xfm		MiniIcon mini.filemgr.xpm, Icon Xfm.xpm #!E xfm
Style fr		MiniIcon mini.filemgr.xpm, Icon Xfm.xpm	#!E fr
Style Midnight-Commander MiniIcon mini.filemgr.xpm, Icon Xfm.xpm #!E mc
 
# Editors
Style emacs		MiniIcon mini.edit.xpm, Icon lemacs.xpm #!E emacs:xemacs
Style VIM		MiniIcon mini.edit.xpm, Icon lemacs.xpm #!E gvim
Style *edit		MiniIcon mini.edit.xpm, Icon lemacs.xpm
Style dtpad		MiniIcon mini.edit.xpm, Icon lemacs.xpm #!E /usr/dt/bin/dtpad
 
# Network
Style *ppp*		MiniIcon mini.connect.xpm, Icon Mosaic.xpm
Style Hifs		MiniIcon mini.connect.xpm, Icon Mosaic.xpm #!E hifs
 
# Internet
# Netscape resource
Style Netscape  	MiniIcon mini.nscape.xpm
Style Navigator 	MiniIcon mini.nscape.xpm
Style MailFolder 	MiniIcon mini.dirlink.xpm
Style MailThread 	MiniIcon mini.mail.xpm
Style Composition	MiniIcon mini.letter.xpm
Style Composer		MiniIcon mini.editor.xpm
Style *Download*	MiniIcon mini.ftp.xpm
#
Style amaya		MiniIcon mini.nscape.xpm #!E amaya
Style Mozilla		MiniIcon mini.nscape.xpm #!E mozilla
Style lynx		MiniIcon mini.cat.xpm,  Icon Mosaic.xpm #!E lynx
Style xmh		MiniIcon mini.mail.xpm, Icon Mail2.xpm  #!E xmh
Style Mail         	MiniIcon mini.mail.xpm, Icon Mail2.xpm  #!E mail
Style *mail*         	MiniIcon mini.mail.xpm, Icon Mail2.xpm
Style Pine		MiniIcon mini.mail.xpm, Icon Mail2.xpm #!E pine
Style Mutt		MiniIcon mini.mail.xpm, Icon Mail2.xpm #!E mutt
Style NcFtp        	MiniIcon mini.ftp.xpm,  Icon Mosaic.xpm #!E ncftp
Style *ftp*        	MiniIcon mini.ftp.xpm,  Icon Mosaic.xpm
Style "X-Chat*"		MiniIcon mini.doc1.xpm, Icon page.xpm #!E xchat
Style Irc		MiniIcon mini.doc1.xpm #!E irc
Style tkirc		MiniIcon mini.doc1.xpm #!E tkirc
Style Licq		MiniIcon mini.doc1.xpm #!E licq
Style
Style zircon        	MiniIcon mini.zircon.xpm #! zircon
Style xgopher		MiniIcon mini.gopher.xpm #!E xgopher
 
# Graphics
Style xv        	MiniIcon mini.xv.xpm #!E xv
Style "The GIMP"  	MiniIcon mini.gimp.xpm, Icon gimp.xpm #!E gimp
Style "Gimp"		MiniIcon mini.gimp.xpm, Icon gimp.xpm #!E gimp
Style xfig		MiniIcon mini.xfig.xpm #!E xfig
Style xfpovary		MiniIcon mini.ray.xpm #!E xfpovary
# xpaint resource names
Style xpaint    	MiniIcon mini.palette.xpm
Style Canvas    	MiniIcon mini.palette.xpm
Style fatbits 	        MiniIcon mini.palette.xpm
Style filebrowser	MiniIcon mini.ofolder.xpm
#
Style XbmBrowser   	MiniIcon mini.directory.xpm #!E xbmbrowser
Style ee		MiniIcon mini.palette.xpm #!E ee
 
# Multimedia
Style *mixer		MiniIcon mini.audiovol.xpm
Style *playcd*      	MiniIcon mini.cdlabel.xpm
Style *cdplay*      	MiniIcon mini.cdlabel.xpm
Style xltwavplay        MiniIcon mini.sound.xpm #!E xltwavplay
Style MiXViews		MiniIcon mini.audiovol.xpm #!E mxv
Style freeamp		MiniIcon mini.audiovol.xpm #!E freeamp
Style XAnim             MiniIcon mini.display.xpm #!E xanim
# Games and amusement
Style *maze		MiniIcon mini.maze.xpm
Style xboard		MiniIcon mini.slon.xpm #!E xboard
Style XGammon		MiniIcon mini.go.xpm #!E xgammon
Style xsokoban		MiniIcon mini.go.xpm #!E xsokoban
Style xlander		MiniIcon mini.xlander.xpm #!E xlander
Style xmahjongg		MiniIcon mini.xmahjongg.xpm #!E xmahjongg
Style xjewel		MiniIcon mini.xjewel.xpm #!E xjewel
Style hextris		MiniIcon mini.hextris.xpm #!E hextris
Style *tetris*		MiniIcon mini.tetris.xpm
Style kpat2		MiniIcon mini.heart.xpm #!E kpat2
Style xeyes     	MiniIcon mini.eyes.xpm
Style xcat		MiniIcon mini.cat.xpm #!E xcat
Style Quake*		MiniIcon mini.destroy.xpm, Icon doomface.xpm
Style Koules		MiniIcon mini.happy.xpm
Style xroach		MiniIcon mini.roach.xpm
Style xlogo		MiniIcon mini.x2.xpm
 
# Modules, Form and script
Style Fvwm*			MiniIcon -
Style FvwmScript*		MiniIcon mini.fvwm.xpm
Style FvwmForm*			MiniIcon mini.fvwm.xpm
Style FvwmIdent			MiniIcon mini.question.xpm, Icon question.xpm
Style FvwmConsole		MiniIcon mini.xterm.xpm, Icon wterm.xpm
Style FvwmScript-BellSetup	MiniIcon mini.audiovol.xpm, Icon bell.xpm
Style FvwmScript-KeyboardSetup	MiniIcon mini.keyboard.xpm,Icon keyboard.xpm
Style FvwmScript-ScreenSetup	MiniIcon mini.monitor.xpm, Icon screen.xpm
Style FvwmScript-PointerSetup	MiniIcon mini.mouse.xpm, Icon pointer.xpm
Style FvwmScript-BaseConfig	MiniIcon mini.fvwm.xpm, Icon settings.xpm
Style FvwmScript-Find		MiniIcon mini.zoom.xpm, Icon find1.xpm
Style FvwmScript-Quit		MiniIcon mini.question.xpm
Style FvwmScript-Colorset	MiniIcon mini.colors.xpm, Icon settings.xpm
Style FvwmScript-ScreenDump	MiniIcon mini.camera.xpm, Icon resize.xpm
Style FvwmScript-Setup95	MiniIcon mini.fvwm.xpm, Icon settings.xpm
Style FvwmScript-Date		MiniIcon mini.clock.xpm, Icon date.xpm
Style FvwmForm-QuitVerify	MiniIcon mini.question.xpm
Style FvwmForm-Rlogin		MiniIcon mini.connect.xpm, Icon Mosaic.xpm
Style FvwmForm-Capture		MiniIcon mini.camera.xpm, Icon resize.xpm
Style FvwmForm-Talk		MiniIcon mini.telnet.xpm, Icon rterm.xpm
Style FvwmForm-RootCursor	MiniIcon mini.xarchie.xpm, Icon settings.xpm
Style FvwmForm-Form		MiniIcon mini.fvwm.xpm, Icon settings.xpm
Style FvwmForm-Setup		MiniIcon mini.fvwm.xpm, Icon settings.xpm
Style FormFvwmAnimate		MiniIcon mini.iconify.xpm, Icon settings.xpm
Style xmessage			MiniIcon mini.question.xpm, Icon settings.xpm
Style WinMakerAppButtons*	NoIcon
 
# Help
Style man	  	MiniIcon mini.book1.xpm, Icon help.xpm
# xman resource names
Style topBox    	MiniIcon mini.book1.xpm, Icon help.xpm
Style help      	MiniIcon mini.book2.xpm, Icon help.xpm
Style manualBrowser 	MiniIcon mini.book2.xpm, Icon help.xpm
Style *FAQ*		MiniIcon mini.question.xpm, Icon help.xpm
# others...
Style IDL*      	MiniIcon mini.zoom.xpm
Style XDbx         	MiniIcon mini.bug2.xpm
Style control-panel  	MiniIcon mini.eye.xpm #!E control-panel
Style xvidtune		MiniIcon mini.x2.xpm
 
#SEG functions
#----------------------------------------------------------------------------#
#
# 8. 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 vertical maximize if
# you double click (full screen maximize would be 'Maximize 100 100')
#------------------------------------------------------------------------------
 
DestroyFunc Move-or-Raise
AddToFunc Move-or-Raise M Move
+                       M Raise
+                       C Raise
+                       D Maximize 0 100
 
 
#------------------------------------------------------------------------------
# As above but double click shade
#------------------------------------------------------------------------------
 
DestroyFunc Move-or-Raise-or-Shade
AddToFunc Move-or-Raise-or-Shade M Move
+                       M Raise
+                       C Raise
+                       D WindowShade
 
#------------------------------------------------------------------------------
# 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
#------------------------------------------------------------------------------
 
DestroyFunc Move-or-Lower
AddToFunc Move-or-Lower M Move
+                       M Lower
+                       C Lower
+                       D RaiseLower
 
 
#------------------------------------------------------------------------------
# This one moves or (de)iconifies:
#------------------------------------------------------------------------------
 
DestroyFunc Move-or-Iconify-or-Raise
AddToFunc Move-or-Iconify-or-Raise M Move
+			  C Raise
+                         D Iconify
 
#------------------------------------------------------------------------------
# This one maximizes vertically if you click (leaving room for the taskbar
# at the bottom, or does a full maximization if you double click, or a
# true full vertical maximization if you just hold the mouse button down.
#------------------------------------------------------------------------------
 
DestroyFunc Maximize-Func
AddToFunc Maximize-Func M	Maximize 0 98
+ 			C	Maximize 0 100
+ 			D	Maximize 100 98
 
#------------------------------------------------------------------------------
# This one resizes and then raises the window if you drag the mouse,
# only raises the window if you click,  or does shade if you double
# click
#------------------------------------------------------------------------------
 
DestroyFunc Resize-or-Raise-or-Shade
AddToFunc Resize-or-Raise-or-Shade M Resize
+                         M Raise
+                         C Raise
+                         D WindowShade
 
 
#------------------------------------------------------------------------------
# This one focuses and then 'warps' to the window.
#------------------------------------------------------------------------------
 
 
DestroyFunc FocusAndWarp
AddToFunc FocusAndWarp I Focus
+                      I WarpToWindow 1 1
 
 
#------------------------------------------------------------------------------
# Like the previous one, but de-iconifies first.
#------------------------------------------------------------------------------
 
DestroyFunc DeiconifyFocusAndWarp
AddToFunc DeiconifyFocusAndWarp I Iconify off
+                               I FocusAndWarp
 
#------------------------------------------------------------------------------
# Like the previous one, but only Raise.
#------------------------------------------------------------------------------
 
DestroyFunc DeiconifyFocusAndRaise
AddToFunc DeiconifyFocusAndRaise I Iconify off
+                               I Focus
+				I Raise
 
#------------------------------------------------------------------------------
# This one is used to modify some style for a window (almost obsolet)
#------------------------------------------------------------------------------
 
DestroyFunc StyleAndRecapture
AddToFunc StyleAndRecapture I Style "$0" $1
+ I All ("$0") RecaptureWindow
 
 
#------------------------------------------------------------------------------
# A really useful one: de-iconifies, warps to the window
# or creates it if it doen't exist (often used with mailtools)
#------------------------------------------------------------------------------
 
DestroyFunc WarpOrExec
AddToFunc WarpOrExec	   I Next (AcceptsFocus $0) Iconify -1
+		           I Next (AcceptsFocus $0) FocusAndWarp
+			   I None (AcceptsFocus $0) Exec $0 $1
 
#------------------------------------------------------------------------------
# For the left button
#------------------------------------------------------------------------------
 
DestroyMenu "window_ops_func"
AddToFunc "window_ops_func" "C" PopUp Window-Ops2
+              "M" PopUp Window-Ops2
+              "D" Delete
 
#------------------------------------------------------------------------------
# Functions to restart Modules and Restart/Kill FvwmButtons by aliases
#------------------------------------------------------------------------------
 
DestroyFunc RestartModule
AddToFunc RestartModule
+ I KillModule $0
+ I Module $0
 
DestroyFunc RestartModuleByAlias
AddToFunc RestartModuleByAlias
+ I All ($2) Close
+ I Module $0 $1
 
 
# This function is for WMakerFvwmButtons (start or iconify id started)
DestroyFunc MyPanelButtons
AddToFunc  MyPanelButtons
+ I All ($0) Iconify
+ I None (CirculateHit $0) FvwmButtons -g +$1+$2 $0
 
#------------------------------------------------------------------------------
# Functions for FvwmScript-BaseConfig
#------------------------------------------------------------------------------
 
DestroyFunc BaseConfigOkFunc
AddToFunc BaseConfigOkFunc I Read styles
 
DestroyFunc BaseConfigApplyFunc
AddToFunc BaseConfigApplyFunc I Read styles
 
 
#------------------------------------------------------------------------------
# Functions which start and save state for FvwmAnimate, FvwmEvent, etc ...
# $1 $2 is used only by FvwmAuto
#------------------------------------------------------------------------------
 
DestroyFunc ModuleOn
AddToFunc   ModuleOn
+ I KillModule $0
+ I Module $0 $1 $2
+ I Exec echo "AddToFunc StartFunction I $0 $1 $2" > $FVWM_USERDIR/.start-$0
 
DestroyFunc ModuleOff
AddToFunc   ModuleOff
+ I KillModule $0
+ I Exec echo "# Do not start $0" > $FVWM_USERDIR/.start-$0
 
#------------------------------------------------------------------------------
# Functions which start and save state for MiniButtons and WinMakerAppButtons
#------------------------------------------------------------------------------
 
DestroyFunc ButtonsOn
AddToFunc   ButtonsOn
+ I All ($2) Close
+ I Module $0 $1
+ I Exec echo "AddToFunc StartFunction I $0 $1" > $FVWM_USERDIR/.start-$1
 
DestroyFunc ButtonsOff
AddToFunc   ButtonsOff
+ I All ($1) Close
+ I Exec echo "# Do not start $0" > $FVWM_USERDIR/.start-$0
 
#------------------------------------------------------------------------------
# Functions for choosing the "Big" buttons Wharf or BarButtons
#------------------------------------------------------------------------------
 
DestroyFunc ChangeButtonsOn
AddToFunc  ChangeButtonsOn
+ I All (BarButtons) Close
+ I KillModule FvwmWharf
+ I Exec echo "AddToFunc StartFunction I $0" > $FVWM_USERDIR/.start-FvwmButtons
+ I $0
 
DestroyFunc ChangeButtonsOff
AddToFunc  ChangeButtonsOff
+ I All (BarButtons) Close
+ I KillModule FvwmWharf
+ I Exec echo "# No Buttons Bar" > $FVWM_USERDIR/.start-FvwmButtons
+ I $0
 
#------------------------------------------------------------------------------
# Functions for Raising modules only
#------------------------------------------------------------------------------
 
DestroyFunc StartModulesAutoRaise
AddToFunc StartModulesAutoRaise
+ I Style FvwmDesker Lenience
+ I FvwmAuto 400 Silent ModulesAutoRaise
+ I Exec echo "AddToFunc StartFunction I StartModulesAutoRaise" > $FVWM_USERDIR/.start-FvwmAuto
 
DestroyFunc ModulesAutoRaise
AddToFunc ModulesAutoRaise
+ I Current (FvwmButtons) Raise
+ I Current (FvwmTaskBar) Raise
+ I Current (FvwmIconBox) Raise
+ I Current (FvwmDesker)  Raise
+ I Current (FvwmIconMan) Raise
+ I Current (FvwmWinList) Raise
+ I Current (FvwmWharf)   Raise
+ I Current (panel)	  Raise
 
#------------------------------------------------------------------------------
# Functions which start and save a background
#------------------------------------------------------------------------------
 
DestroyFunc SetBackground
AddToFunc   SetBackground
+ I KillModule FvwmBacker
+ I $0
+ I Exec echo "AddToFunc StartFunction I $0" > $FVWM_USERDIR/.start-Background
 
DestroyFunc SetBackgroundOff
AddToFunc   SetBackgroundOff
+ I KillModule FvwmBacker
+ I Exec echo "# Background disabled" > $FVWM_USERDIR/.start-Background
 
#------------------------------------------------------------------------------
# Functions which start and defines which applications manager we use
#------------------------------------------------------------------------------
 
DestroyFunc ChangeAppsMan
AddToFunc  ChangeAppsMan
+ I KillModule FvwmTaskBar
+ I KillModule FvwmWinList
+ I KillModule FvwmIconMan
+ I KillModule FvwmIconBox
+ I Exec echo "AddToFunc StartFunction I $0" > $FVWM_USERDIR/.start-apps-man
+ I $0
 
DestroyFunc AppsManNone
AddToFunc  AppsManNone
+  I  Style * NoIcon
+ I KillModule FvwmTaskBar
+ I KillModule FvwmWinList
+ I KillModule FvwmIconMan
+ I KillModule FvwmIconBox
+ I Exec echo "AddToFunc StartFunction I Style * NoIcon # No applications Manager" > $FVWM_USERDIR/.start-apps-man
 
DestroyFunc UseIcons
AddToFunc  UseIcons
+ I Style * Icon
+ I Read iconstyles
# Need to reaload menus for KDE mini-icons styles
+ I Read menus
+ I KillModule FvwmTaskBar
+ I KillModule FvwmWinList
+ I KillModule FvwmIconMan
+ I KillModule FvwmIconBox
+ I Exec echo "# Use Icons" > $FVWM_USERDIR/.start-apps-man
 
DestroyFunc WinListDesk
AddToFunc WinListDesk
+ I Style * NoIcon
+ I *FvwmWinList: ShowCurrentDesk
+ I Module FvwmWinList
 
DestroyFunc WinListGlobal
AddToFunc WinListGlobal
+ I Style * NoIcon
+ I DestroyModuleConfig FvwmWinList: ShowCurrent*
+ I Module FvwmWinList
 
DestroyFunc TaskBarDesk
AddToFunc TaskBarDesk
+ I Style * NoIcon
+ I DestroyModuleConfig FvwmTaskBar: AutoHid*
+ I *FvwmTaskBar: DeskOnly
+ I Module FvwmTaskBar
 
DestroyFunc TaskBarGlobal
AddToFunc TaskBarGlobal
+ I Style * NoIcon
+ I DestroyModuleConfig FvwmTaskBar: AutoHid*
+ I DestroyModuleConfig FvwmTaskBar: Desk*
+ I Module FvwmTaskBar
 
DestroyFunc TaskBarDeskAutoHide
AddToFunc TaskBarDeskAutoHide
+ I Style * NoIcon
+ I *FvwmTaskBar: DeskOnly
+ I *FvwmTaskBar: AutoHide
+ I Module FvwmTaskBar
 
DestroyFunc TaskBarGlobalAutoHide
AddToFunc TaskBarGlobalAutoHide
+ I Style * NoIcon
+ I DestroyModuleConfig FvwmTaskBar: Desk*
+ I *FvwmTaskBar: AutoHide
+ I Module FvwmTaskBar
 
DestroyFunc IconManGlobal
AddToFunc IconManGlobal
+ I Style * NoIcon
+ I *FvwmIconMan: Resolution global
+ I Module FvwmIconMan
 
DestroyFunc IconManDesk
AddToFunc IconManDesk
+ I Style * NoIcon
+ I *FvwmIconMan: Resolution desk
+ I Module FvwmIconMan
 
DestroyFunc IconManPage
AddToFunc IconManPage
+ I Style * NoIcon
+ I *FvwmIconMan: Resolution page
+ I Module FvwmIconMan
 
DestroyFunc IconBoxDesk
AddToFunc IconBoxDesk
+ I Style * NoIcon
+ I *FvwmIconBox: ResolutionDesk
+ I Module FvwmIconBox
 
DestroyFunc IconBoxGlobal
AddToFunc IconBoxGlobal
+ I Style * NoIcon
+ I DestroyModuleConfig FvwmIconBox: Reso*
+ I Module FvwmIconBox
 
#------------------------------------------------------------------------------
# Functions for Layers
#------------------------------------------------------------------------------
 
DestroyFunc SetLayers
AddToFunc SetLayers
+ I StyleAndRecapture $n $0
+ I Exec F=$FVWM_USERDIR; Z=$F/.fvwm-layers; T=$F/.tmp-layers; if grep -qe "$n" $Z; then sed -e "s/\ $n\ .*/\ $n\ $0/" $Z>$T; cat $T>$Z; else echo "Style $n $0" >>$Z; fi
 
DestroyFunc DestroyLayers
AddToFunc DestroyLayers
+ I StyleAndRecapture $n StaysPut
+ I Exec F=$FVWM_USERDIR; Z=$F/.fvwm-layers; T=$F/.tmp-layers; sed -e "/^Style\ $n\ .*/d" $Z>$T; cat $T>$Z
 
#------------------------------------------------------------------------------
# Function for reloading the icons styles
#------------------------------------------------------------------------------
 
DestroyFunc ReloadIconStylesAndMenus
AddToFunc ReloadIconStylesAndMenus
+ I Read iconstyles
+ I Read menus
# Need to reload the NoIcon style
+ I PipeRead 'if grep -qe AddToFunc $FVWM_USERDIR/.start-apps-man; then echo "Style * NoIcon"; fi'
 
#------------------------------------------------------------------------------
# Functions for Loading/Saving/Showing Settings
#------------------------------------------------------------------------------
 
DestroyFunc SaveAsSettings
AddToFunc SaveAsSettings
+ I Exec F=$FVWM_USERDIR;for i in ~/.xinitrc-fvwm $F/.FvwmBaseConfig $F/.FvwmAnimate $F/.FvwmForm $F/.start-Background $F/.start-apps-man $F/.start-FvwmButtons $F/.start-DeskerPanelButtons $F/.start-MiniButtons $F/.start-WinMakerAppButtons $F/.start-FvwmAnimate $F/.start-FvwmAuto $F/.start-FvwmBanner $F/.start-FvwmEvent $F/.fvwm-layers; do [ ! -f "$i" ] || /bin/cp $i $i-$0; done;
 
DestroyFunc LoadSettings
AddToFunc LoadSettings
+ I Exec F=$FVWM_USERDIR; for i in ~/.xinitrc-fvwm $F/.FvwmBaseConfig $F/.FvwmAnimate $F/.FvwmForm $F/.start-Background $F/.start-apps-man $F/.start-FvwmButtons $F/.start-DeskerPanelButtons $F/.start-MiniButtons $F/.start-WinMakerAppButtons $F/.start-FvwmAnimate $F/.start-FvwmAuto $F/.start-FvwmBanner $F/.start-FvwmEvent $F/.fvwm-layers; do [ ! -f "$i-$0" ] || /bin/cp $i-$0 $i; done;
+ I Exec [ ! -f ~/.xinitrc-fvwm-$0 ] || (xscreensaver-command -exit; ~/.xinitrc-fvwm-$0)
+ I PipeRead '[ ! -f $FVWM_USERDIR/.FvwmBaseConfig ] || (echo Read .FvwmBaseConfig; echo BaseConfigOkFunc)'
+ I Style * StaysPut
+ I Read .fvwm-layers-$0
+ I KillModule FvwmAnimate
+ I KillModule FvwmAuto
+ I KillModule FvwmEvent
+ I KillModule FvwmButtons
+ I KillModule FvwmWharf
+ I KillModule FvwmTaskBar
+ I KillModule FvwmWinList
+ I KillModule FvwmIconMan
+ I KillModule FvwmIconBox
+ I PipeRead 'F=$FVWM_USERDIR; F=$FVWM_USERDIR; for i in $F/.start-Background $F/.start-apps-man $F/.start-FvwmButtons $F/.start-DeskerPanelButtons $F/.start-MiniButtons $F/.start-WinMakerAppButtons $F/.start-FvwmAnimate $F/.start-FvwmAuto $F/.start-FvwmBanner $F/.start-FvwmEvent; do [ ! -f "$i-$0" ] || sed -e s/AddToFunc\\.StartFunction\\.I\\.// $i-$0; done; if [ -f "$F/.start-apps-man-$0" ]; then if grep -qe Icons $F/.start-apps-man-$0; then echo "Style * Icon"; echo "Read iconstyles"; echo "Read menus"; fi; fi'
 
DestroyFunc ShowFvwmSettings
AddToFunc ShowFvwmSettings I Exec F=$FVWM_USERDIR;f=$F/.tmp-modules-setting; echo "" > $f; for j in 0 1 2 3 4; do if [ "$j" -eq "0" ]; then j=""; t="Current Setting:"; l="--------------"; else j="-$j"; t="Setting$j:"; l="---------"; fi; echo $t >> $f; echo $l >> $f; for i in $F/.start-Background $F/.start-apps-man $F/.start-FvwmButtons $F/.start-DeskerPanelButtons $F/.start-MiniButtons $F/.start-WinMakerAppButtons $F/.start-FvwmAnimate $F/.start-FvwmAuto $FVWM_USERDIR/.start-FvwmBanner $F/.start-FvwmEvent; do z="$i$j"; [ ! -f "$z" ] || sed -e s/^\\#\.// -e s/\.*exec/Background:/ -e s/AddToFunc\.StartFunction\.I/Start/ -e s/FvwmEvent/Sounds\ Effect/ $z >> $f; done; echo -n "Base Config: ">>$f; if [ -f $F/.FvwmBaseConfig$j ]; then echo "Used">>$f; else echo "Not Used">>$f; fi; echo "">>$f;done; xmessage -file $f
 
DestroyFunc ShowXSettings
AddToFunc ShowXSettings \
I Exec T=$FVWM_USERDIR/.tmp-x-set;u=~/.xinitrc-fvwm;echo "">$T;for j in 0 1 2 3 4;do if [ "$j" -eq "0" ];then z=$u;t="Current Setting:";else z="$u-$j";t="Setting-$j:";fi;echo $t >>$T;if grep -qe Bell $z;then grep -e "xset b" $z|sed -e s/xset\.b/Bell:/>>$T;fi;if grep -qe Screen $z;then echo -n "Background: ">>$T;if grep -qe \#xsetroot $z;then echo "disabled">>$T;elif grep -qe fvwm-root $z;then grep -e fvwm-root $z|sed -e s/xpmroot\.//>>$T;else grep -e xsetroot $z|sed -e s/xsetroot\.//>>$T;fi;grep -e "xset s" $z|sed -e s/xset\.s/xsaver:/>>$T;echo -n "DPMS: ">>$T;grep -e xset\.*dpms $z|sed -e s/xset\.-dpms/Off/ -e s/xset\.dpms/On/>>$T;echo -n "xscreensaver: ">>$T;if grep -qe \#xscreen $z;then echo "Off">>$T;else echo "On">>$T;fi;fi;if grep -qe Keyboard $z;then echo -n "Keyboard: ">>$T;grep -e "xset r" $z|sed -e s/xset\.r/auto\ repeat/ -e s/c/Vol/>>$T;fi;if grep -qe Pointer $z;then echo -n "Mouse: ">>$T;grep -e "xset m" $z|sed -e s/xset\.m//>>$T;fi;echo "">>$T;done;xmessage -file $T
 
 
DestroyFunc ShowLayers
AddToFunc ShowLayers I Exec F=$FVWM_USERDIR; T=$F/.tmp-layers; echo -e "A StaysOnTop window is a window which is above \nthe normal (i.e., StaysPut) windows, a StaysOnBottom\nwindow is below the normal windows. Here the list\nof StaysOnTop and StaysOnBottom windows:\n"> $T; u=$F/.fvwm-layers; for j in 0 1 2 3 4; do if [ "$j" -eq "0" ];then z=$u; t="Current Setting:"; l="---------------"; else z="$u-$j"; t="Setting-$j:"; l="----------"; fi; echo $t >>$T; echo $l >>$T; [ ! -f $z ] || cat $z>>$T; echo "" >> $T; done; xmessage -file $T
 
#SEG bindings
#-----------------------------------------------------------------------------#
#
# 9. Mouse, frame buttons and keyboard bindings
#
#-----------------------------------------------------------------------------#
 
 
#------------------------------------------------------------------------------
# First, for the mouse in the root window (Context=R)
# 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-Ctrl-whatever combination you want!
# Moreover on a window the same bindings are defined with the Alt modifier
#------------------------------------------------------------------------------
 
 
#     Button	Context Modifi 	Function
 
Mouse 1		R   	A       Menu Utilities mouse -1p -1p
Mouse 2		R    	A       Menu Window mouse -1p -1p
Mouse 3         R       A       WindowList mouse -1p -1p
Mouse 3         R       C       WindowList mouse -1p -1p OnlyListSkip
 
Mouse 1		W   	M       Menu Utilities mouse -1p -1p
Mouse 2		W    	M       Menu Window mouse -1p -1p
Mouse 3         W       M       WindowList mouse -1p -1p
Mouse 3         W       CM      WindowList mouse -1p -1p OnlyListSkip
 
 
#G_SESSION 3 bind Shift Mouse * to gnomebutton
#Mouse 1		R	S	GnomeButton
#Mouse 2		R	S	GnomeButton
#Mouse 3		R	S	GnomeButton
 
#------------------------------------------------------------------------------
# Now the rest of the frame
# Here I invoke my complex functions for Move-or-lower, Move-or-Raise-Shade,
# and Resize-or-Raise.
#------------------------------------------------------------------------------
 
# Button 1 in the corners or sides, with any modifiers, gives resize or raise
Mouse 1		FS	A	Function "Resize-or-Raise-or-Shade"
 
# Button 1 in the title, sides, w/ any modifiers, gives move or raise or shade
Mouse 1		T	A	Function "Move-or-Raise-or-Shade"
Mouse 1		FS	C	Function "Move-or-Raise-or-Shade"
 
# Button 1 in an icons gives move for a drag, de-iconify for a double-click,
# raiselower for a single click
Mouse 1		I	A	Function "Move-or-Iconify-or-Raise"
# Alt Button 1 on an icons raise all icons
Mouse 1		I	M	All (CurrentPage Iconic) Raise
 
# Button 2 in an icon, w/ any modifiers, gives de-iconify
Mouse 2		I	A	Iconify
 
# Button 2 in the corners, sides, or title-bar gives the window ops menu
Mouse 2		FST	A	Menu Window-Ops2
 
# Button 3 anywhere in the decoration (except the title-bar buttons)
# does a raise-lower
Mouse 3		TSF	A	RaiseLower
 
# Button 3 on a icon:
Mouse 3		I	A	Menu Window-Ops3 c+0 -101m
 
# 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       SM       RaiseLower
 
 
#-----------------------------------------------------------------------------
# Mouse windows buttons binding
# buttons: 1 3 5 7 9              8 6 4 2
#------------------------------------------------------------------------------
 
 
#     Button	Context Modif 	Function
Mouse 1		1    	A      	Function "window_ops_func"
Mouse 2         1	A	Menu WindowGroupOps
Mouse 3         1       A       Menu Move-Window
Mouse 1         2       A       Close
Mouse 2		2	A	All ($c) Close
Mouse 3         2       A       Destroy
Mouse 1		4    	A     	Maximize 100 100
Mouse 2         4       A       Maximize 0 100
Mouse 3         4       A       Maximize 100 0
Mouse 1		6    	A     	Iconify
Mouse 2		6    	A     	All ($c) Iconify On
Mouse 3         6       A       All ($c) WindowShade On
 
#------------------------------------------------------------------------------
# Now some keyboard shortcuts.
#------------------------------------------------------------------------------
 
#------------------------------------------------------------------------------
# press arrow + Shift anywhere, and scroll by 1 page
#------------------------------------------------------------------------------
 
Key Left	A	S	Scroll -100 0
Key Right	A	S	Scroll +100 +0
Key Up		A	S	Scroll +0   -100
Key Down	A	S	Scroll +0   +100
 
#------------------------------------------------------------------------------
# press arrow + Alt 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 arrow + control-meta anywhere, and move the pointer by 1% of a page
#------------------------------------------------------------------------------
 
Key Left	A	MC	CursorMove -1 0
Key Right	A	MC	CursorMove +1 +0
Key Up		A	MC	CursorMove +0   -1
Key Down	A	MC	CursorMove +0   +1
 
#------------------------------------------------------------------------------
# press arrow + Shift-Alt 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
 
#------------------------------------------------------------------------------
# Page Up/Page Down keys are used to scroll by one desktop page
# in any context, press page up/down + control + alt
# in root context, just pressing page up/down is OK
#------------------------------------------------------------------------------
 
Key Next	A       CM      Desk  -1 0 0 3
Key Next	R       M       Desk  -1 0 0 3
Key Prior	A       CM      Desk  +1 0 0 3
Key Prior	R       M       Desk  +1 0 0 3
 
#------------------------------------------------------------------------------
# Alt-Shift-Fx window operations
#------------------------------------------------------------------------------
Key F4		A	MS	Close
Key F5		A	MS	RaiseLower
Key F6		A	MS	All (Iconic) Raise  # originally Restore
Key F7		A	MS	Move
Key F8		A	MS	Resize
Key F9		A	MS	Iconify
Key F10		A	MS	Maximize 100 100
Key F11		A	MS	FvwmIdent
Key F12		A	MS	FvwmConsole
 
#------------------------------------------------------------------------------
# The menus via Alt-Shift-Fx
#------------------------------------------------------------------------------
Key F1		A	MS	Menu Utilities mouse -1p -1p
Key F2		A	MS	Menu Window mouse -1p -1p
Key F3		A	MS	WindowList mouse -1p -1p
 
 
#------------------------------------------------------------------------------
# The famous Alt-tab binding
#------------------------------------------------------------------------------
 
DestroyFunc my_dbltab2
AddToFunc   my_dbltab2
+ I WindowListFunc
DestroyFunc my_dbltab_prev
AddToFunc   my_dbltab_prev
+ I Prev my_dbltab2
 
Key Tab A M	WindowList Root c c CurrentAtEnd, IconifiedAtEnd, NoGeometry, NoDeskSort, SelectOnRelease Alt_L my_dbltab_prev
Key Tab	A CM	WindowList Root c c CurrentAtEnd, IconifiedAtEnd, NoGeometry, OnlyListSkip, SelectOnRelease
 
#SEG menus
#-----------------------------------------------------------------------------#
#
# 10. Now define the menus
#
#-----------------------------------------------------------------------------#
 
#------------------------------------------------------------------------------
#--------- Taskbar's start menu
#------------------------------------------------------------------------------
 
PipeRead 'fvwm-desktop -init'
PipeRead 'xdg_menu --charset UTF-8 --format fvwm2'
 
DestroyMenu StartMenu
AddToMenu   StartMenu@side.fvwm2.xpm@^black^
+ "&Shells%shells.xpm%"		Popup Shells
+ "&Programs%programs.xpm%"	Popup xdg_menu
+ "&Documents%documents.xpm%"	Popup Documents
+ "&Settings%settings.xpm%"	Popup Settings
+ "" Nop
Test (f /etc/X11/fvwm/DebianMenu) + "&Debian Menu%programs.xpm%" Popup /Debian
+ "&Module%modules.xpm"		Popup Module-Popup
+ "&Find%find1.xpm%"		FvwmScript FvwmScript-Find
+ "&Help%help.xpm%"		Exec exec  xman
#PREF 1
+ "&Run...%run.xpm%"		Exec exec  xterm
+ "" Nop
+ "&Screen Saver%screen.xpm%"	Popup Screen
+ "&Restart%settings.xpm%"	Popup Restart
+ "Shut &Down%shutdown.xpm%"	Module FvwmScript FvwmScript-Quit
 
#------------------------------------------------------------------------------
# Root Menu: This menu will fire up some very common utilities
#------------------------------------------------------------------------------
 
DestroyMenu Utilities
AddToMenu   Utilities "Root Menu" Title
#PREF 3
+ "&Terminal%mini.term.xpm%"		Exec exec xterm
+ "&Editor%mini.edit.xpm"		Exec exec emacs
+ "&File Manager%mini.filemgr.xpm%"	Exec exec xfm
+ "&Top%mini.run.xpm%"			Exec exec xterm -geometry 80x40	-T Top -n Top -e top
+ ""					Nop
+ "&Shells%mini.term.xpm"		Popup Shells
+ "&Programs%mini.start.xpm%"		Popup Programs
+ ""					Nop
+ "FVWM &Modules%mini.modules.xpm%"	Popup Module-Popup
+ "&Settings%mini.desktop.xpm%"		Popup Settings
+ "&Documents%mini.books.xpm%"		Popup Documents
+ "&Screen Saver%mini.display.xpm%"	Popup Screen
+ ""					Nop
+ "&Restart%mini.turn.xpm%"		Popup Restart
+ "&Quit FVWM%mini.stop.xpm%"		FvwmForm FvwmForm-QuitVerify
 
DestroyFunc SetDebianMenu
AddToFunc   SetDebianMenu
+ I Read /etc/X11/fvwm/DebianMenu
+ I DestroyMenu Utilities
+ I AddToMenu   Utilities "Root Menu" Title
#PREF 3
+ I + "&Terminal%mini.term.xpm%"	Exec exec x-terminal-emulator
+ I + "&Editor%mini.edit.xpm"		Exec exec emacs
+ I + "&File Manager%mini.filemgr.xpm%"	Exec exec xfm
+ I + "&Top%mini.run.xpm%"		Exec exec xterm -geometry 80x40	-T Top -n Top -e top
+ I + ""				Nop
+ I + "&Shells%mini.term.xpm"		Popup /Debian/XShells
+ I + "&Programs%mini.start.xpm%"	Popup /Debian/Apps
+ I + ""				Nop
+ I + "&FVWM Modules%mini.modules.xpm%"	Popup Module-Popup
+ I + "&Settings%mini.desktop.xpm%"	Popup Settings
+ I + "&Documents%mini.books.xpm%"	Popup Documents
+ I + "&Help%mini.book1.xpm%"		Popup /Debian/Help
+ I + "&Screen Saver%mini.display.xpm%"	Popup /Debian/Screen
+ I + ""				Nop
+ I + "&Window Managers%mini.x2.xpm%"	Popup /Debian/WindowManagers
+ I + "&Restart%mini.turn.xpm%"		Restart
+ I + "&Quit FVWM%mini.stop.xpm%"	FvwmForm FvwmForm-QuitVerify
 
Test (f /etc/X11/fvwm/DebianMenu) SetDebianMenu
 
#------------------------------------------------------------------------------
#--------- SHELLS
#------------------------------------------------------------------------------
DestroyMenu Shells
AddToMenu   Shells
+ "&Xterm	default%mini.term.xpm%" Exec exec xterm
+ "Xterm/&root	default%mini.term.xpm%" Exec exec xterm -fg violet -bg black -e su -l
+ "&NXterm	default%mini.term.xpm%" Exec exec nxterm
+ "&Rxvt	default%mini.term.xpm%" Exec exec rxvt
+ "&Eterm	default%mini.term.xpm%" Exec exec Eterm
+ "X&iterm	default%mini.term.xpm%" Exec exec xiterm
+ "&Aterm	default%mini.term.xpm%" Exec exec aterm
+ "&GNOME Term	default%mini.term.xpm%" Exec exec gnome-terminal
+ "&Konsole	default%mini.term.xpm%" Exec exec konsole
+ "&Kvt 	default%mini.term.xpm%" Exec exec kvt
+ "&Dtterm	default%mini.term.xpm%" Exec exec /usr/bin/dtterm
+ ""                                                Nop
+ "&Xterm	80x40 (7x14 font)%mini.term.xpm%" Exec exec xterm  -n $USER@$HOST -T $USER@$HOST -g 80x40 -sb +sk +si -sl 4096 -j -ls -fn 7x14 -fb 7x14bold
+ "Xterm/r&oot	80x40 (7x14 font)%mini.term.xpm%" Exec exec xterm  -n root@$HOST  -T root@$HOST  -g 80x40 -sb +sk +si -sl 4096 -j -ls -fn 7x14 -fb 7x14bold -fg violet -bg black -e su -l
+ "&NXterm	80x40 (7x14 font)%mini.term.xpm%" Exec exec nxterm -n $USER@$HOST -T $USER@$HOST -g 80x40 -sb +sk +si -sl 4096 -j -ls -fn 7x14 -fb 7x14bold
+ "&Rxvt 	80x40 (7x14 font)%mini.term.xpm%" Exec exec rxvt   -n $USER@$HOST -T $USER@$HOST -g 80x40 --loginShell -fn 7x14 -fb 7x14bold
+ "&Eterm	80x40 (7x14 font)%mini.term.xpm%" Exec exec Eterm  -n $USER@$HOST -T $USER@$HOST -g 80x40 --login-shell --font 7x14 --bold-font 7x14bold
+ "X&iterm 	80x40 (7x14 font)%mini.term.xpm%" Exec exec xiterm -n $USER@$HOST -T $USER@$HOST -g 80x40 -sb +sk +si -sl 4096 -ls -fn 7x14 -fb 7x14bold
+ "&Aterm	80x40 (7x14 font)%mini.term.xpm%" Exec exec aterm  -n $USER@$HOST -T $USER@$HOST -g 80x40 -sb +sk +si -sl 4096 -ls -fn 7x14 -fb 7x14bold
+ "&GNOME Term	80x40 (7x14 font)%mini.term.xpm%" Exec exec gnome-terminal --title=$USER@$HOST --geometry=80x40 --login --font=7x14
+ "&Kvt 	80x40 (7x14 font)%mini.term.xpm%" Exec exec kvt    -n $USER@$HOST -T $USER@$HOST -vt_geometry 80x40 -sl 4096 -ls -vt_font 7x14
+ "&Konsole	80x40%mini.term.xpm%"             Exec exec konsole -nowelcome -sl 4096 -ls -vt_sz 80x40
+ "&Dtterm	80x40 (7x14 font)%mini.term.xpm%" Exec exec /usr/dt/bin/dtterm -n $USER@$HOST -T $USER@$HOST -sl 4096 -ls -g 80x40 -fn 7x14 -fb 7x14bold
+ ""						Nop
+ "Remote &login	...%mini.connect.xpm%"		FvwmForm FvwmForm-Rlogin
 
#------------------------------------------------------------------------------
#--------- Modules
#------------------------------------------------------------------------------
 
 
DestroyMenu Module-Popup
AddToMenu   Module-Popup
+ "&Autoraise%mini.raise.xpm%"		RestartModule FvwmAuto 500
+ "A&nimate%mini.iconify.xpm%"          RestartModule FvwmAnimate
+ "&Backer%mini.rainbow.xpm%"           RestartModule FvwmBacker
+ "B&anner%mini.ray.xpm%"		RestartModule FvwmBanner
+ "B&uttons Bar%mini.pencil.xpm%"	RestartModuleByAlias FvwmButtons BarButtons BarButtons
+ "&Mini button bar%mini.pencil.xpm%"	RestartModuleByAlias FvwmButtons MiniButtons MiniButtons
+ "&WMaker buttons%mini.pencil.xpm%"	RestartModuleByAlias FvwmButtons WinMakerAppButtons WinMakerApp*
+ "&Console%mini.xterm.xpm%"		Module FvwmConsole -sb
+ "&Debug%mini.bug2.xpm%"		RestartModule FvwmDebug
+ "&IconBox%mini.icons.xpm%"		RestartModule FvwmIconBox
+ "I&conMan%mini.run.xpm%"		RestartModule FvwmIconMan
+ "Identif&y%mini.question.xpm%"	RestartModule FvwmIdent
+ "Desker &Panel%mini.pager.xpm%"	RestartModuleByAlias FvwmButtons DeskerPanelButtons DeskerPanelButtons
+ "Sound &effect%mini.sound.xpm%"	RestartModule FvwmEvent
+ "&Talk to Fvwm%mini.telnet.xpm%"	FvwmForm FvwmForm-Talk
+ "Task&Bar%mini.exp.xpm%"		RestartModule FvwmTaskBar
+ "Window &List%mini.windows.xpm%"	RestartModule FvwmWinList
+ "&Wharf%mini.pencil.xpm%"		RestartModule FvwmWharf
+ "" Nop
+ "&Kill Modules%mini.bomb.xpm%"    Popup Kill-Module-Popup
 
DestroyMenu Kill-Module-Popup
AddToMenu   Kill-Module-Popup
+ "&Autoraise%mini.raise.xpm%"		KillModule FvwmAuto
+ "A&nimate%mini.iconify.xpm%"          KillModule FvwmAnimate
+ "&Backer%mini.rainbow.xpm%"           KillModule FvwmBacker
+ "B&anner%mini.ray.xpm%"	        KillModule FvwmBanner
+ "B&utton bar%mini.pencil.xpm%"	All (BarButtons) Close
+ "&Mini button bar%mini.pencil.xpm%"	All (MiniButtons) Close
+ "&WMaker buttons%mini.pencil.xpm%"	All (WinMakerApp*) Close
+ "&Console%mini.xterm.xpm%"		KillModule FvwmConsole
+ "&Debug%mini.bug2.xpm%"	        KillModule FvwmDebug
+ "&IconBox%mini.icons.xpm%"		KillModule FvwmIconBox
+ "I&conMan%mini.run.xpm%"		KillModule FvwmIconMan
+ "Identif&y%mini.question.xpm%"	KillModule FvwmIdent
+ "Desker &Panel%mini.pager.xpm%"	All (DeskerPanelButtons) Close
+ "Sound &effect%mini.sound.xpm%"	KillModule FvwmEvent
+ "&Talk%mini.telnet.xpm%"	        All (FvwmForm-Talk) Close
+ "Task&Bar%mini.exp.xpm"	        KillModule FvwmTaskBar
+ "Window &List%mini.windows.xpm%"	KillModule FvwmWinList
+ "&Wharf%mini.pencil.xpm%"		KillModule FvwmWharf
 
#------------------------------------------------------------------------------
#--------- Settings
#------------------------------------------------------------------------------
 
 
DestroyMenu Settings
AddToMenu   Settings
+ "&Configuration%mini.fvwm.xpm%"		Popup FvwmConfig
+ "&Animation%mini.iconify.xpm%"		Popup Animate-Settings
+ "Applications &Managers%mini.windows.xpm%"	Popup AppsManager
+ "Auto&Raise%mini.raise.xpm%"			Popup AutoRaise-Settings
+ "Back&ground%mini.display.xpm%"		Popup Background-Settings
+ "&Banner%mini.ray.xpm%"			Popup Banner-Settings
+ "B&uttons Bar%mini.pencil.xpm%"		Popup Buttons-Settings
+ "&Mini Buttons%mini.pencil.xpm%"		Popup MiniButtons-Settings
+ "Desker &Panel%mini.pager.xpm%"		Popup DeskerPanel-settings
+ "S&ounds Effect%mini.audiovol.xpm%"		Popup Sound-Settings
+ "&WMaker Applets%mini.pencil.xpm%"		Popup WinMakerApp-Settings
+ "Set &Layers%mini.windows.xpm"		Popup Layers-Settings
+ "&X Setup Scripts%mini.x.xpm%"		Popup XsetupScripts
+ "&Show/Load/Save Settings%mini.turn.xpm%"	Popup Load-Settings
+ "" Nop
+ "&Edit .fvwm2rc%mini.edit.xpm%"		Popup Edit-Config
+ "Reload .fvwm2rc%mini.turn.xpm%"		Popup Reload-Config
+  "Temporary Change:"			Title
+ "&Focus/Paging%mini.zoom.xpm%"		Popup Focus-Settings
+ "&Mouse Speed%mini.cat.xpm%"			Popup Mouse-Settings
+ "&Keyboard%mini.keyboard.xpm%"		Popup Keyboard-Settings
+ "&Bell%mini.audiovol.xpm%"			Popup Bell-Settings
+ "&Screen%mini.monitor.xpm%"			Popup X-settings
 
#------------------------------------------------------------------------------
#--------- Fvwm Config
 
DestroyMenu FvwmConfig
AddToMenu   FvwmConfig
+ "&Base Configuration%mini.fvwm.xpm%"		FvwmScript FvwmScript-BaseConfig
+ "&Form Configuration%mini.fvwm.xpm"		FvwmForm FvwmForm-Form
+ ""		Nop
+ "&Rebuild Sample 95%mini.fvwm.xpm%"		FvwmScript FvwmScript-Setup95
+ "&Load Default Sample%mini.fvwm.xpm%"		FvwmForm FvwmForm-Setup
 
 
#------------------------------------------------------------------------------
#--------- Apps Manager
 
DestroyMenu AppsManager
AddToMenu   AppsManager
+ "TaskBar &Desk%mini.exp.xpm%"		ChangeAppsMan TaskBarDesk
+ "TaskBar &Global%mini.exp.xpm%"	ChangeAppsMan TaskBarGlobal
+ "TaskBar &Desk (Auto Hide)%mini.exp.xpm%"   ChangeAppsMan TaskBarDeskAutoHide
+ "TaskBar &Global (Auto Hide)%mini.exp.xpm%" ChangeAppsMan TaskBarGlobalAutoHide
+ "" Nop
+ "IconBox &Desk%mini.icons.xpm%"	ChangeAppsMan IconBoxDesk
+ "IconBox &Global%mini.icons.xpm%"	ChangeAppsMan IconBoxGlobal
+ "" Nop
+ "IconMan &Page%mini.run.xpm%"		ChangeAppsMan IconManPage
+ "IconMan &Desk%mini.run.xpm%"		ChangeAppsMan IconManDesk
+ "IconMan &Global%mini.run.xpm%"	ChangeAppsMan IconManGlobal
+ "" Nop
+ "WinList &Desk%mini.windows.xpm%"	ChangeAppsMan WinListDesk
+ "WinList &Global%mini.windows.xpm%"	ChangeAppsMan WinListGlobal
+ "" Nop
+ "Use &Icons%mini.icons.xpm%"		UseIcons
+ "" Nop
+ "&None%mini.windows.xpm%"	AppsManNone
 
#------------------------------------------------------------------------------
#--------- Animate  settings
 
DestroyMenu Animate-Settings
AddToMenu   Animate-settings
+ "&Animation on%mini.iconify.xpm%"	ModuleOn FvwmAnimate
+ "Animation &off%mini.cross.xpm%"	ModuleOff FvwmAnimate
+ "Animate &Menu%mini.iconify.xpm%"	Popup MenuFvwmAnimate
 
#------------------------------------------------------------------------------
#--------- AutoRaise settings
 
DestroyMenu AutoRaise-Settings
AddToMenu   AutoRaise-Settings
+ "Raise &Slow%mini.raise.xpm%"		ModuleOn 'FvwmAuto' '1000'
+ "Raise &Default%mini.raise.xpm%"	ModuleOn 'FvwmAuto' '500'
+ "Raise &Fast%mini.raise.xpm%"		ModuleOn 'FvwmAuto' '250'
+ "Speedy &Gonzales%mini.raise.xpm%"	ModuleOn 'FvwmAuto' '50'
+ "Raise &Modules Only%mini.modules.xpm%" StartModulesAutoRaise
+ "AutoRaise &off%mini.cross.xpm%"	ModuleOff FvwmAuto
 
#------------------------------------------------------------------------------
#--------- Background  settings
 
DestroyMenu Background-Settings
AddToMenu   Background-Settings
+ "&FvwmBacker%mini.rainbow.xpm%"		SetBackground FvwmBacker
+ "&Disable Background%mini.cross.xpm%"		SetBackgroundOff
+ "Some &Solid Colors%mini.colors.xpm%"		Popup Back-Solid
+ "Some &Gradientd%mini.colors.xpm%"		Popup Back-Gradient
+ "&Personal%mini.colors.xpm%"			Popup Back-Personal
PipeRead '[ ! -d /usr/share/pixmaps/backgrounds ] || echo + \\"\\&Site Background%mini.colors.xpm%\\" Popup Back-Site'
PipeRead '[ ! -n "$KDEDIR" ] || echo + \\"\\&KDE Background%mini.colors.xpm%\\" Popup Back-KDE'
PipeRead '[ ! -d /usr/share/WindowMaker/Backgrounds ] || echo + \\"\\&WM Background%mini.colors.xpm%\\" Popup Back-WM'
PipeRead '[ ! -d /usr/share/afterstep/backgrounds ] || echo + \\"\\&AS Background%mini.colors.xpm%\\" Popup Back-AS'
PipeRead '[ ! -d /usr/local/share/afterstep/backgrounds ] || echo + \\"\\&AS Background%mini.colors.xpm%\\" Popup Back-Local-AS'
 
DestroyFunc SetBackFromDirectory
AddToFunc SetBackFromDirectory
+ I DestroyMenu recreate $0
+ I PipeRead 'for i in `/bin/ls $1`; \
      do echo AddToMenu $0 "`basename $i`" SetBackground \\"$2 $i\\"; done'
 
DestroyFunc SetBackFromDirectories
AddToFunc SetBackFromDirectories
+ I DestroyMenu recreate $0
+ I PipeRead 'for j in `/bin/ls -d $1`; do echo AddToMenu $0 "`basename $j`:" Title; for i in `/bin/ls $j/*`; do echo AddToMenu $0 "`basename $i`" SetBackground \\"$2 $i\\"; done; done'
 
 
# Replace $FVWM_USERDIR/images/backgrounds/ by your backgrounds directory
# and uncomment the next line
#AddToMenu Back-Personal DynamicPopupAction SetBackFromDirectory 'Back-Personal' '$FVWM_USERDIR/images/backgrounds/*' 'Exec exec xv -root -quit'
 
AddToMenu Back-Site DynamicPopupAction SetBackFromDirectories 'Back-Site' '/usr/share/pixmaps/backgrounds/*' 'Exec exec xv -root -quit'
 
AddToMenu Back-KDE DynamicPopupAction SetBackFromDirectory 'Back-KDE' '$KDEDIR/share/wallpapers/*' 'Exec exec xv -root -quit'
 
AddToMenu Back-WM DynamicPopupAction SetBackFromDirectory 'Back-WM' '/usr/share/WindowMaker/Backgrounds/*' 'Exec exec xv -root -quit'
 
AddToMenu Back-Local-WM DynamicPopupAction SetBackFromDirectory 'Back-Local-WM' '/usr/local/share/WindowMaker/Backgrounds/*' 'Exec exec xv -root -quit'
 
AddToMenu Back-AS DynamicPopupAction SetBackFromDirectory 'Back-AS' '/usr/share/afterstep/backgrounds/*' 'Exec exec xv -root -quit'
 
AddToMenu Back-Local-AS DynamicPopupAction SetBackFromDirectory 'Back-Local-AS' '/usr/local/share/afterstep/backgrounds/*' 'Exec exec xv -root -quit'
 
DestroyMenu Back-Solid
AddToMenu   Back-Solid
+ "&Red 1%mini.rball.xpm%"     SetBackground 'Exec exec xsetroot -solid Red1'
+ "Red &2%mini.rball.xpm%"     SetBackground 'Exec exec xsetroot -solid Red2'
+ "Red &3%mini.rball.xpm%"     SetBackground 'Exec exec xsetroot -solid Red3'
+ "Red &4%mini.rball.xpm%"     SetBackground 'Exec exec xsetroot -solid Red4'
+ "&Yellow 1%mini.rball.xpm%"  SetBackground 'Exec exec xsetroot -solid Yellow1'
+ "Yellow &2%mini.rball.xpm%"  SetBackground 'Exec exec xsetroot -solid Yellow2'
+ "Yellow &3%mini.rball.xpm%"  SetBackground 'Exec exec xsetroot -solid Yellow3'
+ "Yellow &4%mini.rball.xpm%"  SetBackground 'Exec exec xsetroot -solid Yellow4'
+ "&Orange 1%mini.rball.xpm%"  SetBackground 'Exec exec xsetroot -solid Orange1'
+ "Orange &2%mini.rball.xpm%"  SetBackground 'Exec exec xsetroot -solid Orange2'
+ "Orange &3%mini.rball.xpm%"  SetBackground 'Exec exec xsetroot -solid Orange3'
+ "Orange &4%mini.rball.xpm%"  SetBackground 'Exec exec xsetroot -solid Orange4'
+ "&Green 1%mini.rball.xpm%"   SetBackground 'Exec exec xsetroot -solid Green1'
+ "Green &2%mini.rball.xpm%"   SetBackground 'Exec exec xsetroot -solid Green2'
+ "Green &3%mini.rball.xpm%"   SetBackground 'Exec exec xsetroot -solid Green3'
+ "Green &4%mini.rball.xpm%"   SetBackground 'Exec exec xsetroot -solid Green4'
+ "&Cyan 1%mini.rball.xpm%"    SetBackground 'Exec exec xsetroot -solid Cyan1'
+ "Cyan &2%mini.rball.xpm%"    SetBackground 'Exec exec xsetroot -solid Cyan2'
+ "Cyan &3%mini.rball.xpm%"    SetBackground 'Exec exec xsetroot -solid Cyan3'
+ "Cyan &4%mini.rball.xpm%"    SetBackground 'Exec exec xsetroot -solid Cyan4'
+ "&Blue 1%mini.rball.xpm%"    SetBackground 'Exec exec xsetroot -solid Blue1'
+ "Blue &2%mini.rball.xpm%"    SetBackground 'Exec exec xsetroot -solid Blue2'
+ "Blue &3%mini.rball.xpm%"    SetBackground 'Exec exec xsetroot -solid Blue3'
+ "Blue &4%mini.rball.xpm%"    SetBackground 'Exec exec xsetroot -solid Blue4'
+ "&Magenta 1%mini.rball.xpm%" SetBackground 'Exec exec xsetroot -solid Magenta1'
+ "Magenta &2%mini.rball.xpm%" SetBackground 'Exec exec xsetroot -solid Magenta2'
+ "Magenta &3%mini.rball.xpm%" SetBackground 'Exec exec xsetroot -solid Magenta3'
+ "Magenta &4%mini.rball.xpm%" SetBackground 'Exec exec xsetroot -solid Magenta4'
+ "&Snow1%mini.rball.xpm%"    SetBackground 'Exec exec xsetroot -solid snow1'
+ "Snow &2%mini.rball.xpm%"    SetBackground 'Exec exec xsetroot -solid snow2'
+ "Snow &3%mini.rball.xpm%"    SetBackground 'Exec exec xsetroot -solid snow3'
+ "Snow &4%mini.rball.xpm%"    SetBackground 'Exec exec xsetroot -solid snow4'
+ "&Black%mini.rball.xpm%"    SetBackground 'Exec exec xsetroot -solid Black'
 
DestroyMenu Back-Gradient
AddToMenu   Back-Gradient
+ "&Red decay%mini.bball.xpm%" SetBackground 'Exec exec bggen red1 red4  | xv -root -quit  -'
+ "&Yellow Orange decay%mini.bball.xpm%" SetBackground 'Exec exec bggen Yellow1 Orange4  | xv -root -quit  -'
+ "&Green decay%mini.bball.xpm%" SetBackground 'Exec exec bggen green1 DarkGreen  | xv -root -quit  -'
+ "&Blue decay%mini.bball.xpm%" SetBackground 'Exec exec bggen 100 100 255  0 0 100  | xv -root -quit  -'
+ "&Magenta decayy%mini.bball.xpm%" SetBackground 'Exec exec bggen blue magenta | xv -root -quit -'
+ "&Blue to Red%mini.bball.xpm%" SetBackground 'Exec exec bggen blue red | xv -root -quit -'
+ "Blue to &Cyan%mini.bball.xpm%" SetBackground 'Exec exec bggen blue4 Cyan1 | xv -root -quit -'
+ "&Cyan to Blue%mini.bball.xpm%" SetBackground 'Exec exec bggen Cyan Blue4 | xv -root -quit -'
+ "&Black/pink/black%mini.bball.xpm%" SetBackground 'Exec exec bggen black pink black | xv -root -quit -'
+ "Black/&red/black%mini.bball.xpm%" SetBackground 'Exec exec bggen black red black | xv -root -quit -'
+ "&Sun Raise 1%mini.bball.xpm%" SetBackground 'Exec exec bggen black orange black pink| xv -root -quit -'
+ "Sun Raise &2%mini.bball.xpm%" SetBackground 'Exec exec bggen black orange black Blue4| xv -root -quit -'
+ "Sun Raise &3%mini.bball.xpm%" SetBackground 'Exec exec bggen black red black grey60| xv -root -quit -'
+ "&Rainbowy%mini.bball.xpm%" SetBackground 'Exec exec bggen red green blue | xv -root -quit -'
+ "&Full Rainbowy%mini.bball.xpm%" SetBackground 'Exec exec bggen black red yellow green blue purple black | xv -root -quit -'
+ "&White to Black%mini.bball.xpm%" SetBackground 'Exec exec bggen white black | xv -root -quit -'
+ "&Black to White%mini.bball.xpm%" SetBackground 'Exec exec bggen white black | xv -root -quit -'
 
#------------------------------------------------------------------------------
#--------- Banner  settings
 
DestroyMenu Banner-Settings
AddToMenu   Banner-Settings
+ "&Banner on%mini.ray.xpm%"	ModuleOn FvwmBanner
+ "Banner &off%mini.cross.xpm%"	ModuleOff FvwmBanner
 
#------------------------------------------------------------------------------
#--------- Buttons  settings
 
DestroyMenu Buttons-Settings
AddToMenu   Buttons-Settings
+ "&Buttons Bar%mini.pencil.xpm%" ChangeButtonsOn 'FvwmButtons BarButtons'
+ "&Wharf%mini.pencil.xpm%"	 ChangeButtonsOn  FvwmWharf
+ "&None%mini.cross.xpm%"	 ChangeButtonsOff
 
 
#------------------------------------------------------------------------------
#--------- MiniButtons  settings
 
DestroyMenu MiniButtons-Settings
AddToMenu   MiniButtons-Settings
+ "&Mini Buttons on%mini.pencil.xpm%"	ButtonsOn FvwmButtons MiniButtons MiniButtons
+ "Mini Buttons &off%mini.cross.xpm%"	ButtonsOff MiniButtons MiniButtons
 
#------------------------------------------------------------------------------
#---------   DeskerPanel settings
 
DestroyMenu DeskerPanel-Settings
AddToMenu   DeskerPanel-Settings
+ "&Desker Panel on%mini.pencil.xpm%"	ButtonsOn FvwmButtons DeskerPanelButtons DeskerPanelButtons
+ "Desker Panel &off%mini.cross.xpm%"	ButtonsOff DeskerPanelButtons DeskerPanelButtons
 
#------------------------------------------------------------------------------
#---------   WMaker Applets settings
 
DestroyMenu WinMakerApp-Settings
AddToMenu   WinMakerApp-Settings
+ "&WMaker Applets on%mini.pencil.xpm%"	ButtonsOn FvwmButtons WinMakerAppButtons WinMakerApp*
+ "WMaker Applets &off%mini.cross.xpm%"	ButtonsOff WinMakerAppButtons WinMakerApp*
 
 
#------------------------------------------------------------------------------
#--------- Sound  settings
 
DestroyMenu Sound-Settings
AddToMenu   Sound-Settings
+ "&Sound Effect on%mini.audiovol.xpm%"	ModuleOn FvwmEvent
+ "Sound Effect &off%mini.cross.xpm%"	ModuleOff FvwmEvent
+ "Sound &card%mini.sound.xpm%"		Exec exec xmixer
 
#------------------------------------------------------------------------------
#--------- Layers Settings
 
DestroyMenu Layers-Settings
AddToMenu   Layers-Settings
+ "%mini.raise2.xpm%StaysOn&Top"    Pick (CirculateHit) SetLayers StaysOnTop
+ "%mini.window.xpm%Stays&Put"      Pick (CirculateHit) DestroyLayers
+ "%mini.lower2.xpm%StaysOn&Bottom" Pick (CirculateHit) SetLayers StaysOnBottom
 
#------------------------------------------------------------------------------
#--------- X setup Script
 
DestroyMenu XsetupScripts
AddToMenu   XsetupScripts
+ "&Bell%mini.audiovol.xpm%"		FvwmScript FvwmScript-BellSetup
+ "&KeyBoard%mini.keyboard.xpm%"	FvwmScript FvwmScript-KeyboardSetup
+ "&Screen%mini.monitor.xpm%"		FvwmScript FvwmScript-ScreenSetup
+ "&Mouse%mini.mouse.xpm%"		FvwmScript FvwmScript-PointerSetup
 
#------------------------------------------------------------------------------
#--------- Edit config
 
#PREF 12
DestroyMenu Edit-Config
AddToMenu   Edit-Config
+ "Edit .fvwm2rc%mini.edit.xpm%" Exec exec emacs $FVWM_USERDIR/.fvwm2rc
+ "Edit decorations%mini.edit.xpm%" Exec exec emacs $FVWM_USERDIR/decorations
+ "Edit globalfeel%mini.edit.xpm%" Exec exec emacs $FVWM_USERDIR/globalfeel
+ "Edit startup%mini.edit.xpm%" Exec exec emacs $FVWM_USERDIR/startup
+ "Edit styles%mini.edit.xpm%" Exec exec emacs $FVWM_USERDIR/styles
+ "Edit iconstyles%mini.edit.xpm%" Exec exec emacs $FVWM_USERDIR/iconstyles
+ "Edit functions%mini.edit.xpm%" Exec exec emacs $FVWM_USERDIR/functions
+ "Edit bindings%mini.edit.xpm%" Exec exec emacs $FVWM_USERDIR/bindings
+ "Edit menus%mini.edit.xpm%" Exec exec emacs $FVWM_USERDIR/menus
+ "Edit modules%mini.edit.xpm%"	Exec exec emacs $FVWM_USERDIR/modules
 
#------------------------------------------------------------------------------
#--------- Reload config
 
DestroyMenu Reload-Config
AddToMenu   Reload-Config
+ "Reload decorations%mini.turn.xpm%"	Read decorations
+ "Reload globalfeel%mini.turn.xpm%"	Read globalfeel
+ "Reload styles%mini.turn.xpm%"	Read styles
+ "Reload iconstyles && menus%mini.turn.xpm%"	ReloadIconStylesAndMenus
+ "Reload functions%mini.turn.xpm%"	Read functions
+ "Reload bindings%mini.turn.xpm%"	Read bindings
+ "Reload modules%mini.turn.xpm%"	Read modules
 
#------------------------------------------------------------------------------
#--------- Load / Save As settings
 
DestroyMenu Load-Settings
AddToMenu   Load-Settings
+ "Show &FVWM Settings%mini.fvwm.xpm%"		ShowFvwmSettings
+ "Show Layers Settings%mini.window.xpm%"	ShowLayers
+ "Show &X Settings%mini.x2.xpm%"		ShowXSettings
+ "" Nop
+ "&Load Setting 1%mini.turn.xpm%"	LoadSettings 1
+ "Load Setting &2%mini.turn.xpm%"	LoadSettings 2
+ "Load Setting &3%mini.turn.xpm%"	LoadSettings 3
+ "Load Setting &4%mini.turn.xpm%"	LoadSettings 4
+ "Save Current As:" Title
+ "&Setting 1%mini.diskette.xpm%"	SaveAsSettings 1
+ "Setting &2%mini.diskette.xpm%"	SaveAsSettings 2
+ "Setting &3%mini.diskette.xpm%"	SaveAsSettings 3
+ "Setting &4%mini.diskette.xpm%"	SaveAsSettings 4
 
#------------------------------------------------------------------------------
#--------- Focus/Paging  settings
 
DestroyMenu Focus-Settings
AddToMenu   Focus-Settings
+ "&Sloppy Focus%mini.mouse.xpm%"		Style * SloppyFocus
+ "&Click To Focus%mini.mouse.xpm%"		Style * ClickToFocus
+ "&Focus Follows Mouse%mini.mouse.xpm%"	Style * FocusFollowsMouse
+ "" Nop
+ "&Colormap Follows Mouse%mini.colors.xpm%" ColormapFocus FollowsMouse
+ "&Colormap Follows Focus%mini.colors.xpm%" ColormapFocus FollowsFocus
+ "" Nop
+ "&Full Paging ON%mini.maximize2.xpm%"		EdgeScroll 100 100
+ "&All Paging OFF%mini.cross.xpm%"		EdgeScroll 0 0
+ "&Horizontal Paging Only%mini.maximize-horiz.xpm%"	EdgeScroll 100 0
+ "&Vertical Paging Only%mini.maximize-vert.xpm%"	EdgeScroll 0 100
+ "&Partial Paging%mini.maximize2.xpm%"			EdgeScroll 50 50
+ "&Full Paging && Edge Wrap%mini.maximize2.xpm%" EdgeScroll 100000 100000
 
 
#------------------------------------------------------------------------------
#--------- Mouse settings
 
DestroyMenu Mouse-Settings
AddToMenu   Mouse-Settings
+ "Mouse &Slow%mini.mouse.xpm%"			Exec	xset m 1 1
+ "Mouse &Default%mini.mouse.xpm%"		Exec	xset m default
+ "Mouse &Fast%mini.cat.xpm%"			Exec	xset m 4 2
+ "Speedy &Gonzales%mini.cat.xpm%"		Exec	xset m 10 2
 
#------------------------------------------------------------------------------
#--------- Keyboard settings
 
DestroyMenu Keyboard-Settings
AddToMenu   Keyboard-Settings
+ "&Auto-repeat on%mini.keyboard.xpm%"	Exec	xset r on
+ "Auto-repeat &off%mini.keyboard.xpm%"	Exec	xset r off
 
#------------------------------------------------------------------------------
#--------- Sound  settings
 
DestroyMenu Bell-Settings
AddToMenu   Bell-Settings
+ "&Bell on%mini.sound.xpm%"		Exec xset b on
+ "Bell &off%mini.cross.xpm%"		Exec xset b off
+ "Sound &card%mini.sound.xpm%"	Exec exec xmixer
 
#------------------------------------------------------------------------------
#--------- X & screen settings
 
DestroyMenu X-Settings
AddToMenu   X-Settings
+ "Back &Color%mini.colors.xpm"         Popup Backcolor
+ "Back &Animation%mini.fractal.xpm%"   Popup Background-Animation
+ "&Root Cursor Form%mini.xarchie.xpm%"	FvwmForm FvwmForm-RootCursor
+ "&Video tuning%mini.monitor.xpm%"	Exec exec xterm -T Xvidtune -e xvidtune
+ "&X configuration%mini.display.xpm%"	Exec exec xterm -T Xconfig -e Xconfigurator
 
#--------- Background color
 
DestroyMenu Backcolor
AddToMenu   Backcolor
+ "&Black%mini.bball.xpm%"		Exec exec xsetroot -solid Black
+ "&Red%mini.bball.xpm%"		Exec exec xsetroot -solid Red
+ "&Yellow%mini.bball.xpm%"		Exec exec xsetroot -solid Yellow
+ "&Green%mini.bball.xpm%"		Exec exec xsetroot -solid Green
+ "&Cyan%mini.bball.xpm%"		Exec exec xsetroot -solid Cyan4
+ "&Blue%mini.bball.xpm%"		Exec exec xsetroot -solid Blue
+ "&Magenta%mini.bball.xpm%"		Exec exec xsetroot -solid Magenta
+ "&White%mini.bball.xpm%"		Exec exec xsetroot -solid White
+ "&Blue decay%mini.bball.xpm%"		Exec exec bggen 100 100 255  0 0 100  | xv -root -quit  -
+ "&Rainbow%mini.bball.xpm%" Exec exec bggen red green blue | xv -root -quit -
+ "&Full Rainbow%mini.bball.xpm%" Exec exec bggen black red yellow green blue purple black | xv -root -quit -
+ "&Magenta decay%mini.bball.xpm%" Exec exec bggen blue magenta | xv -root -quit -
 
#--------- Background animation
 
DestroyMenu "Background-Animation"
AddToMenu "Background-Animation"
+ "&Braid%mini.rball.xpm%"	Exec exec xlock -nice 10 -inroot -mode braid
+ "&Flame%mini.rball.xpm%"	Exec exec xlock -nice 10 -inroot -mode flame
+ "&Grav%mini.rball.xpm%"	Exec exec xlock -nice 10 -inroot -mode grav
+ "&Pyro%mini.rball.xpm%"	Exec exec xlock -nice 10 -inroot -mode pyro
+ "&Qix%mini.rball.xpm%"	Exec exec xlock -nice 10 -inroot -mode qix
+ "&Rock%mini.rball.xpm%"	Exec exec xlock -nice 10 -inroot -mode rock
+ "&Slip%mini.rball.xpm%"	Exec exec xlock -nice 10 -inroot -mode spiral
+ "&Spline%mini.rball.xpm%"	Exec exec xlock -nice 10 -inroot -mode spline
+ "&Swarm%mini.rball.xpm%"	Exec exec xlock -nice 10 -inroot -mode swarm
+ "&Worm%mini.rball.xpm%"	Exec exec xlock -nice 10 -inroot -mode worm
+ "&Random%mini.rball.xpm%"	Exec exec xlock -nice 10 -inroot -mode random
  # Stop the animation in the background
+ "&Stop It%mini.cross.xpm%"	\
	Exec kill -9 $(ps aux | grep xlock | grep -v grep | awk '{print $2}')
 
#------------------------------------------------------------------------------
#--------- Documents
#------------------------------------------------------------------------------
 
DestroyMenu Documents
AddToMenu   Documents
+ "&Xman%mini.book1.xpm%"	   Exec exec xman
+ "&FVWM Home Page%mini.fvwm.xpm%" Exec exec mozilla http://www.fvwm.org/
+ "&FVWM Themes Home Page%mini.icons.xpm%" Exec exec mozilla http://fvwm-themes.sourceforge.net/
+ "&Sample 95 MINI-FAQ%mini.book1.xpm%"	Exec exec xterm -bg white -fg black -g 80x35 -n "Sample-95 MINI-FAQ" -T "Sample-95 MINI-FAQ" -e less +?"-- Sample-95 MINI-FAQ --" $FVWM_USERDIR/.fvwm2rc
+ "FVWM &Man Pages%mini.book1.xpm%"	Popup FvwmManPage
+ ""  Nop
+ "&Browser%mini.folder.xpm%"		Menu MenuBrowser
+ "Browser (&cached)%mini.folder.xpm%"	Menu MenuBrowserCached
AddToMenu Documents MissingSubmenuFunction FuncFvwmMenuDirectory
+ "&Root dir%mini.folder.xpm%" Popup /
+ "&Home dir%mini.folder.xpm%" Popup ~
 
DestroyMenu MenuBrowser
#PREF 1
AddToMenu   MenuBrowser DynamicPopupAction Piperead 'fvwm-menu-directory --reuse --name MenuBrowser --dir $HOME --special-dirs --exec-file ^"emacs" --xterm=" xterm -e" --icon-dir=mini.folder.xpm --icon-title=mini.term.xpm --icon-file=mini.file.xpm --icon-app=mini.hex.xpm --check-subdir'
 
DestroyMenu MenuBrowserCached
#PREF 1
AddToMenu   MenuBrowserCached DynamicPopupAction Piperead 'fvwm-menu-directory --all --reuse --name MenuBrowserCached --dir $HOME --special-dirs --exec-file ^"emacs" --xterm=" xterm -e" --icon-dir=mini.folder.xpm --icon-title=mini.term.xpm --icon-file=mini.file.xpm --icon-app=mini.hex.xpm --check-subdir'
 
DestroyFunc FuncFvwmMenuDirectory
#PREF 1
AddToFunc FuncFvwmMenuDirectory I PipeRead 'fvwm-menu-directory --dir "$0" --exec-file ^"emacs" --xterm=" xterm -e" --icon-dir=mini.folder.xpm --icon-title=mini.term.xpm --icon-file=mini.file.xpm --icon-app=mini.hex.xpm --check-subdir'
 
#------------- FvwmManPage
 
DestroyFunc ViewManPage
AddToFunc   ViewManPage
+ I Exec exec xterm -g 80x40 -e man $0
 
DestroyMenu FvwmManPage
AddToMenu   FvwmManPage "FVWM Man Pages" Title
+ "%mini.book1.xpm%fvwm"                ViewManPage fvwm
+ "%mini.book1.xpm%FvwmAnimate"         ViewManPage FvwmAnimate
+ "%mini.book1.xpm%FvwmAuto"            ViewManPage FvwmAuto
+ "%mini.book1.xpm%FvwmBacker"          ViewManPage FvwmBacker
+ "%mini.book1.xpm%FvwmBanner"          ViewManPage FvwmBanner
+ "%mini.book1.xpm%FvwmButtons"         ViewManPage FvwmButtons
+ "%mini.book1.xpm%FvwmCommand"         ViewManPage FvwmCommand
+ "%mini.book1.xpm%FvwmConsole"         ViewManPage FvwmConsole
+ "%mini.book1.xpm%FvwmConsoleC.pl"     ViewManPage FvwmConsoleC.pl
+ "%mini.book1.xpm%FvwmCpp"             ViewManPage FvwmCpp
+ "%mini.book1.xpm%FvwmDebug"           ViewManPage FvwmDebug
+ "%mini.book1.xpm%FvwmDragWell"        ViewManPage FvwmDragWell
+ "%mini.book1.xpm%FvwmEvent"           ViewManPage FvwmEvent
+ "%mini.book1.xpm%FvwmForm"            ViewManPage FvwmForm
+ "%mini.book1.xpm%FvwmGtk"             ViewManPage FvwmGtk
+ "%mini.book1.xpm%FvwmGtkDebug"        ViewManPage FvwmGtkDebug
+ "%mini.book1.xpm%FvwmIconBox"         ViewManPage FvwmIconBox
+ "%mini.book1.xpm%FvwmIconMan"         ViewManPage FvwmIconMan
+ "%mini.book1.xpm%FvwmIdent"           ViewManPage FvwmIdent
+ "%mini.book1.xpm%FvwmM4"              ViewManPage FvwmM4
+ "%mini.book1.xpm%FvwmPager"           ViewManPage FvwmPager
+ "%mini.book1.xpm%FvwmPerl"            ViewManPage FvwmPerl
+ "%mini.book1.xpm%FvwmProxy"           ViewManPage FvwmProxy
+ "%mini.book1.xpm%FvwmRearrange"       ViewManPage FvwmRearrange
+ "%mini.book1.xpm%FvwmSave"            ViewManPage FvwmSave
+ "%mini.book1.xpm%FvwmSaveDesk"        ViewManPage FvwmSaveDesk
+ "%mini.book1.xpm%FvwmScript"          ViewManPage FvwmScript
+ "%mini.book1.xpm%FvwmScroll"          ViewManPage FvwmScroll
+ "%mini.book1.xpm%FvwmTaskBar"         ViewManPage FvwmTaskBar
+ "%mini.book1.xpm%FvwmTheme"           ViewManPage FvwmTheme
+ "%mini.book1.xpm%FvwmWharf"           ViewManPage FvwmWharf
+ "%mini.book1.xpm%FvwmWinList"         ViewManPage FvwmWinList
+ "%mini.book1.xpm%FvwmWindowMenu"      ViewManPage FvwmWindowMenu
+ "" Nop
+ "%mini.book1.xpm%fvwm-config"         ViewManPage fvwm-config
+ "%mini.book1.xpm%fvwm-perllib"        ViewManPage fvwm-perllib
+ "%mini.book1.xpm%fvwm-root"           ViewManPage fvwm-root
+ "%mini.book1.xpm%fvwm-bug"            ViewManPage fvwm-bug
+ "%mini.book1.xpm%fvwm-convert-2.2"    ViewManPage fvwm-convert-2.2
+ "%mini.book1.xpm%fvwm-convert-2.4"    ViewManPage fvwm-convert-2.4
+ "%mini.book1.xpm%fvwm-convert-2.6"    ViewManPage fvwm-convert-2.6
+ "" Nop
+ "%mini.book1.xpm%fvwm-menu-desktop"   ViewManPage fvwm-menu-desktop
+ "%mini.book1.xpm%fvwm-menu-directory" ViewManPage fvwm-menu-directory
+ "%mini.book1.xpm%fvwm-menu-headlines" ViewManPage fvwm-menu-headlines
+ "%mini.book1.xpm%fvwm-menu-xlock"     ViewManPage fvwm-menu-xlock
 
#------------------------------------------------------------------------------
#--------- ScreenSaver
#------------------------------------------------------------------------------
 
DestroyMenu Screen
AddToMenu   Screen
+ "&Screensaver%mini.display.xpm%" Exec exec xlock -nolock -nice 19 -mode random
+ "Screen&lock%mini.lock.xpm%"	Exec exec xlock -nice 19 -mode random
+ "" Nop #!E xlock
+ "&Screensaver%mini.display.xpm%"  Popup MenuSSaver #!E xlock
+ "Sc&reen&lock%mini.lock.xpm%"     Popup MenuSLock  #!E xlock
+ "" Nop #!E xscreensaver
+ "(Re)start &XscreenSaver%mini.display.xpm%" Exec xscreensaver-command -exit ; exec xscreensaver -no-splash
+ "&Stop XscreenSaver%mini.cross.xpm%" Exec exec xscreensaver-command -exit
+ "XscreenSaver &Demo%mini.display.xpm%" Exec xscreensaver-command -exit ; exec xscreensaver; exec xscreensaver-command -demo
+ "" Nop #!E xscreensaver
+ "&Locked XscreenSaver%mini.lock.xpm%" Exec exec xscreensaver-command -lock
+ "&Activate XscreenSaver%mini.display.xpm%" Exec exec xscreensaver-command -activate
 
 
PipeRead 'fvwm-menu-xlock -n MenuSSaver -t "Screensaver" -icon-item mini.bball.xpm -- -nice 19 -nolock' #!E xlock
PipeRead 'fvwm-menu-xlock -n MenuSLock  -t "Lock Screen" -icon-item mini.rball.xpm -- -nice 19' #!E xlock
 
#------------------------------------------------------------------------------
#--------- Restart
#------------------------------------------------------------------------------
 
DestroyMenu Restart
AddToMenu   Restart "Restart Window Manager" Title
+ "&Restart Self%mini.turn.xpm%"	Restart
+ "" Nop
+ "&fvwm-themes-start%mini.fvwm.xpm%"	Restart fvwm-themes-start
+ "&fvwm%mini.fvwm.xpm%"		Restart fvwm -s
+ "&fvwm2%mini.fvwm.xpm%"		Restart fvwm2 -s
+ "&fvwm95%mini.fvwm.xpm%"		Restart fvwm95 -s
+ "&AnotherLevel%mini.fvwm.xpm%"	Restart AnotherLevel
+ "&AnotherLevelUp%mini.fvwm.xpm%"	Restart AnotherLevelUp
+ "" Nop
+ "&afterstep%mini.windows.xpm%"	Restart afterstep
+ "&blackbox%mini.windows.xpm%" 	Restart blackbox
+ "&enlightenment%mini.windows.xpm%"	Restart enlightenment
+ "&flwm%mini.windows.xpm%"		Restart flwm
+ "&icewm%mini.windows.xpm%"		Restart icewm
+ "&kwm%mini.windows.xpm%"		Restart kwm
+ "&mwm%mini.mwm.xpm%"			Restart mwm
+ "&olvwm%mini.olwm.xpm%"		Restart olvwm
+ "&sawfish%mini.windows.xpm%"		Restart sawfish
+ "&sawmill%mini.windows.xpm%"		Restart sawmill
+ "&scwm%mini.windows.xpm%"		Restart scwm
+ "&twm%mini.twm.xpm%"			Restart twm
+ "&uwm%mini.windows.xpm%"		Restart uwm
+ "&wm2%mini.windows.xpm%"		Restart wm2
+ "&wmaker%mini.windows.xpm%"		Restart wmaker
+ "&wmx%mini.windows.xpm%"		Restart wmx
+ "&xfwm%mini.windows.xpm%"		Restart xfwm
+ "" Nop
+ "Just &xterm%mini.term.xpm%"		Restart xterm
# A bit dangerous in a menu
#+ ""					Nop
#+ "Halt%mini.stop.xpm%"	  	Exec exec shutdown -h now
#+ "Reboot%mini.lightbolt-full.xpm%" 	Exec exec shutdown -r now
 
 
#------------------------------------------------------------------------------
#------------- Windows Operations
#------------------------------------------------------------------------------
 
#-----------------------------------------------------------------------------
# The "root" windows ops menu (Mouse 2)
 
DestroyMenu "Window"
AddToMenu "Window" "Window Operations" Title
+ "&Move%mini.move1.xpm%"               Move
+ "&Resize%mini.resize3.xpm%"           Resize
+ "(De)&Iconify%mini.iconify1.xpm%"     Iconify
+ "(Un)M&aximize%mini.maximize1.xpm%"   Maximize 100 100
+ "(Un)Max&wide%mini.maximize-horiz1.xpm%"	Maximize 100 0
+ "(Un)Max&tall%mini.maximize-vert1.xpm%"	Maximize   0 100
+ "(Un)&Shade%mini.shade1.xpm%"         WindowShade
+ "(Un)S&tick%mini.stick1.xpm%"         Stick
+ "R&aise%mini.raise2.xpm%"             Raise
+ "&Lower%mini.lower2.xpm%"             Lower
+ ""				Nop
+ "&Delete%mini.cross.xpm"		Delete
+ "&Close%mini.delete.xpm"		Close
+ "&Destroy%mini.bomb.xpm%"		Destroy
+ ""				Nop
+ "Move to &Page%mini.move1.xpm%"	Popup Move-window
+ "&Group Ops%mini.windows.xpm%"	Popup WindowGroupOps
+ "&Window Style%mini.window.xpm%"	Popup WindowStyle
+ "&Rearrange/Scroll%mini.windows.xpm%"	Popup WinRearrange
+ ""				Nop
+ "&Identify%mini.question.xpm%"	Module FvwmIdent
+ "Switch &to...%mini.windows.xpm%"	WindowList
 
#------------------------------------------------------------------------------
# A trimmed down version of "Window Ops", good for binding to decorations
 
DestroyMenu "Window-Ops2"
AddToMenu "Window-Ops2"
+ "&Move%mini.move1.xpm%"			Move
+ "&Resize%mini.resize3.xpm%"			Resize
+ "(De)&Iconify%mini.iconify1.xpm%"		Iconify
+ "(Un)M&aximize%mini.maximize1.xpm%"		Maximize 100 100
+ "(Un)Max&wide%mini.maximize-horiz1.xpm%"	Maximize 100 0
+ "(Un)Max&tall%mini.maximize-vert1.xpm%"	Maximize   0 100
+ "(Un)&Shade%mini.shade1.xpm%"			WindowShade
+ "(Un)S&tick%mini.stick1.xpm%"			Stick
#+ "R&aiseLower%mini.raise2.xpm%"		RaiseLower
+ ""			Nop
+ "&Close%mini.delete.xpm"			Close
+ ""			Nop
+ "&Identify%mini.question.xpm%"		Module FvwmIdent
+ "More&...%mini.window.xpm%"			Menu Window This 0 0
 
#------------------------------------------------------------------------------
# A trimmed down version of "Window Ops", good for binding to TaskBar,
# WinList ... buttons
 
DestroyMenu "Window-Ops3"
AddToMenu "Window-Ops3"
+ "Move to &Page%mini.move1.xpm%"		Popup Move-window
+ "&Group Ops%mini.windows.xpm%"		Popup WindowGroupOps
+ ""			Nop
+ "(De)&Iconify%mini.iconify1.xpm%"		Iconify
+ "(Un)&Shade%mini.shade1.xpm%"			WindowShade
+ "(Un)S&tick%mini.stick1.xpm%"			Stick
+ "(Un)M&aximize%mini.maximize1.xpm%"		Maximize 95 95
+ "%mini.window.xpm%Scroll&Bar (75%% scr)"	Module FvwmScroll 75p 75p
+ ""			Nop
+ "&Close%mini.delete.xpm"			Close
+ ""			Nop
+ "&Identify%mini.question.xpm%"		Module FvwmIdent
+ "More&...%mini.window.xpm%"			Menu Window This 0 0
 
 
#------------------------------------------------------------------------------
# A "Move Window" menu
 
DestroyMenu "Move-Window"
AddToMenu   "Move-Window" "Move to ..." Title
+ 'Page &1%mini.move1.xpm%'	MoveToPage 0 0
+ 'Page &2%mini.move1.xpm%'	MoveToPage 1 0
+ 'Page &3%mini.move1.xpm%'	MoveToPage 0 1
+ 'Page &4%mini.move1.xpm%'	MoveToPage 1 1
+ '' Nop
+ '&Fvwm%mini.move1.xpm%'	MoveToDesk 0 0
+ '&Devel%mini.move1.xpm%'	MoveToDesk 0 1
+ '&Internet%mini.move1.xpm%'	MoveToDesk 0 2
+ '&Misc%mini.move1.xpm%'	MoveToDesk 0 3
 
#------------------------------------------------------------------------------
# A group version of WindowOps
 
DestroyMenu WindowGroupOps
AddToMenu   WindowGroupOps "Group Ops" Title
+ "&Iconify%mini.iconify1.xpm%"   Pick All ($c) Iconify on
+ "&DeIconify%mini.iconify1.xpm%" Pick All ($c) Iconify off
+ "&Shade%mini.shade1.xpm%"       Pick All ($c) WindowShade on
+ "&UnShade%mini.shade1.xpm%"     Pick All ($c) WindowShade off
+ "R&aise%mini.raise2.xpm%"       Pick All ($c) Raise
+ "&Lower%mini.lower2.xpm%"       Pick All ($c) Lower
+ "" Nop
+ "&Delete%mini.cross.xpm"	Pick Delete
+ "&Close%mini.delete.xpm"	Pick Close
+ "&Destroy%mini.bomb.xpm%"	Pick Destroy
+ "&Quick move to ..." Title
+ 'Page &1%mini.move1.xpm%'	Pick All ($c) MoveToPage 0 0
+ 'Page &2%mini.move1.xpm%'	Pick All ($c) MoveToPage 1 0
+ 'Page &3%mini.move1.xpm%'	Pick All ($c) MoveToPage 0 1
+ 'Page &4%mini.move1.xpm%'	Pick All ($c) MoveToPage 1 1
+ '' Nop
+ '&Fvwm%mini.move1.xpm%'	Pick All ($c) MoveToDesk 0 0
+ '&Devel%mini.move1.xpm%'	Pick All ($c) MoveToDesk 0 1
+ '&Internet%mini.move1.xpm%'	Pick All ($c) MoveToDesk 0 2
+ '&Misc%mini.move1.xpm%'	Pick All ($c) MoveToDesk 0 3
 
DestroyMenu WindowStyle
AddToMenu   WindowStyle
+ "%mini.window.xpm%Title&AtTop" Pick (CirculateHit) Style $n TitleAtTop
+ "%mini.window.xpm%&NoTitle"	 Pick (CirculateHit) Style $n NoTitle
+ "%mini.window.xpm%&Title"	 Pick (CirculateHit) Style $n NoTitle
+ "%mini.window.xpm%TitleAt&Bottom" Pick (CirculateHit) Style $n TitleAtBottom
+ "" Nop
+ "%mini.raise2.xpm%StaysOn&Top" Pick (CirculateHit) StyleAndRecapture $n StaysOnTop
+ "%mini.window.xpm%Stays&Put"   Pick (CirculateHit) StyleAndRecapture $n StaysPut
+ "%mini.lower2.xpm%StaysOn&Bottom"  Pick (CirculateHit) StyleAndRecapture $n StaysOnBottom
+ "" Nop
+ "%mini.window.xpm%&FvwmBorder"	Pick (CirculateHit) Style $n FvwmBorder
+ "%mini.window.xpm%&MWMBorder"		Pick (CirculateHit) Style $n MWMBorder
+ "%mini.window.xpm%&DepressableBorder"	Pick (CirculateHit) Style $n DepressableBorder
+ "%mini.window.xpm%&FirmBorder"	Pick (CirculateHit) Style $n FirmBorder
+ "%mini.window.xpm%&Handles"		Pick (CirculateHit) Style $n Handles
+ "%mini.window.xpm%&NoHandles"		Pick (CirculateHit) Style $n NoHandles
+ "%mini.window.xpm%BorderWidth &0" Pick (CirculateHit) Style $n BorderWidth 0
+ "%mini.window.xpm%BorderWidth &5" Pick (CirculateHit) Style $n BorderWidth 5
+ "%mini.window.xpm%HandleWidth &0" Pick (CirculateHit) Style $n HandleWidth 0
+ "%mini.window.xpm%HandleWidth &7" Pick (CirculateHit) Style $n HandleWidth 7
+ "" Nop
+ "%mini.resize3.xpm%&ResizeOpaque"  Pick (CirculateHit) Style $n ResizeOpaque
+ "%mini.resize3.xpm%Resize&Outline" Pick (CirculateHit) Style $n ResizeOutline
+ "%mini.mouse.xpm%Sloppy&Focus"    Pick (CirculateHit) Style $n SloppyFocus
+ "%mini.mouse.xpm%&ClickToFocus"   Pick (CirculateHit) Style $n ClickToFocus
+ "%mini.mouse.xpm%&MouseFocus"     Pick (CirculateHit) Style $n MouseFocus
+ "%mini.mouse.xpm%&NeverFocus"     Pick (CirculateHit) Style $n NeverFocus
 
DestroyMenu WinRearrange
AddToMenu   WinRearrange
+ "&Cascade%mini.windows.xpm%" FvwmRearrange -cascade -m 3 3 -incx 2
+ "Tile &horizontally%mini.windows.xpm%" FvwmRearrange -tile -h -m 2 2 98 98
+ "Tile &vertically%mini.windows.xpm%" FvwmRearrange -tile -m 2 2 98 98
+ "" Nop
+ "&ScrollBar (1/2 app)%mini.window.xpm%"  Module FvwmScroll 2 2
+ "%mini.window.xpm%&Scroll&Bar (75%% scr)" Module FvwmScroll 75p 75p
+ "" Nop
+ "&Arrange Icons%mini.icons.xpm%" All (CurrentDesk Iconic) RecaptureWindow
+ "&Refresh Screen%mini.ray.xpm%" Refresh
 
#----------------------------------------------------------------------------
# Use the winops menus styles for the "Windows Operations Menus"
# Use it also for big menu
 
ChangeMenuStyle winops Window Window-Ops2 Window-Ops3 Move-Window WindowGroupOps WindowStyle WinRearrange Back-Solid Back-Gradient FvwmManPage MenuSSaver MenuSLock
 
#SEG modules
#-----------------------------------------------------------------------------#
#
# 11. Definitions used by the modules
#     (Alphabetic order is used, but the Form are at the end)
#-----------------------------------------------------------------------------#
 
#------------------------------------------------------------------------------
#------------------ FvwmBacker
#------------------------------------------------------------------------------
 
*FvwmBacker: Command(Desk 0, Page * *) -solid Blue
*FvwmBacker: Command(Desk 1, Page * *) -solid \#7F4B7F
*FvwmBacker: Command(Desk 2, Page * *) -solid midnightblue
*FvwmBacker: Command(Desk 3, Page * *) -solid black
 
#------------------------------------------------------------------------------
#------------------ FvwmBanner
#------------------------------------------------------------------------------
Style FvwmBanner NoTitle, Sticky, StaysOnTop, WindowListSkip, CirculateSkip
*FvwmBannerTimeout 2
 
#------------------------------------------------------------------------------
#------------------ FvwmButtons: BarButtons
#------------------------------------------------------------------------------
 
Style BarButtons NoTitle, NoHandles, Sticky, WindowListSkip, \
	BorderWidth 4, CirculateSkip
 
DestroyModuleConfig BarButtons: *
*BarButtons: Fore Black
*BarButtons: Back #c3c3c3
*BarButtons: Font "xft:sans-serif:Bold:pixelsize=10;-*-helvetica-bold-r-*-*-10-*-*-*-*-*-*-*"
# Geometry - really likes to pick its own size, but giving a position is OK
# Warning: I've added a size geometry to avoid pbs if the fvwm_icons are
# not in the image path ! Remove the size in this geometry especially if
# you add buttons
*BarButtons: Geometry 120x445-5-84
# Layout: specify rows or columns, not both
*BarButtons: Columns 2
 
#LAPTOP 1 Are you a laptop user ?
#*BarButtons: (2x1, Title "xapm", Swallow(Kill) "xapm" "Exec exec xapm -geometry -1500-1500 -p")
# Define the buttons to use.....
#PREF 3
*BarButtons: (1x2, Title FileMgr, Icon Xfm.xpm, Action 'Exec exec xfm')
*BarButtons: (1x2, Title terminal, Icon rterm2.xpm, Action 'Exec exec xterm')
*BarButtons: (1x2, Title editor, Icon lemacs.xpm, Action 'Exec exec emacs')
*BarButtons: (1x2, Title xv,   Icon xv.xpm, Action 'Exec exec xv', \
    Action(Mouse 2) 'Exec exec ee', \
    Action(Mouse 3) 'Exec exec gqview')
*BarButtons: (1x2, Title Gimp,    Icon gimp.xpm,   Action 'Exec exec gimp', \
    Action(Mouse 2) 'Exec exec xpaint', \
    Action(Mouse 3) 'Exec exec kiconedit')
*BarButtons: (1x2, Title gview,   Icon  gv.xpm, Action 'Exec exec ghostview', \
    Action(Mouse 2) 'Exec exec xdvi', \
    Action(Mouse 3) 'Exec exec xpdf')
*BarButtons: (1x2, Title www, Icon nscape.xpm, Action 'Exec exec netscape', \
    Action(Mouse 2) 'Exec exec vppp', \
    Action(Mouse 3) 'Exec exec xterm -geometry 80x30 -e mutt')
*BarButtons: (1x2, Padding 0 0, Container(Padding 0 0, Frame 2, Columns 3))
*BarButtons: (Icon mini.move1.xpm, Action Move)
*BarButtons: (Icon mini.resize3.xpm, Action Resize)
*BarButtons: (Icon mini.iconify1.xpm, Action Iconify)
*BarButtons: (Icon mini.maximize1.xpm, Action Maximize 90 90)
*BarButtons: (Icon mini.shade1.xpm, Action WindowShade)
*BarButtons: (Icon mini.stick1.xpm, Action Stick)
*BarButtons: (Icon mini.cross.xpm, Action Delete)
*BarButtons: (Icon mini.bomb.xpm, Action Destroy)
*BarButtons: (Icon mini.question.xpm, Action Module FvwmIdent)
*BarButtons: (End)
*BarButtons: (1x2, Title "xload", Swallow "xload" "Exec exec nice -16 \
		xload -nolabel -update 4 -bg grey59 -hl grey70 \
		-geometry -1500-1500")
*BarButtons: (1x2, Title "xclock", Swallow "xclock" "Exec \
		exec xclock -padding 0 -geometry -1500-1500")
*BarButtons: (2x2, Swallow "FvwmPagerPager" 'FvwmPager FvwmPagerPager * *')
 
#------------------------------------------------------------------------------
#------------------ FvwmButtons: MiniButtons
#------------------------------------------------------------------------------
 
Style "MiniButtons" NoTitle, NoHandles, Sticky, WindowListSkip, \
	BorderWidth 0, CirculateSkip
 
DestroyModuleConfig MiniButtons*
*MiniButtons: Fore Black
*MiniButtons: Back #c0c0c0
*MiniButtons: Geometry -2+2
*MiniButtons: Rows 1
*MiniButtons: Padding 1 1
#PREF 3
*MiniButtons: -   mini.term.xpm      Exec exec xterm
*MiniButtons: -   mini.filemgr.xpm   Exec exec xfm
*MiniButtons: -   mini.doc1.xpm	     Exec exec emacs
*MiniButtons: -   mini.calc.xpm      Exec exec xcalc
*MiniButtons: -   mini.cd.xpm        Exec exec xplaycd
*MiniButtons: -   mini.audiovol.xpm  Exec exec xmixer
*MiniButtons: -   mini.happy.xpm     Exec exec xmine
*MiniButtons: -   mini.bomb.xpm      Destroy
 
#------------------------------------------------------------------------------
#------------------ FvwmButtons: DeskerPanelButtons
#------------------------------------------------------------------------------
 
Style "DeskerPanelButtons" NoTitle, NoHandles, Sticky, WindowListSkip, \
	BorderWidth 0, CirculateSkip
#Style "DeskerPanelButtons"  StayOnTop
DestroyModuleConfig DeskerPanelButtons: *
*DeskerPanelButtons: Fore Black
*DeskerPanelButtons: Back grey57
*DeskerPanelButtons: Geometry 12x79
*DeskerPanelButtons: Rows 1
*DeskerPanelButtons: Frame 1
*DeskerPanelButtons: Padding 0 0
#FAST 1
*DeskerPanelButtons: (Panel(right, steps 12, delay 0, position module top, indicator10) "FvwmDesker" 'Module FvwmPager FvwmDesker 0 3')
#SLOW 1
#*DeskerPanelButtons: (Panel(right, steps 0, position module top, indicator10) "FvwmDesker" 'Module FvwmPager FvwmDesker 0 3')
 
#------------------------------------------------------------------------------
#------------------ FvwmButtons: WinMakerAppButtons & WinMakerAppPanelCd
#------------------------------------------------------------------------------
Style "WinMakerApp*" NoTitle, NoHandles, BorderWidth 0, Sticky, \
	WindowListSkip, CirculateSkip
DestroyModuleConfig WinMakerAppButtons: *
 
#-------------------------------------
# Buttons:
# We use "hands panel", the advantage is that we use the applet
# in the panel only when we need it: Button 3 kill the panel
 
*WinMakerAppButtons: Geometry +0+120
*WinMakerAppButtons: Columns 1
*WinMakerAppButtons: Back #c0c0c0
*WinMakerAppButtons: Fore black
*WinMakerAppButtons: (Frame 1, Size 64 64, \
	Swallow  "wmjmail" 'Exec exec wmjmail', Action(Mouse 1) \
	'MyPanelButtons "WinMakerAppPanelMail" $right $top', \
	Action(Mouse 3) 'All (WinMakerAppPanelMail) Close')
*WinMakerAppButtons: (Frame 1, Size 64 64, \
	Swallow  "wmppp" 'Exec exec wmppp' Action(Mouse 1) \
	'MyPanelButtons "WinMakerAppPanelPPP" $right $top', \
	Action(Mouse 3) 'All (WinMakerAppPanelPPP) Close')
*WinMakerAppButtons: (Frame 1, Size 64 64, \
    Swallow "wmmount" 'Exec exec wmmount -s', Action(Mouse 1) \
    'MyPanelButtons "WinMakerAppPanelCd" $right $top', \
     Action(Mouse 3) 'All (WinMakerAppPanelCd) Close')
 
#-----------------
# The Mail Panel
*WinMakerAppPanelMail: Rows 1
*WinMakerAppPanelMail: Back #c0c0c0
*WinMakerAppPanelMail: Fore black
*WinMakerAppPanelMail: (Frame 1, Size 64 64, \
    Swallow  "wmcalclock" 'Exec exec  wmcalclock')
*WinMakerAppPanelMail: (Frame 1, Size 64 64, \
    Swallow  "wmsun" 'Exec exec  wmsun')
*WinMakerAppPanelMail: (Frame 1, Size 64 64, \
    Swallow  "wmload" 'Exec exec  wmload')
 
#-----------------
# The PPP Panel
*WinMakerAppPanelPPP: Rows 1
*WinMakerAppPanelPPP: Back #c0c0c0
*WinMakerAppPanelPPP: Fore black
*WinMakerAppPanelPPP: (Frame 1, Size 64 64, \
    Swallow  "wmfire" 'Exec exec  wmfire')
*WinMakerAppPanelPPP: (Frame 1, Size 64 64, \
    Swallow  "wmmatrix" 'Exec exec wmmatrix')
 
#-----------------
# The Cd Panel
*WinMakerAppPanelCd: Rows 1
*WinMakerAppPanelCd: Back #c0c0c0
*WinMakerAppPanelCd: Fore black
*WinMakerAppPanelCd: (Frame 1, Size 64 64, \
    Swallow  "wmmixer" 'Exec exec  wmmixer -s')
*WinMakerAppPanelCd: (Frame 1, Size 64 64, \
    Swallow  "wmxmms" 'Exec exec  wmxmms')
 
#------------------------------------------------------------------------------
#------------------ FvwmEvent
#------------------------------------------------------------------------------
 
DestroyModuleConfig FvwmEvent: *
 
# replace rplay by a sound player that can play .au sound file
*FvwmEvent: Cmd "Exec exec rplay "
 
*FvwmEvent: StartDelay 3
*FvwmEvent: Delay 1
 
*FvwmEvent: startup          "/usr/share/sounds/gong.au"
*FvwmEvent: add_window       "/usr/share/sounds/wipe.au"
*FvwmEvent: destroy_window   "/usr/share/sounds/pook.au"
*FvwmEvent: iconify          "/usr/share/sounds/clong.au"
*FvwmEvent: deiconify        "/usr/share/sounds/clong.au"
*FvwmEvent: windowshade      "/usr/share/sounds/slide.au"
*FvwmEvent: dewindowshade    "/usr/share/sounds/slide.au"
*FvwmEvent: new_page         "/usr/share/sounds/slide.au"
*FvwmEvent: new_desk         "/usr/share/sounds/slide.au"
 
#------------------------------------------------------------------------------
#------------------ FvwmGtk for GNOME menus
#------------------------------------------------------------------------------
 
 
*FvwmGtk: IconSize 22 22
G_SM_G 1
*FvwmGtk: Destroy "gnome-sys"
G_SM_G 1
PipeRead "fvwm-menu-desktop --desktop gnome-sys --install-prefix /opt/gnome --type gtk --enable-mini-icons"
 
#------------------------------------------------------------------------------
#------------------ IconBox
#------------------------------------------------------------------------------
Style "FvwmIconBox" NoTitle, NoHandles, Sticky, WindowListSkip, CirculateSkip
 
DestroyModuleConfig FvwmIconBox: *
*FvwmIconBox: Back #c0c0c0
*FvwmIconBox: Fore  Black
#WIN 1
#FVWM 1
*FvwmIconBox: IconHiBack SlateBlue
*FvwmIconBox: IconHiFore  white
*FvwmIconBox: Geometry +0-0
*FvwmIconBox: MaxIconSize 48x48
*FvwmIconBox: Font "xft:sans-serif:Bold:pixelsize=12;-*-helvetica-bold-r-*-*-12-*-*-*-*-*-*-*"
*FvwmIconBox: SortIcons    IconName
#*FvwmIconBox: SortIcons    ResClass
*FvwmIconBox: Padding 10
*FvwmIconBox: FrameWidth 0 0
*FvwmIconBox: Lines 6
*FvwmIconBox: SBWidth 11
*FvwmIconBox: Placement Left Top
*FvwmIconBox: HideSC Horizontal
*FvwmIconBox: SetWMIconSize
*FvwmIconBox: HilightFocusWin
*FvwmIconBox: Resolution  Desk
*FvwmIconBox: UseSkipList
# mouse bindings
*FvwmIconBox: Mouse 1 Click  DeiconifyFocusAndRaise
*FvwmIconBox: Mouse 1 DoubleClick  DeiconifyFocusAndWarp
*FvwmIconBox: Mouse 2 Click Iconify
*FvwmIconBox: Mouse 3 DoubleClick Iconify off
*FvwmIconBox: Mouse 3 Click Menu Window-Ops3 c+0 -101m
*FvwmIconBox: Mouse 3 DoubleClick FvwmIdent
# Key bindings
*FvwmIconBox: Key r RaiseLower
*FvwmIconBox: Key space Iconify
*FvwmIconBox: Key d Close
# FvwmIconBox built-in functions
*FvwmIconBox: Key n Next
*FvwmIconBox: Key p Prev
*FvwmIconBox: Key h Left
*FvwmIconBox: Key j Down
*FvwmIconBox: Key k Up
*FvwmIconBox: Key l Right
# animation
*FvwmIconBoxNoIconAction SendToModule FvwmAnimate animate
 
#------------------------------------------------------------------------------
#------------------ IconMan
#------------------------------------------------------------------------------
Style "FvwmIconMan" NoTitle, NoHandles, Sticky, WindowListSkip, CirculateSkip
 
DestroyModuleConfig FvwmIconMan: *
 
# nbr de manager
*FvwmIconMan: nummanagers 2
#global, desk, or page
#*FvwmIconMan: Resolution page
*FvwmIconMan: Resolution global
#*FvwmIconMan: Resolution desk
*FvwmIconMan: background  #c0c0c0
*FvwmIconMan: foreground Black
*FvwmIconMan: plainbutton up Black #c0c0c0
*FvwmIconMan: selectbutton down  Black #c0c0c0
#WIN 2
*FvwmIconMan: focusbutton up white Blue4
*FvwmIconMan: focusandselectbutton down white Blue4
#FVWM 2
#*FvwmIconMan: focusbutton up white SlateBlue
#*FvwmIconMan: focusandselectbutton down white SlateBlue
*FvwmIconMan: iconbutton down Black grey51
*FvwmIconMan: font  "xft:sans-serif:Medium:pixelsize=12;-*-times-bold-r-*-*-12-*-*-*-*-*-*-*"
*FvwmIconMan: followfocus true
*FvwmIconMan: usewinlist true
*FvwmIconMan: sort name
*FvwmIconMan: drawicons always
*FvwmIconMan: 2 title           "Icon Man"
#PREF 4
*FvwmIconMan: 1 title           " emacs windows"
*FvwmIconMan: 1 iconname        "FvwmIconMan: emacs"
*FvwmIconMan: 1 format          "%i"
*FvwmIconMan: 1 show            resource=*macs
*FvwmIconMan: 2 managergeometry 1x0+0-0
*FvwmIconMan: 1 managergeometry 1x0+260-0
*FvwmIconMan: 1 buttongeometry 200x22
*FvwmIconMan: 2 buttongeometry 250x22
# action
*FvwmIconMan: action    Mouse    1 N sendcommand DeiconifyFocusAndRaise
*FvwmIconMan: action    Mouse    2 N sendcommand Iconify
*FvwmIconMan: action    Mouse    3 N sendcommand "Menu Window-Ops3 c+0 -101m "
*FvwmIconMan: action    Key    Left N gotobutton Left, select
*FvwmIconMan: action    Key    Right N gotobutton Right, select
*FvwmIconMan: action    Key    Up N gotobutton Up, select
*FvwmIconMan: action    Key    Down N gotobutton Down, select
*FvwmIconMan: action    Key    q A quit
*FvwmIconMan: action    Key    i A sendcommand Iconify
*FvwmIconMan: action    Key    g A sendcommand IconManGlobal
*FvwmIconMan: action    Key    p A sendcommand IconManPage
*FvwmIconMan: action    Key    d A sendcommand IconManDesk
# animation
*FvwmIconMan: NoIconAction "SendToModule FvwmAnimate animate"
 
#------------------------------------------------------------------------------
#------------------ Identify
#------------------------------------------------------------------------------
Style "FvwmIdent" Sticky, NoButton 2, NoButton 4, NoButton 6
 
*FvwmIdent: Back Blue4
*FvwmIdent: Fore Yellow
*FvwmIdent: Font ""xft:sans-serif:Medium;-adobe-times-medium-r-*-*-14-*-*-*-*-*-*-*
 
#------------------------------------------------------------------------------
#------------------ FvwmPager:  Swallowed by ButtonBar
#------------------------------------------------------------------------------
Style "FvwmPagerPager" NoTitle, NoHandles, Sticky, WindowListSkip, CirculateSkip
 
DestroyModuleConfig FvwmPagerPager: *
*FvwmPagerPager: UseSkipList
*FvwmPagerPager: Back grey60
*FvwmPagerPager: Fore black
*FvwmPagerPager: Font "xft:monospace:Bold:pixelsize=10;-adobe-helvetica-bold-r-*-*-10-*-*-*-*-*-*-*
*FvwmPagerPager: Hilight white
*FvwmPagerPager: MiniIcons
*FvwmPagerPager: Balloons
*FvwmPagerPager: BalloonFore black
*FvwmPagerPager: BalloonBack bisque
*FvwmPagerPager: BalloonFont "xft:monospace:Medium:pixelsize=10;-*-fixed-medium-r-*-*-10-*-*-*-*-*-*-*"
*FvwmPagerPager: Geometry 319x69+5000+5000
#WIN 1
*FvwmPagerPager: WindowColors white grey51 white Blue4
#FVWM 1
#*FvwmPagerPager: WindowColors white grey51 white SlateBlue
*FvwmPagerPager: Label 0 Fvwm
*FvwmPagerPager: Label 1 Development
*FvwmPagerPager: Label 2 Internet
*FvwmPagerPager: Label 3 Misc
*FvwmPagerPager: SmallFont "xft:sans-serif:Medium:pixelsize=8;-*-fixed-medium-r-*-*-8-*-*-*-*-*-*-*"
 
#------------------------------------------------------------------------------
#------------------ FvwmPager: FvwmDesker, the panel of StartPagerButtons
#------------------------------------------------------------------------------
Style "FvwmDesker" NoTitle, NoHandles, Sticky, WindowListSkip, CirculateSkip
 
DestroyModuleConfig FvwmDesker: *
*FvwmDesker: UseSkipList
*FvwmDesker: Back grey60
*FvwmDesker: Fore black
*FvwmDesker: Font "xft:monospace:Bold:pixelsize=10;-*-helvetica-bold-r-*-*-10-*-*-*-*-*-*-*"
*FvwmDesker: Hilight white
*FvwmDesker: Geometry 319x69+5000+5000
*FvwmDesker: MiniIcons
*FvwmDesker: Balloons
*FvwmDesker: BalloonFore black
*FvwmDesker: BalloonBack bisque
*FvwmDesker: BalloonFont "xft:monospace:Medium:pixelsize=10;-*-fixed-medium-r-*-*-10-*-*-*-*-*-*-*"
#WIN 1
*FvwmDesker: WindowColors white grey51 white Blue4
#FVWM 1
*FvwmDesker: Label 0 Fvwm
*FvwmDesker: Label 1 Development
*FvwmDesker: Label 2 Internet
*FvwmDesker: Label 3 Misc
*FvwmDesker: SmallFont "xft:sans-serif:Medium:pixelsize=8;-*-fixed-medium-r-*-*-8-*-*-*-*-*-*-*"
 
#------------------------------------------------------------------------------
#------------------ FvwmScript
#------------------------------------------------------------------------------
 
*FvwmScript: DefaultFont "xft:sans-serif:Medium:pixelsize=12;-adobe-helvetica-bold-r-*-*-12-*-*-*-*-*-*-*"
*FvwmScript: DefaultFore black
*FvwmScript: DefaultBack grey85
*FvwmScript: DefaultHilight grey100
*FvwmScript: DefaultShadow grey55
 
#------------------------------------------------------------------------------
#------------------ FvwmTaskBar
#------------------------------------------------------------------------------
 
Style "FvwmTaskBar" NoTitle, NoHandles, Sticky, WindowListSkip, \
	CirculateSkip, TitleAtBottom
# Note: Title at bottom is for shading.
 
*FvwmTaskBar: Geometry +0-0
*FvwmTaskBar: Fore grey90
*FvwmTaskBar: Back grey20
*FvwmTaskBar: IconFore grey90
*FvwmTaskBar: IconBack grey25
*FvwmTaskBar: Font "xft:sans-serif:Medium:pixelsize=13;-adobe-times-medium-r-*-*-14-*-*-*-*-*-*-*"
*FvwmTaskBar: SelFont "xft:sans-serif:Bold:pixelsize=13;-adobe-times-bold-r-*-*-14-*-*-*-*-*-*-*"
*FvwmTaskBar: StatusFont "xft:sans-serif:Medium:pixelsize=13;*-fixed-medium-r-*-*-12-*-*-*-*-*-*-*"
*FvwmTaskBar: Action Click1 DeiconifyFocusAndRaise
*FvwmTaskBar: Action Click2 Iconify
*FvwmTaskBar: Action Click3 Menu Window-Ops3 c+0 -101m
*FvwmTaskBar: UseSkipList
*FvwmTaskBar: AutoStick
*FvwmTaskBar: StartName Fvwm2 Desktop
*FvwmTaskBar: StartMenu StartMenu mouse -100p -100m
*FvwmTaskBar: StartIcon mini.penguin.xpm
*FvwmTaskBar: ShowTips
*FvwmTaskBar: ShowTransients
#*FvwmTaskBar: HighlightFocus
*FvwmTaskBar: DeskOnly
*FvwmTaskBar: NoIconAction SendToModule FvwmAnimate animate
 
#------------------------------------------------------------------------------
#------------------ FvwmWharf
#------------------------------------------------------------------------------
 
Style "FvwmWharf" NoTitle, NoHandles, Sticky, WindowListSkip, \
	BorderWidth 1, CirculateSkip
 
DestroyModuleConfig FvwmWharf: *
*FvwmWharf: Animate
*FvwmWharf: AnimateMain
*FvwmWharf: Geometry -0-50
*FvwmWharf: Columns 1
*FvwmWharf: Bgcolor chocolate4
#*FvwmWharf: ForceSize
*FvwmWharf: FullPush
 
*FvwmWharf: TextureType 1
*FvwmWharf: TextureColor WhiteSmoke DarkGrey
 
*FvwmWharf wmcalclock nil  MaxSwallow "wmcalclock" wmcalclock
*FvwmWharf wmxmms nil  MaxSwallow "wmxmms" wmxmms
*FvwmWharf wmfire nil  MaxSwallow "wmfire" wmfire
 
#------------------------------------------------------------------------------
#------------------ FvwmWinList
#------------------------------------------------------------------------------
Style "FvwmWinList" NoTitle, Sticky, WindowListSkip, CirculateSkip
 
DestroyModuleConfig FvwmWinList: *
*FvwmWinList: Back #c3c3c3
*FvwmWinList: Fore Black
#WIN 1
*FvwmWinList: FocusBack Blue4
#FVWM 1
#*FvwmWinList: FocusBack SlateBlue
*FvwmWinList: FocusFore white
*FvwmWinList: IconBack grey51
*FvwmWinList: IconFore Black
*FvwmWinList: Font "xft:sans-serif:Medium:pixelsize=12;-adobe-helvetica-bold-r-*-*-12-*-*-*-*-*-*-*"
*FvwmWinList: Action Click1 DeiconifyFocusAndRaise
*FvwmWinList: Action Click2 Iconify
*FvwmWinList: Action Click3 Menu Window-Ops3 c+0 -101m
*FvwmWinList: UseSkipList
*FvwmWinList: ShowCurrentDesk
*FvwmWinList: MinWidth 180
*FvwmWinList: MaxWidth 250
*FvwmWinList: Geometry +0-0
*FvwmWinList: NoIconAction SendToModule FvwmAnimate animate
An alternative OS running in Qemu.
An alternative OS running in Qemu.

This is a very interesting file and I hope that someone finds this to be useful.

Below is my old .cshrc file. This is useful if you are using the csh UNIX shell.

~/.cshrc
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
# /etc/csh.login: This file contains login defaults used by csh and tcsh.
# $Thanks 2> http://www.grymoire.com/Unix/Csh.html
# Set up some environment variables:
#source ~/.complete
if ($?prompt) then
        umask 022
        set cdpath = ( /var/spool )
        set notify
        set history = 1000
        set savehist = 500
        setenv MANPATH /usr/local/man:/usr/man:/usr/X11R6/man
        setenv MINICOM "-c on"
        setenv HOSTNAME "`uname -n`"
        setenv LESS "-M"
        setenv LESSOPEN "|lesspipe.sh %s"
        setenv WINDOWMANAGER "fvwm-themes-start"
        setenv DOOMWADDIR "/usr/local/games"
        set path = ( $path /usr/X11R6/bin /usr/games $HOME/bin /usr/local/games )
endif
 
# If the user doesn't have a .inputrc, use the one in /etc.
if (! -r "$HOME/.inputrc") then
        setenv INPUTRC /etc/inputrc
endif
 
# I had problems with the backspace key installed by 'tset', but you might want
# to try it anyway, instead to the 'setenv term.....' below it.
# eval `tset -sQ "$term"`
 setenv term linux
# if ! $?TERM setenv TERM linux
# Set to "linux" for unknown term type:
if ("$TERM" == "") setenv TERM linux
if ("$TERM" == "unknown") setenv TERM linux
 
# Set default POSIX locale:
setenv LC_ALL POSIX
setenv traditional_complete
alias cls 'clear'
alias lu 'ls -hula'
alias tarunpack 'tar -xvf'
alias bz2unpack 'tar -jxvf'
 
# Set the default shell prompt:
 
printf "\n\n____----------------_____\n\n"
 
if (-x "/usr/bin/fortune") then
        `testout`
endif
 
printf "\n-----_________________-----\n\n"
 
set prompt = "\[%d %t %y\]\n$TERM. \[`uname -vmr`\]\n\[%n@$HOSTNAME\]:%~%# "
 
# Set up the LS_COLORS environment variable for color ls output:
#eval `dircolors -c`
 
# Notify user of incoming mail.  This can be overridden in the user's
# local startup file (~/.login)
#biff y
 
# Append any additional csh scripts found in /etc/profile.d/:
[ -d /etc/profile.d ]
if ($status == 0) then
        set nonomatch
        foreach file ( /etc/profile.d/*.csh )
                [ -x $file ]
                if ($status == 0) then
                        source $file
                endif
        end
        unset file nonomatch
endif

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.