1 #-----------------------------------------------------------------------------#
3 # Sample-95: .fvwm2rc example configuration file for a more or less Windows95
6 # The suggested way to install this configuration file is to (re)move
7 # any .fvwm2rc file you have in ~/.fvwm or ~ and run fvwm without any
10 # Then, run the "Setup 95 Script" from the root menu. This creates
11 # and installs the following configuration files: .fvwm2rc, bindings,
12 # decorations, functions, globalfeel, menus, modules, startup, styles,
14 # If perl is not installed on your machine (my god), only one file is
15 # installed: .fvwm2rc (and this configuration should work). Some instructions
16 # are given below for a first editing of this file. Maybe the first thing
17 # to do in this case is to segment this file. For that, you can move the
18 # parts of this file between the marks "#SEG foo" and "#SEG xyz" into a
19 # file foo and add "Read foo" to this file (until the "#SEG END" mark).
21 # You do need the fvwm_icons distribution installed in the fvwm image path.
22 # If they are installed in another directory use the ImagePath command
23 # below or set this directory via the Setup95 Script.
25 # For the sound effects to work you need the fvwm_sounds distribution
26 # installed and an .au player. The Setup95 Script allows you to set the
27 # installation directory of this distribution as your sound player (if not,
28 # manually edit the *FvwmEvent commands). Note that if you use rplay, the
29 # rplayd daemon must be run.
31 # The Setup95 Script asks you to choose between two looks, one is close
32 # to Windows and the other one is close to a "classical" fvwm look.
33 # For switching from the windows look to the fvwm one by hand, comment the
34 # x lines that follow the #WIN x lines and uncomment the x lines that
35 # follow the #FVWM x lines.
37 # There is an option for machines with a "low X server (comment #FAST and
38 # uncomment #SLOW). You may have to use some intermediate values (Base
39 # Configuration can help and if you "rebuild Sample-95" .FvwmBaseConfig
40 # may over write the effect of this option). See also the BackingStore and
43 # I've tried to use very common apps (like Gimp or Netscape) so that this
44 # configuration file is as universal as possible. For menus, the Setup 95
45 # Script starts with a big menu. Comment the menu entries that correspond
46 # to applications not in your path. Moreover, the Setup95 Script asks you
47 # to set your preferred terminal, editor and file manager (#PREF). However,
48 # you surely need to edit the menu definitions and the BarButtons
49 # configuration to get your preferred applications.
51 # I have a laptop so I have added one laptop option. If you answer yes
52 # to the Setup95 question: "do you have a laptop?" you will have xapm
53 # in your BarButtons. To get it by hand, just uncomment the line that
56 # GNOME and KDE menus: fvwm has a perl script that can build GNOME and
57 # KDE menus: fvwm-menu-desktop (man fvwm-menu-desktop for details). If GNOME
58 # and/or KDE are installed in your machine, Setup95 will ask you which menus
59 # you want to add to your Programs sub menus (G_SM_G/F means FvwmGtk/fvwm
60 # gnome system menu, G_SM_G/F means FvwmGtk/fvwm gnome user menu, G_RHM_G/F
61 # means gnome redhat menu, G_M_G means that we need to start FvwmGtk, K_SM
62 # means kde system menu and K_UM means kde user menu. You may have to edit
63 # the line G_*M_* to set your GNOME install directory (Setup95 try to
64 # find it)). KDE (mini-)Icon Styles and KDE ImagePath (#K_M) are provided
65 # if you select one of the KDE menus. For GNOME, (mini-)Icon Styles are
66 # provided if you have the panel installed (#G_ST) and the image path is
67 # set if you ask for FvwmGtk menus (#G_M_G).
69 # GNOME session: This configuration can be used under gnome-session. In
70 # this case almost no modules are started (for a first installation).
71 # However, you may use more modules: this depends on your gnome panel
72 # configuration. If Setup95 builds a configuration to be used
73 # under gnome-session, the lines which follow #G_SESSION will be uncommented.
74 # The panel stays put option (the line which follow #G_PANEL) try to put
75 # the panel in the same layers as the other windows.
76 # Note that it safe to "Build a config for gnome-session" for using with
77 # a normal fvwm session.
79 # CDE: There is an elementary support for CDE (lines which follow #CDE).
81 # Note: for saving its state (the changes you do via settings-->* up to the
82 # first separator) Sample-95 uses some files $FVWM_USERDIR/.start-* (see
83 # section 5), $FVWM_USERDIR/.fvwm-layers (see section 6) and the usual fvwm
84 # config files: .FvwmAnimate, .FvwmForm, ~/.xinitrc-fvwm, .FvwmBaseConfig
86 # There are many comments, but a good reading of the fvwm FAQ, of the man
87 # pages of fvwm and its modules is recommended. Also, you can read the
88 # sample-95 MINI-FAQ that you can find at the end of this file.
90 #!D For the fvwm-workers. These lines will not appear if the Setup95 Script
91 #!D is used to install this file. I hope that the above lines give enough
92 #!D information for editing this file at a devel level. Be sure to take a
93 #!D look to the perl script fvwm-script-setup95.pl and to FvwmScript-Setup95.
94 #!D More information is given here.
95 #!D If you add entries to the menus which contains Exec and exec then
96 #!D fvwm-script-setup95.pl will check if the application run is in
97 #!D the path. Supported format is
98 #!D Exec exec app [options]
99 #!D Exec cd path; /.app [options] (to run path/app in path)
100 #!D Exec exec killall app
101 #!D Exec xterm [options] -e app [option]
102 #!D Moreover, you can use #!E app1:app2:... in the end of a line for
103 #!D commenting this line unless app1 or app2 or ... is in the path.
104 #!D This is currently used in icons styles definitions and for line
105 #!D separator in menu definitions. These ends of line will not appear in the
108 #-----------------------------------------------------------------------------#
112 # 1. Module and Image paths. (In this file)
113 # 2. Root cursor, Windows Decoration and Menus Style. (In decorations)
114 # 3. Set up the Major operating modes. (In globalfeel)
115 # 4. Miscellaneous Major operating mode. (In globalfeel)
116 # 5. Stuff to do at start-up and on restart. (In startup)
117 # 6. Set applications dependent styles. (In styles)
118 # 7. Set applications Mini Icons and Icons. (In iconstyles)
119 # 8. Define some complex functions. (In functions)
120 # 9. Mouse, frame buttons and keyboard bindings. (In bindings)
121 # 10. Define the menus. (In menus)
122 # 11. Definitions used by the modules. (In modules)
123 # 12. MINI-FAQ. (In this file)
125 #-----------------------------------------------------------------------------#
128 #-----------------------------------------------------------------------------#
130 # 1. Module and Image paths
131 # These paths are colon-separated lists, just like regular unix PATH
133 #-----------------------------------------------------------------------------#
135 # ModulePath is builtin, you may add some directories here
136 #ModulePath $HOME/mymodules:+
138 # The default image path is:
139 # /usr/include/X11/bitmap:/usr/include/X11/pixmaps
140 # if the fvwm_icons are not installed in one of these directories or if
141 # you want to add a personal image path uncomment and edit the next line
142 #ImagePath :add_dir_to_fvwm_image_path:+
144 #K_M 1 for KDE Styles and menus
145 #ImagePath +:$KDEDIR/share/icons:$KDEDIR/share/apps/kappfinder/pics/:
146 #G_M_G 1 for FvwmGtk menus
147 #ImagePath +:/usr/share/pixmaps:
148 # Warning: you may have to replace /usr by gnomeinstallpath in the previous
149 # line. gnomeinstallpath may be /usr/local, /opt/gnome, ...
151 #-----------------------------------------------------------------------------#
155 #-----------------------------------------------------------------------------#
158 #-----------------------------------------------------------------------------#
160 # 2. Root cursor, Windows Decoration and Menu Styles:
161 # Default fonts, colors, Border, Title, Button Styles, Menu Styles
162 # window button bindings.
163 # (this section may be the theme part of the config, but you need to use
164 # FvwmTheme to define and propagate the colors)
165 #-----------------------------------------------------------------------------#
167 #------------------------------------------------------------------------------
168 # Set the root cursor
169 #------------------------------------------------------------------------------
171 CursorStyle ROOT left_ptr
172 CursorStyle TITLE left_ptr
173 CursorStyle DEFAULT left_ptr
174 CursorStyle SYS left_ptr
175 CursorStyle MENU left_ptr
177 #------------------------------------------------------------------------------
178 # Fonts - one for window titles, another for icons, and another for the menus
179 #------------------------------------------------------------------------------
182 Style * Font "xft:sans-serif:Medium;-*-times-medium-r-*-*-16-*-*-*-*-*-*-*"
184 #Style * Font "xft:sans-serif:Medium;-*-times-bold-r-*-*-14-*-*-*-*-*-*-*"
187 "xft:monospace:pixelsize=12:Medium;-*-fixed-medium-r-*-*-12-*-*-*-*-*-*-*"
189 #------------------------------------------------------------------------------
190 # Set the default window colors.
191 #------------------------------------------------------------------------------
193 # Text and background color for the title bar (overridden in the WIN case),
194 # and the border of the inactive window (also used by icon title,
195 # and "hilight" and "shadow" colors).
197 Style * ForeColor #c3c3c3, BackColor #c3c3c3
199 #Style * ForeColor #c3c3c3, BackColor grey51
201 # Text and background color for the title bar (overriden in the WIN case),
202 # and the border of the active (selected) window (also used by icon title,
203 # and "hilight" and "shadow" colors).
205 Style * HilightFore white, HilightBack #c3c3c3
207 #Style * HilightFore white, HilightBack SlateBlue
209 #------------------------------------------------------------------------------
210 # Border, Title and Button Styles
211 #------------------------------------------------------------------------------
212 Style * BorderWidth 5, HandleWidth 5
215 Style "*" FvwmBorder # MWMBorder
216 Style "*" FvwmButtons
217 BorderStyle Inactive -- HiddenHandles NoInset
218 BorderStyle Active -- HiddenHandles NoInset
219 TitleStyle ActiveUp (solid Blue4 -- Flat)
220 TitleStyle ActiveDown (solid Blue4 -- Flat)
221 TitleStyle Inactive (solid grey51 -- Flat)
222 TitleStyle LeftJustified
223 ButtonStyle 1 MiniIcon (-- flat)
224 ButtonStyle all -- UseTitleStyle Flat
225 AddButtonStyle 2 Pixmap mini.winXX-close.xpm -- left
226 AddButtonStyle 4 Pixmap mini.winXX-maximize.xpm -- left
227 AddButtonStyle 6 Pixmap mini.winXX-minimize.xpm -- right
230 #Style "*" MWMBorder # FVWMBorder
231 #Style "*" MWMButtons
233 #ButtonStyle all -- UseTitleStyle
234 #ButtonStyle 2 17 20x20@1 30x20@1 50x40@1 70x20@1 80x20@1 80x30@0 60x50@0 80x70@1 80x80@0 70x80@0 50x60@0 30x80@0 20x80@0 20x70@0 40x50@1 20x30@0 20x20@1
235 #ButtonStyle 4 4 50x25@1 75x75@0 25x75@0 50x25@1
236 #ButtonStyle 6 4 50x65@1 35x35@1 65x35@1 50x65@0
237 #ButtonStyle 1 - Clear MWMDecorMenu
238 #ButtonStyle 2 - Clear
239 #ButtonStyle 4 - Clear MWMDecorMax
240 #ButtonStyle 6 - Clear MWMDecorShade
242 #------------------------------------------------------------------------------
243 # The MenuStyle command allows almost full control over menu look and feel.
244 # We use the preconfigured 'Win' or 'Fvwm' default. This resets most other
245 # options and must be set first. We also define a menu called winops for
246 # the windows operations menus and very long one. The menus which use this
247 # style are (and must) be defined in the end of the menus.
248 #------------------------------------------------------------------------------
252 MenuStyle * font "xft:sans-serif:Medium;-*-times-medium-r-*-*-16-*-*-*-*-*-*-*"
253 MenuStyle * Foreground black, Background grey80
254 MenuStyle * ActiveFore white, HilightBack Blue4
257 #MenuStyle * font "xft:sans-serif:Medium;-*-times-bold-r-*-*-14-*-*-*-*-*-*-*"
258 #MenuStyle * Foreground black, Background grey80
259 #MenuStyle * ActiveFore black, HilightBack grey85
260 #MenuStyle * Hilight3DThick
262 MenuStyle * Greyed grey60 # default is invisible on backgroud grey80
263 MenuStyle * VerticalItemSpacing 2 4, VerticalTitleSpacing 2 4
265 CopyMenuStyle * winops
268 MenuStyle winops font "xft:sans-serif:Medium;-*-times-medium-r-*-*-14-*-*-*-*-*-*-*"
270 #MenuStyle winops font "xft:sans-serif:Medium;-*-times-bold-r-*-*-12-*-*-*-*-*-*-*"
271 #MenuStyle winops TitleWarpOff
273 MenuStyle winops VerticalItemSpacing 1 2, VerticalTitleSpacing 1 2
276 #-----------------------------------------------------------------------------#
278 # 3. Set up the major operating modes
280 #-----------------------------------------------------------------------------#
284 # If you use (or ever used) Settings-->Configuration-->Base Config
285 # to configure your major operating modes then all commands in this
286 # section 3 are overridden by the last line of this section (PipeRead).
287 # So, you can comment the last line of this section.
288 # Or, instead, you can remove all the lines of this section but the last one.
290 # If you use Base Config and this section has some application dependent
291 # styles, a suggested solution is to move them to the styles file.
292 # This way Base Config does not destroy your application specific
293 # styles when you use it.
295 #WIN 1 To have more WIN-like behavior
300 HideGeometryWindow Never
303 SnapAttraction 10 SameType Screen
305 #SnapAttraction 0 SameType Screen
310 Style * WindowShadeSteps 20
313 #Style * ResizeOutline
314 #Style * WindowShadeSteps 0
322 # The focus policy. Once you are used to clicking *inside* windows to
323 # raise them you will not want to lose this feature.
326 Style * MouseFocusClickRaises
329 # MinOverlapPlacement places window automatically in a way that attempts to be
330 # place windows 'intelligent'.
332 Style * MinOverlapPlacement
335 # !UsePPosition instructs fvwm to ignore the PPosition field in window
336 # geometry hints. Emacs annoyingly sets PPosition to (0,0)!
339 Style * !UsePPosition
343 # If you ever used Base Config, then the next line overrides this section
344 # with the settings you defined! In this case you may replace the whole
345 # section 3 by one command "Read .FvwmBaseConfig".
346 PipeRead '[ ! -f $FVWM_USERDIR/.FvwmBaseConfig ] || echo Read .FvwmBaseConfig'
348 #----------------------------------------------------------------------------#
350 # 4. Miscellaneous Major operating mode
352 #----------------------------------------------------------------------------#
354 #------------------------------------------------------------------------------
355 # Set the desk top size in units of physical screen size
356 #------------------------------------------------------------------------------
360 #------------------------------------------------------------------------------
361 # Some good things (in general)
362 #------------------------------------------------------------------------------
368 BusyCursor DynamicMenu True, Read True
370 #------------------------------------------------------------------------------
372 #------------------------------------------------------------------------------
374 # You can do a lot of things with transient windows. However, you may
375 # want to set transient style by application (in styles).
378 # If you want to decorate transient windows:
379 #Style * DecorateTransient
380 # In *general* it is not a good idea to be able to lower transient window
381 # under its main window, but why not...
382 #Style * DontRaiseTransient
383 # In my HO the defaults (which are "Motif" compliant) are good.
385 #------------------------------------------------------------------------------
387 #------------------------------------------------------------------------------
390 # fvwm has a command for bogus applications. Here an example with KFM
393 #KFM_ICONS 1 uncomment the next line if you use the KFM "icons"
394 #BugOpts RaiseOverUnmanaged on
396 #PANEL_PUT 1 you may try this for a "stays put" gnome panel
397 #DefaultLayers 6 8 10
400 #-----------------------------------------------------------------------------#
402 # 5. Stuff to do at start-up and on restart
404 #-----------------------------------------------------------------------------#
406 # Defines the background
407 Read .start-Background
408 # This file defines which applications manager we start: TaskBarGlobal,
409 # TaskBarDesk, IconBoxGlobal, IconBoxDesk, ...etc.
411 # This one decides which big buttons we start BarButtons, Wharf or None
412 Read .start-FvwmButtons
413 # This one decides if we start the DeskerPanel
414 Read .start-DeskerPanelButtons
415 # This one decides if we start MiniButtons
416 Read .start-MiniButtons
417 # This one decides if we start WinMakerAppButtons
418 Read .start-WinMakerAppButtons
419 # This file decides if we start FvwmAnimate or not
420 Read .start-FvwmAnimate
421 # This one decides if we start FvwmAuto
423 # This one decides if we start FvwmBanner
424 Read .start-FvwmBanner
425 # Sounds effect (FvwmEvent)
426 Read .start-FvwmEvent
428 # The StartFunction is used at start and restart with or without a Session
429 # Manager. The above file .start-* defines this function. If
430 # we want Gtk menus and dialog (defined in the modules section) we start
433 AddToFunc StartFunction
437 # The InitFunction is used at fvwm start
439 AddToFunc InitFunction
440 # Load the X Setup Scripts setting if we use it
441 + I Exec [ -f $HOME/.xinitrc-fvwm ] && sh $HOME/.xinitrc-fvwm
442 #+ I Exec exec xsetroot -solid \#7F4B7F
444 # The restart function:
446 AddToFunc RestartFunction
447 #+ I Module FvwmButtons MyButtons
450 # When used with a session manager fvwm uses SessionInitFunction and
451 # SessionRestartFunction in the place of InitFunction and RestartFunction
454 AddToFunc SessionInitFunction
455 # Do not Load the X Setup Scripts setting, some Session Managers have its own
456 # method (e.g., GNOME)
457 #+ I Exec [ -f $HOME/.xinitrc-fvwm ] && sh $HOME/.xinitrc-fvwm
458 #+ I Module FvwmButtons MyButtons
460 AddToFunc SessionRestartFunction
461 #+ I Module FvwmButtons MyButtons
464 #-----------------------------------------------------------------------------#
466 # 6. Set application dependent styles
468 # Order is important!
469 # If compatible styles are set for a single window in multiple Style
470 # commands, then the styles are ORed together. If conflicting styles
471 # are set, the last one specified is used.
473 #-----------------------------------------------------------------------------#
475 Style *lock !Title, !Handles, Sticky, WindowListSkip
476 Style xeyes !Title, Sticky
477 Style *biff* !Title, Sticky, WindowListSkip
478 Style xsysinfo !Title, Sticky, WindowListSkip
479 Style xload !Title, Sticky, WindowListSkip
480 Style xconsole Sticky, StartIconic
481 Style xpostit WindowListSkip
482 Style PostitNote WindowListSkip
483 Style Postit !Handles, WindowListSkip
484 # gnome panel & icons
485 Style panel Sticky, !Title, WindowListSkip, CirculateSkip
486 Style desktop_icon CirculateSkip, WindowListSkip, !Title
487 # Animation is broken in gnome panel 1.4 with GNOMEUseHints.
488 # GNOMEIgnoreHints also disables panel moving itself from layer to layer.
489 Style panel GNOMEIgnoreHints
491 Style xsm Sticky, !Title, WindowListSkip, CirculateSkip
493 Style FvwmForm-QuitVerify !Button 1, !Button 2, !Button 4, !Button 6, \
494 StaysOnTop, NoHandles, WindowListSkip
496 # Some version of Netscape need the following if you want that the
497 # page source (and others horrible banner) to be decorated (but you may
498 # lost some MWM decor hints)
499 #Style Netscape NoDecorHint
501 # I do not like that the "find in page" of netscape cannot be lowered.
502 # Uncomment the next line if your are agree.
503 #Style Netscape DontRaiseTransient
505 #DT 1 for the CDE "desk icon"
506 #Style popup_* CirculateSkip, WindowListSkip
508 # Read the layers settings (stays OnTop, Put or OnBottom)
512 #-----------------------------------------------------------------------------#
514 # 7. Set applications Mini Icons and Icons
516 #-----------------------------------------------------------------------------#
518 # Note: Most applications provide an icon.
520 Style * IconBox 10 -80 -0 -0, IconGrid 64 64, IconFill left bottom, \
521 IconBox 10 +300 -150 -80, IconGrid 64 64, IconFill bottom left
522 Style * SlipperyIcon, IconTitle
526 Style * MiniIcon mini.doc.xpm, Icon page.xpm
529 Style *term* MiniIcon mini.term.xpm, Icon rterm2.xpm
530 Style rxvt MiniIcon mini.term.xpm, Icon rterm2.xpm #!E rxvt
533 Style xcalc MiniIcon mini.calc.xpm, Icon rcalc2.xpm
534 Style xconsole MiniIcon mini.term.xpm, Icon rtrem2.xpm
535 Style xmag MiniIcon mini.zoom.xpm, Icon mag_glass.xpm
536 Style xfontsel MiniIcon mini.font.xpm, Icon toolbox.xpm
537 Style xgrab MiniIcon mini.camera.xpm
538 Style *clock* MiniIcon mini.clock.xpm
539 Style ddd MiniIcon mini.bug2.xpm #!E ddd
540 Style xgdb MiniIcon mini.bug2.xpm #!E xgdb
541 Style XClipboard MiniIcon mini.clipboard.xpm, Icon toolbox.xpm
542 Style *color* MiniIcon mini.colors.xpm, Icon resize
545 Style lyx MiniIcon mini.edit.xpm #!E lyx
546 Style thot MiniIcon mini.edit.xpm #!E thot
547 Style ghostview MiniIcon mini.gv.xpm #!E ghostview
548 Style gv MiniIcon mini.gv.xpm #!E gv
549 Style xdvi MiniIcon mini.zoom.xpm #!E xdvi
550 Style acroread MiniIcon mini.pdf.xpm #!E acroread
551 Style xpdf MiniIcon mini.pdf.xpm #!E xpdf
552 Style plan MiniIcon mini.calandar.xpm #!E plan
555 Style GNUplot MiniIcon mini.graph.xpm, Icon graphs.xpm #!E gnuplot
556 Style *maple MiniIcon mini.zoom.xpm #!E xmpale
557 Style Scilab MiniIcon mini.graph2.xpm #!E scilab
558 Style Xaos MiniIcon mini.fractal.xpm #!E xaos
559 Style fractint MiniIcon mini.fractal.xpm #!E xfractint
560 Style xephem MiniIcon mini.exp.xpm #!E xephem
561 Style XTide MiniIcon mini.exp.xpm #!E xtide
562 Style THX-1138 MiniIcon mini.calc.xpm #!E thx-1138
565 Style Top MiniIcon mini.run.xpm, Icon toolbox.xpm
566 Style tkps MiniIcon mini.hex.xpm, Icon toolbox.xpm #!E tkps
567 Style xosview MiniIcon mini.run.xpm, Icon toolbox.xpm #!E xosview
568 Style xload MiniIcon mini.perf.xpm, Icon toolbox.xpm
569 Style xmem MiniIcon mini.perf.xpm, Icon toolbox.xpm #!E xmem
570 Style XSysStats MiniIcon mini.run.xpm #!E XSysStats
572 Style xfm MiniIcon mini.filemgr.xpm, Icon Xfm.xpm #!E xfm
573 Style fr MiniIcon mini.filemgr.xpm, Icon Xfm.xpm #!E fr
574 Style Midnight-Commander MiniIcon mini.filemgr.xpm, Icon Xfm.xpm #!E mc
577 Style emacs MiniIcon mini.edit.xpm, Icon lemacs.xpm #!E emacs:xemacs
578 Style VIM MiniIcon mini.edit.xpm, Icon lemacs.xpm #!E gvim
579 Style *edit MiniIcon mini.edit.xpm, Icon lemacs.xpm
580 Style dtpad MiniIcon mini.edit.xpm, Icon lemacs.xpm #!E /usr/dt/bin/dtpad
583 Style *ppp* MiniIcon mini.connect.xpm, Icon Mosaic.xpm
584 Style Hifs MiniIcon mini.connect.xpm, Icon Mosaic.xpm #!E hifs
588 Style Netscape MiniIcon mini.nscape.xpm
589 Style Navigator MiniIcon mini.nscape.xpm
590 Style MailFolder MiniIcon mini.dirlink.xpm
591 Style MailThread MiniIcon mini.mail.xpm
592 Style Composition MiniIcon mini.letter.xpm
593 Style Composer MiniIcon mini.editor.xpm
594 Style *Download* MiniIcon mini.ftp.xpm
596 Style amaya MiniIcon mini.nscape.xpm #!E amaya
597 Style Mozilla MiniIcon mini.nscape.xpm #!E mozilla
598 Style lynx MiniIcon mini.cat.xpm, Icon Mosaic.xpm #!E lynx
599 Style xmh MiniIcon mini.mail.xpm, Icon Mail2.xpm #!E xmh
600 Style Mail MiniIcon mini.mail.xpm, Icon Mail2.xpm #!E mail
601 Style *mail* MiniIcon mini.mail.xpm, Icon Mail2.xpm
602 Style Pine MiniIcon mini.mail.xpm, Icon Mail2.xpm #!E pine
603 Style Mutt MiniIcon mini.mail.xpm, Icon Mail2.xpm #!E mutt
604 Style NcFtp MiniIcon mini.ftp.xpm, Icon Mosaic.xpm #!E ncftp
605 Style *ftp* MiniIcon mini.ftp.xpm, Icon Mosaic.xpm
606 Style "X-Chat*" MiniIcon mini.doc1.xpm, Icon page.xpm #!E xchat
607 Style Irc MiniIcon mini.doc1.xpm #!E irc
608 Style tkirc MiniIcon mini.doc1.xpm #!E tkirc
609 Style Licq MiniIcon mini.doc1.xpm #!E licq
611 Style zircon MiniIcon mini.zircon.xpm #! zircon
612 Style xgopher MiniIcon mini.gopher.xpm #!E xgopher
615 Style xv MiniIcon mini.xv.xpm #!E xv
616 Style "The GIMP" MiniIcon mini.gimp.xpm, Icon gimp.xpm #!E gimp
617 Style "Gimp" MiniIcon mini.gimp.xpm, Icon gimp.xpm #!E gimp
618 Style xfig MiniIcon mini.xfig.xpm #!E xfig
619 Style xfpovary MiniIcon mini.ray.xpm #!E xfpovary
620 # xpaint resource names
621 Style xpaint MiniIcon mini.palette.xpm
622 Style Canvas MiniIcon mini.palette.xpm
623 Style fatbits MiniIcon mini.palette.xpm
624 Style filebrowser MiniIcon mini.ofolder.xpm
626 Style XbmBrowser MiniIcon mini.directory.xpm #!E xbmbrowser
627 Style ee MiniIcon mini.palette.xpm #!E ee
630 Style *mixer MiniIcon mini.audiovol.xpm
631 Style *playcd* MiniIcon mini.cdlabel.xpm
632 Style *cdplay* MiniIcon mini.cdlabel.xpm
633 Style xltwavplay MiniIcon mini.sound.xpm #!E xltwavplay
634 Style MiXViews MiniIcon mini.audiovol.xpm #!E mxv
635 Style freeamp MiniIcon mini.audiovol.xpm #!E freeamp
636 Style XAnim MiniIcon mini.display.xpm #!E xanim
637 # Games and amusement
638 Style *maze MiniIcon mini.maze.xpm
639 Style xboard MiniIcon mini.slon.xpm #!E xboard
640 Style XGammon MiniIcon mini.go.xpm #!E xgammon
641 Style xsokoban MiniIcon mini.go.xpm #!E xsokoban
642 Style xlander MiniIcon mini.xlander.xpm #!E xlander
643 Style xmahjongg MiniIcon mini.xmahjongg.xpm #!E xmahjongg
644 Style xjewel MiniIcon mini.xjewel.xpm #!E xjewel
645 Style hextris MiniIcon mini.hextris.xpm #!E hextris
646 Style *tetris* MiniIcon mini.tetris.xpm
647 Style kpat2 MiniIcon mini.heart.xpm #!E kpat2
648 Style xeyes MiniIcon mini.eyes.xpm
649 Style xcat MiniIcon mini.cat.xpm #!E xcat
650 Style Quake* MiniIcon mini.destroy.xpm, Icon doomface.xpm
651 Style Koules MiniIcon mini.happy.xpm
652 Style xroach MiniIcon mini.roach.xpm
653 Style xlogo MiniIcon mini.x2.xpm
655 # Modules, Form and script
656 Style Fvwm* MiniIcon -
657 Style FvwmScript* MiniIcon mini.fvwm.xpm
658 Style FvwmForm* MiniIcon mini.fvwm.xpm
659 Style FvwmIdent MiniIcon mini.question.xpm, Icon question.xpm
660 Style FvwmConsole MiniIcon mini.xterm.xpm, Icon wterm.xpm
661 Style FvwmScript-BellSetup MiniIcon mini.audiovol.xpm, Icon bell.xpm
662 Style FvwmScript-KeyboardSetup MiniIcon mini.keyboard.xpm,Icon keyboard.xpm
663 Style FvwmScript-ScreenSetup MiniIcon mini.monitor.xpm, Icon screen.xpm
664 Style FvwmScript-PointerSetup MiniIcon mini.mouse.xpm, Icon pointer.xpm
665 Style FvwmScript-BaseConfig MiniIcon mini.fvwm.xpm, Icon settings.xpm
666 Style FvwmScript-Find MiniIcon mini.zoom.xpm, Icon find1.xpm
667 Style FvwmScript-Quit MiniIcon mini.question.xpm
668 Style FvwmScript-Colorset MiniIcon mini.colors.xpm, Icon settings.xpm
669 Style FvwmScript-ScreenDump MiniIcon mini.camera.xpm, Icon resize.xpm
670 Style FvwmScript-Setup95 MiniIcon mini.fvwm.xpm, Icon settings.xpm
671 Style FvwmScript-Date MiniIcon mini.clock.xpm, Icon date.xpm
672 Style FvwmForm-QuitVerify MiniIcon mini.question.xpm
673 Style FvwmForm-Rlogin MiniIcon mini.connect.xpm, Icon Mosaic.xpm
674 Style FvwmForm-Capture MiniIcon mini.camera.xpm, Icon resize.xpm
675 Style FvwmForm-Talk MiniIcon mini.telnet.xpm, Icon rterm.xpm
676 Style FvwmForm-RootCursor MiniIcon mini.xarchie.xpm, Icon settings.xpm
677 Style FvwmForm-Form MiniIcon mini.fvwm.xpm, Icon settings.xpm
678 Style FvwmForm-Setup MiniIcon mini.fvwm.xpm, Icon settings.xpm
679 Style FormFvwmAnimate MiniIcon mini.iconify.xpm, Icon settings.xpm
680 Style xmessage MiniIcon mini.question.xpm, Icon settings.xpm
681 Style WinMakerAppButtons* !Icon
684 Style man MiniIcon mini.book1.xpm, Icon help.xpm
685 # xman resource names
686 Style topBox MiniIcon mini.book1.xpm, Icon help.xpm
687 Style help MiniIcon mini.book2.xpm, Icon help.xpm
688 Style manualBrowser MiniIcon mini.book2.xpm, Icon help.xpm
689 Style *FAQ* MiniIcon mini.question.xpm, Icon help.xpm
691 Style IDL* MiniIcon mini.zoom.xpm
692 Style XDbx MiniIcon mini.bug2.xpm
693 Style control-panel MiniIcon mini.eye.xpm #!E control-panel
694 Style xvidtune MiniIcon mini.x2.xpm
696 # To get the kde mini-icon styles build the system menu (i.e., uncomment
697 # the lines that follow K_SM)
699 #G_ST 51 some icons, an alternative is to use fvwm2gnome and fvwm-menu-desktop
700 #Style "gcolorsel" MiniIcon mini.colors.xpm, Icon resize.xpm
701 #Style "gcalc" MiniIcon mini.calc.xpm, Icon rcalc2.xpm
702 #Style "gdiskfree" MiniIcon mini.fdisk.xpm
703 #Style "gEdit" MiniIcon mini.edit.xpm, Icon lemacs.xpm
704 #Style "gedit" MiniIcon mini.edit.xpm, Icon lemacs.xpm
705 #Style "gfontsel" MiniIcon mini.font.xpm
706 #Style "ghex" MiniIcon mini.hex.xpm, Icon page.xpm
707 #Style "gless" MiniIcon mini.file.xpm Icon page.xpm
708 #Style "gmix" MiniIcon mini.sound.xpm
709 #Style "gmailman" MiniIcon mini.mail.xpm, Icon mail2.xpm
710 #Style "gmc" MiniIcon mini.filemgr.xpm, Icon Xfm.xpm
711 #Style "gmenu" MiniIcon mini.doc1.xpm, Icon dialog_box.xpm
712 #Style "gnome-help-browser" MiniIcon mini.book3.xpm, Icon help.xpm
713 #Style "GnomeHelpBrowser" MiniIcon mini.book3.xpm, Icon help.xpm
714 #Style "gnome-ppp" MiniIcon mini.connect.xpm, Icon Mosaic.xpm
715 #Style "gnome-run" MiniIcon mini.hammer.xpm, Icon run.xpm
716 #Style "gnome-sync" MiniIcon mini.folder.xpm, Icon folder.xpm
717 #Style "gnomecal" MiniIcon norm.calendar.xpm, Icon mini/clock.xpm
718 #Style "gnomecard" MiniIcon mini.doc1.xpm, Icon page2.xpm
719 #Style "gnomecc" MiniIcon mini.hammer.xpm, Icon mini/home.xpm
720 #Style "GnomeTerminal" MiniIcon mini.term.xpm, Icon rterm2.xpm
721 #Style "gnp" MiniIcon mini.doc1.xpm, Icon page2.xpm
722 #Style "gnp+" MiniIcon mini.doc1.xpm, Icon page2.xpm
723 #Style "gnumeric" MiniIcon mini.calc2.xpm Icon rcalc2.xpm
724 #Style "GQview" MiniIcon mini.palette.xpm Icon xpaint.xpm
725 #Style "gsearchtool" MiniIcon mini.zoom.xpm, Icon find1.xpm
726 #Style "gstripchart" MiniIcon mini.graph2.xpm
727 #Style "gtalk" MiniIcon mini.zircon.xpm
728 #Style "gtcd" MiniIcon mini.cdlabel.xpm
729 #Style "gtk-shell" MiniIcon mini.doc1.xpm, Icon page.xpm
730 #Style "gtop" MiniIcon mini.run.xpm, Icon toolbox.xpm
731 #Style "gtt" MiniIcon mini.clock.xpm, Icon toolbox.xpm
732 #Style "guname" MiniIcon mini.question.xpm Icon page2.xpm
733 #Style "gw" MiniIcon mini.run.xpm, Icon page2.xpm
734 #Style "gxedit" MiniIcon mini.edit.xpm, Icon lemacs.xpm
735 #Style "vumeter" MiniIcon mini.sound.xpm
736 #Style "freecell" MiniIcon mini.heart.xpm
737 #Style "gnibbles" MiniIcon mini.happy.xpm
738 #Style "gnobots" MiniIcon mini.happy.xpm
739 #Style "gnobots2" MiniIcon mini.happy.xpm
740 #Style "gnome-stones" MiniIcon mini.happy.xpm
741 #Style "gnomine" MiniIcon mini.happy.xpm
742 #Style "gtali" MiniIcon mini.happy.xpm
743 #Style "gturing" MiniIcon mini.happy.xpm
744 #Style "iagno" MiniIcon mini.happy.xpm
745 #Style "mahjongg" MiniIcon mini.happy.xpm
746 #Style "same-gnome" MiniIcon mini.happy.xpm
747 #Style "sol" MiniIcon mini.heart.xpm
748 #Style "gtkballs" MiniIcon mini.happy.xpm
749 #Style "gfpoken" MiniIcon mini.happy.xpm
750 #Style "Imlib*" MiniIcon mini.hammer.xpm
753 #Style Dtfile MiniIcon mini.filemgr.xpm
754 #Style Dtpad MiniIcon mini.edit.xpm
755 #Style Dthelp* MiniIcon mini.book1.xpm
756 #Style Dtcm* MiniIcon mini.calendar.xpm
757 #Style Dtcalc MiniIcon mini.calc.xpm
758 #Style Dticon* MiniIcon mini.palette.xpm
759 #Style Dtprint* MiniIcon mini.fax.xpm
760 #Style Dtstyle* MiniIcon mini.desktop.xpm
761 #Style "Applications Manager" MiniIcon mini.programs.xpm
762 #Style "Trash Can" MiniIcon mini.paper.xpm
765 #----------------------------------------------------------------------------#
767 # 8. Now define some handy complex functions
769 #----------------------------------------------------------------------------#
771 #------------------------------------------------------------------------------
772 # This one moves and then raises the window if you drag the mouse,
773 # only raises the window if you click, or does a vertical maximize if
774 # you double click (full screen maximize would be 'Maximize 100 100')
775 #------------------------------------------------------------------------------
777 DestroyFunc Move-or-Raise
778 AddToFunc Move-or-Raise M Move
784 #------------------------------------------------------------------------------
785 # As above but double click shade
786 #------------------------------------------------------------------------------
788 DestroyFunc Move-or-Raise-or-Shade
789 AddToFunc Move-or-Raise-or-Shade M Move
794 #------------------------------------------------------------------------------
795 # This one moves and then lowers the window if you drag the mouse,
796 # only lowers the window if you click, or does a RaiseLower if you double
798 #------------------------------------------------------------------------------
800 DestroyFunc Move-or-Lower
801 AddToFunc Move-or-Lower M Move
807 #------------------------------------------------------------------------------
808 # This one moves or (de)iconifies:
809 #------------------------------------------------------------------------------
811 DestroyFunc Move-or-Iconify-or-Raise
812 AddToFunc Move-or-Iconify-or-Raise M Move
816 #------------------------------------------------------------------------------
817 # This one maximizes vertically if you click (leaving room for the taskbar
818 # at the bottom, or does a full maximization if you double click, or a
819 # true full vertical maximization if you just hold the mouse button down.
820 #------------------------------------------------------------------------------
822 DestroyFunc Maximize-Func
823 AddToFunc Maximize-Func M Maximize 0 98
827 #------------------------------------------------------------------------------
828 # This one resizes and then raises the window if you drag the mouse,
829 # only raises the window if you click, or does shade if you double
831 #------------------------------------------------------------------------------
833 DestroyFunc Resize-or-Raise-or-Shade
834 AddToFunc Resize-or-Raise-or-Shade M Resize
840 #------------------------------------------------------------------------------
841 # This one focuses and then 'warps' to the window.
842 #------------------------------------------------------------------------------
845 DestroyFunc FocusAndWarp
846 AddToFunc FocusAndWarp I Focus
850 #------------------------------------------------------------------------------
851 # Like the previous one, but de-iconifies first.
852 #------------------------------------------------------------------------------
854 DestroyFunc DeiconifyFocusAndWarp
855 AddToFunc DeiconifyFocusAndWarp I Iconify off
858 #------------------------------------------------------------------------------
859 # Like the previous one, but only Raise.
860 #------------------------------------------------------------------------------
862 DestroyFunc DeiconifyFocusAndRaise
863 AddToFunc DeiconifyFocusAndRaise I Iconify off
867 #------------------------------------------------------------------------------
868 # This one is used to modify some style for a window (almost obsolet)
869 #------------------------------------------------------------------------------
871 DestroyFunc StyleAndRecapture
872 AddToFunc StyleAndRecapture I Style "$0" $1
873 + I All ("$0") RecaptureWindow
876 #------------------------------------------------------------------------------
877 # A really useful one: de-iconifies, warps to the window
878 # or creates it if it doen't exist (often used with mailtools)
879 #------------------------------------------------------------------------------
881 DestroyFunc WarpOrExec
882 AddToFunc WarpOrExec I Next (AcceptsFocus $0) Iconify -1
883 + I Next (AcceptsFocus $0) FocusAndWarp
884 + I None (AcceptsFocus $0) Exec $0 $1
886 #------------------------------------------------------------------------------
887 # For the left button
888 #------------------------------------------------------------------------------
890 DestroyMenu "window_ops_func"
891 AddToFunc "window_ops_func" "C" PopUp Window-Ops2
892 + "M" PopUp Window-Ops2
895 #------------------------------------------------------------------------------
896 # Functions to restart Modules and Restart/Kill FvwmButtons by aliases
897 #------------------------------------------------------------------------------
899 DestroyFunc RestartModule
900 AddToFunc RestartModule
904 DestroyFunc RestartModuleByAlias
905 AddToFunc RestartModuleByAlias
910 # This function is for WMakerFvwmButtons (start or iconify id started)
911 DestroyFunc MyPanelButtons
912 AddToFunc MyPanelButtons
914 + I None (CirculateHit $0) FvwmButtons -g +$1+$2 $0
916 #------------------------------------------------------------------------------
917 # Functions for FvwmScript-BaseConfig
918 #------------------------------------------------------------------------------
920 DestroyFunc BaseConfigOkFunc
921 AddToFunc BaseConfigOkFunc I Read styles
923 DestroyFunc BaseConfigApplyFunc
924 AddToFunc BaseConfigApplyFunc I Read styles
927 #------------------------------------------------------------------------------
928 # Functions which start and save state for FvwmAnimate, FvwmEvent, etc ...
929 # $1 $2 is used only by FvwmAuto
930 #------------------------------------------------------------------------------
936 + I Exec echo "AddToFunc StartFunction I $0 $1 $2" > $FVWM_USERDIR/.start-$0
938 DestroyFunc ModuleOff
941 + I Exec echo "# Do not start $0" > $FVWM_USERDIR/.start-$0
943 #------------------------------------------------------------------------------
944 # Functions which start and save state for MiniButtons and WinMakerAppButtons
945 #------------------------------------------------------------------------------
947 DestroyFunc ButtonsOn
951 + I Exec echo "AddToFunc StartFunction I $0 $1" > $FVWM_USERDIR/.start-$1
953 DestroyFunc ButtonsOff
956 + I Exec echo "# Do not start $0" > $FVWM_USERDIR/.start-$0
958 #------------------------------------------------------------------------------
959 # Functions for choosing the "Big" buttons Wharf or BarButtons
960 #------------------------------------------------------------------------------
962 DestroyFunc ChangeButtonsOn
963 AddToFunc ChangeButtonsOn
964 + I All (BarButtons) Close
965 + I KillModule FvwmWharf
966 + I Exec echo "AddToFunc StartFunction I $0" > $FVWM_USERDIR/.start-FvwmButtons
969 DestroyFunc ChangeButtonsOff
970 AddToFunc ChangeButtonsOff
971 + I All (BarButtons) Close
972 + I KillModule FvwmWharf
973 + I Exec echo "# No Buttons Bar" > $FVWM_USERDIR/.start-FvwmButtons
976 #------------------------------------------------------------------------------
977 # Functions for Raising modules only
978 #------------------------------------------------------------------------------
980 DestroyFunc StartModulesAutoRaise
981 AddToFunc StartModulesAutoRaise
982 + I Style FvwmDesker Lenience
983 + I FvwmAuto 400 Silent ModulesAutoRaise
984 + I Exec echo "AddToFunc StartFunction I StartModulesAutoRaise" > $FVWM_USERDIR/.start-FvwmAuto
986 DestroyFunc ModulesAutoRaise
987 AddToFunc ModulesAutoRaise
988 + I Current (FvwmButtons) Raise
989 + I Current (FvwmTaskBar) Raise
990 + I Current (FvwmIconBox) Raise
991 + I Current (FvwmDesker) Raise
992 + I Current (FvwmIconMan) Raise
993 + I Current (FvwmWinList) Raise
994 + I Current (FvwmWharf) Raise
995 + I Current (panel) Raise
997 #------------------------------------------------------------------------------
998 # Functions which start and save a background
999 #------------------------------------------------------------------------------
1001 DestroyFunc SetBackground
1002 AddToFunc SetBackground
1003 + I KillModule FvwmBacker
1005 + I Exec echo "AddToFunc StartFunction I $0" > $FVWM_USERDIR/.start-Background
1007 DestroyFunc SetBackgroundOff
1008 AddToFunc SetBackgroundOff
1009 + I KillModule FvwmBacker
1010 + I Exec echo "# Background disabled" > $FVWM_USERDIR/.start-Background
1012 #------------------------------------------------------------------------------
1013 # Functions which start and defines which applications manager we use
1014 #------------------------------------------------------------------------------
1016 DestroyFunc ChangeAppsMan
1017 AddToFunc ChangeAppsMan
1018 + I KillModule FvwmTaskBar
1019 + I KillModule FvwmWinList
1020 + I KillModule FvwmIconMan
1021 + I KillModule FvwmIconBox
1022 + I Exec echo "AddToFunc StartFunction I $0" > $FVWM_USERDIR/.start-apps-man
1025 DestroyFunc AppsManNone
1026 AddToFunc AppsManNone
1028 + I KillModule FvwmTaskBar
1029 + I KillModule FvwmWinList
1030 + I KillModule FvwmIconMan
1031 + I KillModule FvwmIconBox
1032 + I Exec echo "AddToFunc StartFunction I Style * !Icon # No applications Manager" > $FVWM_USERDIR/.start-apps-man
1034 DestroyFunc UseIcons
1038 # Need to reaload menus for KDE mini-icons styles
1040 + I KillModule FvwmTaskBar
1041 + I KillModule FvwmWinList
1042 + I KillModule FvwmIconMan
1043 + I KillModule FvwmIconBox
1044 + I Exec echo "# Use Icons" > $FVWM_USERDIR/.start-apps-man
1046 DestroyFunc WinListDesk
1047 AddToFunc WinListDesk
1049 + I *FvwmWinList: ShowCurrentDesk
1050 + I Module FvwmWinList
1052 DestroyFunc WinListGlobal
1053 AddToFunc WinListGlobal
1055 + I DestroyModuleConfig FvwmWinList: ShowCurrent*
1056 + I Module FvwmWinList
1058 DestroyFunc TaskBarDesk
1059 AddToFunc TaskBarDesk
1061 + I DestroyModuleConfig FvwmTaskBar: AutoHid*
1062 + I *FvwmTaskBar: DeskOnly
1063 + I Module FvwmTaskBar
1065 DestroyFunc TaskBarGlobal
1066 AddToFunc TaskBarGlobal
1068 + I DestroyModuleConfig FvwmTaskBar: AutoHid*
1069 + I DestroyModuleConfig FvwmTaskBar: Desk*
1070 + I Module FvwmTaskBar
1072 DestroyFunc TaskBarDeskAutoHide
1073 AddToFunc TaskBarDeskAutoHide
1075 + I *FvwmTaskBar: DeskOnly
1076 + I *FvwmTaskBar: AutoHide
1077 + I Module FvwmTaskBar
1079 DestroyFunc TaskBarGlobalAutoHide
1080 AddToFunc TaskBarGlobalAutoHide
1082 + I DestroyModuleConfig FvwmTaskBar: Desk*
1083 + I *FvwmTaskBar: AutoHide
1084 + I Module FvwmTaskBar
1086 DestroyFunc IconManGlobal
1087 AddToFunc IconManGlobal
1089 + I *FvwmIconMan: Resolution global
1090 + I Module FvwmIconMan
1092 DestroyFunc IconManDesk
1093 AddToFunc IconManDesk
1095 + I *FvwmIconMan: Resolution desk
1096 + I Module FvwmIconMan
1098 DestroyFunc IconManPage
1099 AddToFunc IconManPage
1101 + I *FvwmIconMan: Resolution page
1102 + I Module FvwmIconMan
1104 DestroyFunc IconBoxDesk
1105 AddToFunc IconBoxDesk
1107 + I *FvwmIconBox: ResolutionDesk
1108 + I Module FvwmIconBox
1110 DestroyFunc IconBoxGlobal
1111 AddToFunc IconBoxGlobal
1113 + I DestroyModuleConfig FvwmIconBox: Reso*
1114 + I Module FvwmIconBox
1116 #------------------------------------------------------------------------------
1117 # Functions for Layers
1118 #------------------------------------------------------------------------------
1120 DestroyFunc SetLayers
1122 + I StyleAndRecapture $n $0
1123 + 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
1125 DestroyFunc DestroyLayers
1126 AddToFunc DestroyLayers
1127 + I StyleAndRecapture $n StaysPut
1128 + I Exec F=$FVWM_USERDIR; Z=$F/.fvwm-layers; T=$F/.tmp-layers; sed -e "/^Style\ $n\ .*/d" $Z>$T; cat $T>$Z
1130 #------------------------------------------------------------------------------
1131 # Function for reloading the icons styles
1132 #------------------------------------------------------------------------------
1134 DestroyFunc ReloadIconStylesAndMenus
1135 AddToFunc ReloadIconStylesAndMenus
1138 # Need to reload the NoIcon style
1139 + I PipeRead 'if grep -qe AddToFunc $FVWM_USERDIR/.start-apps-man; then echo "Style * !Icon"; fi'
1141 #------------------------------------------------------------------------------
1142 # Functions for Loading/Saving/Showing Settings
1143 #------------------------------------------------------------------------------
1145 DestroyFunc SaveAsSettings
1146 AddToFunc SaveAsSettings
1147 + 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;
1149 DestroyFunc LoadSettings
1150 AddToFunc LoadSettings
1151 + 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;
1152 + I Exec [ ! -f ~/.xinitrc-fvwm-$0 ] || (xscreensaver-command -exit; ~/.xinitrc-fvwm-$0)
1153 + I PipeRead '[ ! -f $FVWM_USERDIR/.FvwmBaseConfig ] || (echo Read .FvwmBaseConfig; echo BaseConfigOkFunc)'
1154 + I Style * StaysPut
1155 + I Read .fvwm-layers-$0
1156 + I KillModule FvwmAnimate
1157 + I KillModule FvwmAuto
1158 + I KillModule FvwmEvent
1159 + I KillModule FvwmButtons
1160 + I KillModule FvwmWharf
1161 + I KillModule FvwmTaskBar
1162 + I KillModule FvwmWinList
1163 + I KillModule FvwmIconMan
1164 + I KillModule FvwmIconBox
1165 + 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'
1167 DestroyFunc ShowFvwmSettings
1168 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
1170 DestroyFunc ShowXSettings
1171 AddToFunc ShowXSettings \
1172 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
1175 DestroyFunc ShowLayers
1176 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
1179 #-----------------------------------------------------------------------------#
1181 # 9. Mouse, frame buttons and keyboard bindings
1183 #-----------------------------------------------------------------------------#
1186 #------------------------------------------------------------------------------
1187 # First, for the mouse in the root window (Context=R)
1188 # Button 1 gives the Utilities menu
1189 # Button 2 gives the Window Ops menu
1190 # Button 3 gives the WindowList (like TwmWindows)
1191 # I use the AnyModifier (A) option for the modifier field, so you can hold down
1192 # any Shift-Ctrl-whatever combination you want!
1193 # Moreover on a window the same bindings are defined with the Alt modifier
1194 #------------------------------------------------------------------------------
1197 # Button Context Modifi Function
1199 Mouse 1 R A Menu Utilities mouse -1p -1p
1200 Mouse 2 R A Menu Window mouse -1p -1p
1201 Mouse 3 R A WindowList mouse -1p -1p
1202 Mouse 3 R C WindowList mouse -1p -1p OnlyListSkip
1204 Mouse 1 W M Menu Utilities mouse -1p -1p
1205 Mouse 2 W M Menu Window mouse -1p -1p
1206 Mouse 3 W M WindowList mouse -1p -1p
1207 Mouse 3 W CM WindowList mouse -1p -1p OnlyListSkip
1210 #G_SESSION 3 bind Shift Mouse * to gnomebutton
1211 #Mouse 1 R S GnomeButton
1212 #Mouse 2 R S GnomeButton
1213 #Mouse 3 R S GnomeButton
1215 #------------------------------------------------------------------------------
1216 # Now the rest of the frame
1217 # Here I invoke my complex functions for Move-or-lower, Move-or-Raise-Shade,
1218 # and Resize-or-Raise.
1219 #------------------------------------------------------------------------------
1221 # Button 1 in the corners or sides, with any modifiers, gives resize or raise
1222 Mouse 1 FS A Function "Resize-or-Raise-or-Shade"
1224 # Button 1 in the title, sides, w/ any modifiers, gives move or raise or shade
1225 Mouse 1 T A Function "Move-or-Raise-or-Shade"
1226 Mouse 1 FS C Function "Move-or-Raise-or-Shade"
1228 # Button 1 in an icons gives move for a drag, de-iconify for a double-click,
1229 # raiselower for a single click
1230 Mouse 1 I A Function "Move-or-Iconify-or-Raise"
1231 # Alt Button 1 on an icons raise all icons
1232 Mouse 1 I M All (CurrentPage Iconic) Raise
1234 # Button 2 in an icon, w/ any modifiers, gives de-iconify
1237 # Button 2 in the corners, sides, or title-bar gives the window ops menu
1238 Mouse 2 FST A Menu Window-Ops2
1240 # Button 3 anywhere in the decoration (except the title-bar buttons)
1241 # does a raise-lower
1242 Mouse 3 TSF A RaiseLower
1244 # Button 3 on a icon:
1245 Mouse 3 I A Menu Window-Ops3 c+0 -101m
1247 # Button 3 in the window, with the Modifier-1 key (usually alt or diamond)
1248 # gives Raise-Lower. Used to use control here, but that interferes with xterm
1249 Mouse 3 W SM RaiseLower
1252 #-----------------------------------------------------------------------------
1253 # Mouse windows buttons binding
1254 # buttons: 1 3 5 7 9 8 6 4 2
1255 #------------------------------------------------------------------------------
1258 # Button Context Modif Function
1259 Mouse 1 1 A Function "window_ops_func"
1260 Mouse 2 1 A Menu WindowGroupOps
1261 Mouse 3 1 A Menu Move-Window
1263 Mouse 2 2 A All ($c) Close
1265 Mouse 1 4 A Maximize 100 100
1266 Mouse 2 4 A Maximize 0 100
1267 Mouse 3 4 A Maximize 100 0
1269 Mouse 2 6 A All ($c) Iconify On
1270 Mouse 3 6 A All ($c) WindowShade On
1272 #------------------------------------------------------------------------------
1273 # Now some keyboard shortcuts.
1274 #------------------------------------------------------------------------------
1276 #------------------------------------------------------------------------------
1277 # press arrow + Shift anywhere, and scroll by 1 page
1278 #------------------------------------------------------------------------------
1280 Key Left A S Scroll -100 0
1281 Key Right A S Scroll +100 +0
1282 Key Up A S Scroll +0 -100
1283 Key Down A S Scroll +0 +100
1285 #------------------------------------------------------------------------------
1286 # press arrow + Alt key, and scroll by 1/10 of a page
1287 #------------------------------------------------------------------------------
1289 Key Left A M Scroll -10 +0
1290 Key Right A M Scroll +10 +0
1291 Key Up A M Scroll +0 -10
1292 Key Down A M Scroll +0 +10
1294 #------------------------------------------------------------------------------
1295 # press arrow + control-meta anywhere, and move the pointer by 1% of a page
1296 #------------------------------------------------------------------------------
1298 Key Left A MC CursorMove -1 0
1299 Key Right A MC CursorMove +1 +0
1300 Key Up A MC CursorMove +0 -1
1301 Key Down A MC CursorMove +0 +1
1303 #------------------------------------------------------------------------------
1304 # press arrow + Shift-Alt key, and move the pointer by 1/10 of a page
1305 #------------------------------------------------------------------------------
1307 Key Left A SM CursorMove -10 +0
1308 Key Right A SM CursorMove +10 +0
1309 Key Up A SM CursorMove +0 -10
1310 Key Down A SM CursorMove +0 +10
1312 #------------------------------------------------------------------------------
1313 # Page Up/Page Down keys are used to scroll by one desktop page
1314 # in any context, press page up/down + control + alt
1315 # in root context, just pressing page up/down is OK
1316 #------------------------------------------------------------------------------
1318 Key Next A CM Desk -1 0 0 3
1319 Key Next R M Desk -1 0 0 3
1320 Key Prior A CM Desk +1 0 0 3
1321 Key Prior R M Desk +1 0 0 3
1323 #------------------------------------------------------------------------------
1324 # Alt-Shift-Fx window operations
1325 #------------------------------------------------------------------------------
1327 Key F5 A MS RaiseLower
1328 Key F6 A MS All (Iconic) Raise # originally Restore
1332 Key F10 A MS Maximize 100 100
1333 Key F11 A MS FvwmIdent
1334 Key F12 A MS FvwmConsole
1336 #------------------------------------------------------------------------------
1337 # The menus via Alt-Shift-Fx
1338 #------------------------------------------------------------------------------
1339 Key F1 A MS Menu Utilities mouse -1p -1p
1340 Key F2 A MS Menu Window mouse -1p -1p
1341 Key F3 A MS WindowList mouse -1p -1p
1344 #------------------------------------------------------------------------------
1345 # The famous Alt-tab binding
1346 #------------------------------------------------------------------------------
1348 DestroyFunc my_dbltab2
1349 AddToFunc my_dbltab2
1351 DestroyFunc my_dbltab_prev
1352 AddToFunc my_dbltab_prev
1355 Key Tab A M WindowList Root c c CurrentAtEnd, IconifiedAtEnd, NoGeometry, NoDeskSort, SelectOnRelease Alt_L my_dbltab_prev
1356 Key Tab A CM WindowList Root c c CurrentAtEnd, IconifiedAtEnd, NoGeometry, OnlyListSkip, SelectOnRelease
1359 #------------------------------------------------------------------------------
1361 #------------------------------------------------------------------------------
1363 # You need fvwm compiled with stroke support and libstroke installed
1364 # See the Stroke and StrokeFunc entries in the fvwm man page
1365 # We use mostly simple stroke motion. For complex stroke motions we need
1366 # to consider many sloppy stroke motions for each action.
1369 #Mouse 3 R N StrokeFunc FeedBack DrawMotion
1370 #Mouse 3 W M StrokeFunc FeedBack DrawMotion
1372 #STROKE 2 We need to redefine the default bindings
1373 #Stroke 0 0 R N WindowList mouse -1p -1p
1374 #Stroke 0 0 W M WindowList mouse -1p -1p
1377 #STROKE 2 A | from the top to the bottom
1378 #Stroke N852 0 R N Exec exec xterm
1379 #Stroke N852 0 W M Exec exec xterm
1381 #STROKE 2 A | from the bottom to the top
1382 #Stroke N258 0 R N Exec exec emacs
1383 #Stroke N258 0 W M Exec exec emacs
1385 #STROKE 2 A / from the bottom to the top
1386 #Stroke N159 0 R N Exec exec xfm
1387 #Stroke N159 0 W M Exec exec xfm
1389 #STROKE 2 A C from the top
1390 #Stroke N9874123 0 R N Exec exec xcalc
1391 #Stroke N9874123 0 W M Exec exec xcalc
1393 #STROKE 11 A N (from the bottom)
1394 #Stroke 7415963 0 R N Exec exec mozilla
1395 #Stroke 74148963 0 R N Exec exec mozilla
1396 #Stroke 74158963 0 R N Exec exec mozilla
1397 #Stroke 7418963 0 R N Exec exec mozilla
1398 #Stroke 415963 0 R N Exec exec mozilla
1400 #Stroke 7415963 0 W M Exec exec mozilla
1401 #Stroke 74148963 0 W M Exec exec mozilla
1402 #Stroke 74158963 0 W M Exec exec mozilla
1403 #Stroke 7418963 0 W M Exec exec mozilla
1404 #Stroke 415963 0 W M Exec exec mozilla
1406 #STROKE 4 A clockwise box from the top left
1407 #Stroke N78963214 0 R N FvwmForm FvwmForm-QuitVerify
1408 #Stroke N789632147 0 R N FvwmForm FvwmForm-QuitVerify
1409 #Stroke N78963214 0 W M FvwmForm FvwmForm-QuitVerify
1410 #Stroke N789632147 0 W M FvwmForm FvwmForm-QuitVerify
1413 #-----------------------------------------------------------------------------#
1415 # 10. Now define the menus
1417 #-----------------------------------------------------------------------------#
1419 #------------------------------------------------------------------------------
1420 #--------- Taskbar's start menu
1421 #------------------------------------------------------------------------------
1423 DestroyMenu StartMenu
1424 AddToMenu StartMenu@side.fvwm2.xpm@^black^
1425 + "&Shells%shells.xpm%" Popup Shells
1426 + "&Programs%programs.xpm%" Popup Programs
1427 + "&Documents%documents.xpm%" Popup Documents
1428 + "&Settings%settings.xpm%" Popup Settings
1430 Test (f /etc/X11/fvwm/DebianMenu) + "&Debian Menu%programs.xpm%" Popup /Debian
1431 + "&Module%modules.xpm%" Popup Module-Popup
1432 + "&Find%find1.xpm%" FvwmScript FvwmScript-Find
1433 + "&Help%help.xpm%" Exec exec xman
1435 + "&Run...%run.xpm%" Exec exec xterm
1437 + "&Screen Saver%screen.xpm%" Popup Screen
1438 + "Shut &Down%shutdown.xpm%" Module FvwmScript FvwmScript-Quit
1440 #------------------------------------------------------------------------------
1441 # Root Menu: This menu will fire up some very common utilities
1442 #------------------------------------------------------------------------------
1444 DestroyMenu Utilities
1445 AddToMenu Utilities "Root Menu" Title
1447 + "&Terminal%mini.term.xpm%" Exec exec xterm
1448 + "&Editor%mini.edit.xpm%" Exec exec emacs
1449 + "&File Manager%mini.filemgr.xpm%" Exec exec xfm
1450 + "&Top%mini.run.xpm%" Exec exec xterm -geometry 80x40 -T Top -n Top -e top
1452 + "&Shells%mini.term.xpm%" Popup Shells
1453 + "&Programs%mini.start.xpm%" Popup Programs
1455 + "Fvwm &Modules%mini.modules.xpm%" Popup Module-Popup
1456 + "&Settings%mini.desktop.xpm%" Popup Settings
1457 + "&Documents%mini.books.xpm%" Popup Documents
1458 + "&Screen Saver%mini.display.xpm%" Popup Screen
1460 + "&Restart%mini.turn.xpm%" Popup Restart
1461 + "&Quit fvwm%mini.stop.xpm%" FvwmForm FvwmForm-QuitVerify
1463 DestroyFunc SetDebianMenu
1464 AddToFunc SetDebianMenu
1465 + I Read /etc/X11/fvwm/DebianMenu
1466 + I DestroyMenu Utilities
1467 + I AddToMenu Utilities "Root Menu" Title
1469 + I + "&Terminal%mini.term.xpm%" Exec exec x-terminal-emulator
1470 + I + "&Editor%mini.edit.xpm" Exec exec emacs
1471 + I + "&File Manager%mini.filemgr.xpm%" Exec exec xfm
1472 + I + "&Top%mini.run.xpm%" Exec exec xterm -geometry 80x40 -T Top -n Top -e top
1474 + I + "&Shells%mini.term.xpm" Popup /Debian/XShells
1475 + I + "&Programs%mini.start.xpm%" Popup /Debian/Apps
1477 + I + "&Fvwm Modules%mini.modules.xpm%" Popup Module-Popup
1478 + I + "&Settings%mini.desktop.xpm%" Popup Settings
1479 + I + "&Documents%mini.books.xpm%" Popup Documents
1480 + I + "&Help%mini.book1.xpm%" Popup /Debian/Help
1481 + I + "&Screen Saver%mini.display.xpm%" Popup /Debian/Screen
1483 + I + "&Window Managers%mini.x2.xpm%" Popup /Debian/WindowManagers
1484 + I + "&Restart%mini.turn.xpm%" Restart
1485 + I + "&Quit fvwm%mini.stop.xpm%" FvwmForm FvwmForm-QuitVerify
1487 Test (f /etc/X11/fvwm/DebianMenu) SetDebianMenu
1489 #------------------------------------------------------------------------------
1491 #------------------------------------------------------------------------------
1494 + "&Xterm default%mini.term.xpm%" Exec exec xterm
1495 + "Xterm/&root default%mini.term.xpm%" Exec exec xterm -fg violet -bg black -e su -l
1496 + "&NXterm default%mini.term.xpm%" Exec exec nxterm
1497 + "&Rxvt default%mini.term.xpm%" Exec exec rxvt
1498 + "&Eterm default%mini.term.xpm%" Exec exec Eterm
1499 + "X&iterm default%mini.term.xpm%" Exec exec xiterm
1500 + "&Aterm default%mini.term.xpm%" Exec exec aterm
1501 + "&GNOME Term default%mini.term.xpm%" Exec exec gnome-terminal
1502 + "&Konsole default%mini.term.xpm%" Exec exec konsole
1503 + "&Kvt default%mini.term.xpm%" Exec exec kvt
1504 + "&Dtterm default%mini.term.xpm%" Exec exec /usr/bin/dtterm
1506 + "&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
1507 + "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
1508 + "&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
1509 + "&Rxvt 80x40 (7x14 font)%mini.term.xpm%" Exec exec rxvt -n $USER@$HOST -T $USER@$HOST -g 80x40 --loginShell -fn 7x14 -fb 7x14bold
1510 + "&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
1511 + "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
1512 + "&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
1513 + "&GNOME Term 80x40 (7x14 font)%mini.term.xpm%" Exec exec gnome-terminal --title=$USER@$HOST --geometry=80x40 --login --font=7x14
1514 + "&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
1515 + "&Konsole 80x40%mini.term.xpm%" Exec exec konsole -nowelcome -sl 4096 -ls -vt_sz 80x40
1516 + "&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
1518 + "Remote &login ...%mini.connect.xpm%" FvwmForm FvwmForm-Rlogin
1520 #------------------------------------------------------------------------------
1522 #------------------------------------------------------------------------------
1524 DestroyMenu Programs
1527 # AddToMenu Programs "&GNOME Menu%mini.gnome.xpm%" SendToModule FvwmGtk gnome-sys
1530 #AddToMenu Programs "&GNOME Menu%mini.gnome.xpm%" Popup gnome-sys
1533 #AddToMenu Programs "GNOME &User%mini.gnome.xpm%" SendToModule FvwmGtk gnome-user
1536 #AddToMenu Programs "GNOME &User%mini.gnome.xpm%" Popup gnome-user
1539 #AddToMenu Programs "GNOME &RedHat%mini.gnome.xpm%" SendToModule FvwmGtk gnome-redhat
1542 #AddToMenu Programs "GNOME &RedHat%mini.gnome.xpm%" Popup gnome-redhat
1545 #AddToMenu Programs "&KDE Menu%mini.kde.xpm" Popup kde-sys
1548 #AddToMenu Programs "KDE &User%mini.kde.xpm" Popup kde-user
1551 #AddToMenu Programs "&CDE Menu%mini.folder.xpm" Popup cde-menu
1554 + "&Accessories%mini.hammer.xpm%" Popup Accessories
1555 + "&Applications%mini.pencil.xpm%" Popup Applications
1556 + "&Science%mini.question.xpm%" Popup Science
1557 + "&System%mini.filemgr.xpm%" Popup System
1558 + "&Editors%mini.edit.xpm%" Popup Editors
1559 + "&Network%mini.telnet.xpm%" Popup Network
1560 + "&Internet%mini.connect.xpm%" Popup Internet
1561 + "&Graphics%mini.paint.xpm%" Popup Graphics
1562 + "&Multimedia%mini.cd.xpm%" Popup Multimedia
1563 + "&Games%mini.happy.xpm%" Popup Games
1565 #------------------------------------------------------------------------------
1566 #--------- KDE, CDE & GNOME "fvwm" menus
1568 # For more informtion man fvwm-menu-desktop
1571 #PipeRead 'fvwm-menu-desktop --desktop kde-sys --enable-mini-icons --enable-style'
1573 #PipeRead 'fvwm-menu-desktop --desktop kde-user --enable-mini-icons'
1575 #PipeRead 'fvwm-menu-desktop --desktop gnome-sys --type fvwm --install-prefix /usr --enable-mini-icons --mini-icons-path '' --icon-toptitle :no::: --icon-title :no::: --icon-folder mini.folder.xpm:ow::: --icon-app mini.gnome.xpm:ow:::'
1577 #PipeRead 'fvwm-menu-desktop --desktop gnome-user --type fvwm --enable-mini-icons --mini-icons-path '' --icon-toptitle :no::: --icon-title :no::: --icon-folder mini.folder.xpm:ow::: --icon-app mini.doc.xpm:ow:::'
1579 #PipeRead 'fvwm-menu-desktop --desktop gnome-redhat --type fvwm --enable-mini-icons --mini-icons-path '' --icon-toptitle :no::: --icon-title :no::: --icon-folder mini.folder.xpm:ow::: --icon-app mini.ball2.xpm:ow:::'
1582 #DestroyMenu cde-menu
1584 #+ "&Applications Manager%mini.programs.xpm%" Exec exec /usr/dt/bin/dtaction Dtappmgr
1585 #+ "&Terminal%mini.term.xpm%" Exec exec /usr/dt/bin/dtterm
1586 #+ "&File Manager%mini.filemgr.xpm%" Exec exec /usr/dt/bin/dtfile
1587 #+ "&Trash Can%mini.paper.xpm%" Exec exec /usr/dt/bin/dtaction Dttrash
1588 #+ "Text &Editor%mini.edit.xpm%" Exec exec /usr/dt/bin/dtpad
1589 #+ "Desktop &Help%mini.book1.xpm%" Exec exec /usr/dt/bin/dthelpview -helpVolume browser
1590 #+ "Man Pages%mini.book1.xpm%" Exec exec /usr/dt/bin/dthelpview -man
1591 #+ "&Mailer%mini.mail.xpm%" Exec exec /usr/dt/bin/dtmail
1592 #+ "&Calandar%mini.calandar.xpm%" Exec exec /usr/dt/bin/dtcm
1593 #+ "&Calculator%mini.calc.xpm%" Exec exec /usr/dt/bin/dtcalc
1594 #+ "&Icon Editor%mini.palette.xpm%" Exec exec /usr/dt/bin/dticon
1595 #+ "&Print Manager%mini.fax.xpm%" Exec exec /usr/dt/bin/dtprintinfo
1596 #+ "&Styles Manager%mini.hammer.xpm%" Exec exec /usr/dt/bin/dtstyle
1598 #+ "&Exit CDE%mini.stop.xpm%" Exec exec /usr/dt/bin/dtaction ExitSession
1600 #------------------------------------------------------------------------------
1601 #--------- Accessories
1603 DestroyMenu Accessories
1604 AddToMenu Accessories
1605 + "&Calculator%mini.calc.xpm%" Exec exec xcalc
1606 + "&Magnifying glass%mini.zoom.xpm%" Exec exec xmag
1607 + "&Font viewer%mini.font.xpm%" Exec exec xfontsel
1608 + "&Xdaliclock%mini.clock.xpm%" Exec exec xdaliclock
1609 + "X&clock%mini.clock.xpm%" Exec exec xclock
1610 + "&Rclock%mini.clock.xpm%" Exec exec rclock
1611 + "x&apm%mini.connect.xpm%" Exec exec xapm
1612 + "&View colormap%mini.colors.xpm%" Exec exec xcolormap
1613 + "&Color viewer%mini.colors.xpm%" Exec exec xcolorsel
1614 + "&Capture Form%mini.camera.xpm%" FvwmForm FvwmForm-Capture
1615 + "&Screen Dump Script%mini.camera.xpm%" FvwmScript FvwmScript-ScreenDump
1616 + "X&grab%mini.camera.xpm%" Exec exec xgrab
1617 + "&Ddd%mini.bug2.xpm%" Exec exec ddd
1618 + "Xx&gdb%mini.bug2.xpm%" Exec exec xxgdb
1619 + "&Xclipboard%mini.clipboard.xpm%" Exec exec xclipboard
1621 #------------------------------------------------------------------------------
1622 #--------- Applications
1624 DestroyMenu Applications
1625 AddToMenu Applications
1626 + "&Lyx%mini.edit.xpm%" Exec exec lyx
1627 + "&Thot%mini.edit.xpm%" Exec exec thot
1628 + "&Ghostview (Postscript)%mini.gv.xpm%" Exec exec ghostview
1629 + "&GV (Postscript)%mini.gv.xpm%" Exec exec gv
1630 + "X&dvi%mini.zoom.xpm%" Exec exec xdvi
1631 + "&Acroread (PDF)%mini.pdf.xpm%" Exec exec acroread
1632 + "&Xpdf (PDF)%mini.pdf.xpm%" Exec exec xpdf
1633 + "&Plan%mini.doc1.xpm%" Exec exec plan
1635 #------------------------------------------------------------------------------
1640 + "Thx-1138%mini.calc.xpm%" Exec exec thx-1138
1641 + "GNU &plot%mini.graph.xpm%" Exec exec xterm -T GNUplot -name GNUplot -e gnuplot
1642 + "&SCILAB%mini.zoom.xpm%" Exec exec scilab
1643 + "&Maple%mini.graph2.xpm%" Exec exec xmaple
1644 + "&Mathematica%mini.graph2.xpm%" Exec exec mathematica
1645 + "&Xaos%mini.fractal.xpm%" Exec exec xaos
1646 + "&Fractint%mini.fractal.xpm%" Exec exec xterm -font 7x14 -e xfractint
1647 + "X&ephem%mini.exp.xpm%" Exec exec xephem
1648 + "X&tide%mini.exp.xpm%" Exec exec xtide
1650 #------------------------------------------------------------------------------
1655 + "&Running processes%mini.run.xpm%" Exec exec xterm -g 80x40 -e top
1656 + "&TK processes%mini.hex.xpm%" Exec exec tkps
1657 + "&System load%mini.perf.xpm%" Exec exec xload
1658 + "&Xosview%mini.run.xpm%" Exec exec xosview
1659 + "&Memory usage%mini.perf.xpm%" Exec exec xmem
1660 + "&XSysStats%mini.run.xpm%" Exec exec XSysStats
1661 + "&xconsole%mini.term.xpm%" Exec exec xconsole
1662 + "Set &Date Script%mini.clock.xpm%" FvwmScript FvwmScript-Date
1664 + "&Midnight-Commander%mini.filemgr.xpm%" Exec exec xterm -g 80x40 -n Midnight-Commander -T Midnight-Commander -e mc -x
1665 + "X&fm%mini.filemgr.xpm%" Exec exec xfm
1666 + "File &Runer%mini.filemgr.xpm%" Exec exec fr
1667 + "&kfm%mini.filemgr.xpm%" Exec exec kfmclient openURL $HOME
1668 + "&gmc%mini.filemgr.xpm%" Exec exec gmc
1670 #------------------------------------------------------------------------------
1675 + "&Emacs%mini.edit.xpm%" Exec exec emacs
1676 + "&XEmacs%mini.edit.xpm%" Exec exec xemacs
1677 + "&Gvim%mini.edit.xpm%" Exec exec gvim
1678 + "&Nedit%mini.edit.xpm%" Exec exec nedit
1679 + "&Xedit%mini.edit.xpm%" Exec exec xedit
1681 #------------------------------------------------------------------------------
1686 + "&Rlogin%mini.connect.xpm%" Module FvwmForm FvwmForm-Rlogin
1687 + "&Vppp%mini.connect.xpm%" Exec exec vppp
1688 + "&Ezppp%mini.connect.xpm%" Exec exec ezppp
1689 + "&Hifs%mini.eyes.xpm%" Exec exec xterm -ls -bg #c0c0c0 -fg black -T Hifs -name Hifs -geometry 26x24 -e hifs
1691 #------------------------------------------------------------------------------
1694 DestroyMenu Internet
1696 + "&Mozilla%mini.nscape.xpm%" Exec exec mozilla
1697 + "&Netscape%mini.nscape.xpm%" Exec exec netscape
1698 + "&Amaya%mini.nscape.xpm%" Exec exec amaya
1699 + "&Lynx%mini.cat.xpm%" Exec exec xterm -g 80x30 -n lynx -T lynx -e lynx
1700 + "" Nop #!E mail:pine:mutt:elm
1701 + "Xfmail%mini.mail.xpm%" Exec exec xfmail
1702 + "&Xmh%mini.mail.xpm%" Exec exec xmh
1703 + "&Mail%mini.mail.xpm%" Exec exec xterm -g 80x30 -n Mail -T Mail -e mail
1704 + "&Pine%mini.mail.xpm%" Exec exec xterm -g 80x30 -n Pine -T Pine -e pine
1705 + "&Mutt%mini.mail.xpm%" Exec exec xterm -g 80x30 -n Mutt -T Mutt -e mutt
1706 + "&Elm%mini.mail.xpm%" Exec exec xterm -g 80x30 -n Elm -T Elm -e elm
1707 + "" Nop #!E ncftp:xftp:irc:tkirc:licq:zircon:xgropher:xtel
1708 + "Nc&FTP%mini.ftp.xpm%" Exec exec xterm -g 80x30 -n NcFtp -T FTP -e ncftp
1709 + "&Xftp%mini.ftp.xpm%" Exec exec xftp
1710 + "X-&Chat%mini.doc1.xpm%" Exec exec xchat
1711 + "Irc%mini.doc1.xpm%" Exec exec xterm -g 80x30 -n Irc -T Trc -e irc
1712 + "Tkirc%mini.doc1.xpm%" Exec exec tkirc
1713 + "Lirc%mini.doc1.xpm%" Exec exec licq
1714 + "&Zircon%mini.zircon.xpm%" Exec exec zircon
1715 + "X&Gopher%mini.gopher.xpm%" Exec exec xgopher
1716 + "Minitel%mini.xterm.xpm%" Exec exec xtel -petit
1718 #------------------------------------------------------------------------------
1721 DestroyMenu Graphics
1723 + "The &Gimp%mini.gimp.xpm%" Exec exec gimp
1724 + "&XPaint%mini.palette.xpm%" Exec exec xpaint
1725 + "X&fig%mini.xfig.xpm%" Exec exec xfig
1726 + "X&Fpovray%mini.ray.xpm%" Exec exec xfpovray
1727 + "" Nop #!E xv:xbmbrowser:ee
1728 + "&XV%mini.xv.xpm%" Exec exec xv
1729 + "Xbm&Browser%mini.directory.xpm%" Exec exec xbmbrowser
1730 + "&EE%mini.palette.xpm%" Exec exec ee
1732 #------------------------------------------------------------------------------
1733 #--------- Multimedia
1735 DestroyMenu Multimedia
1736 AddToMenu Multimedia
1737 + "&CD player%mini.cdlabel.xpm%" Exec exec xplaycd
1738 + "X&mixer%mini.audiovol.xpm%" Exec exec xmixer
1739 + "X<wav%mini.sound.xpm%" Exec exec xltwavplay
1740 + "FreeAmp%mini.sound.xpm%" Exec exec freeamp
1741 + "MiXViews%mini.sound.xpm%" Exec exec mxv
1743 #------------------------------------------------------------------------------
1744 #--------- Games and amusements
1748 + "&Maze%mini.maze.xpm%" Exec exec maze
1749 + "&Spider%mini.espada.xpm%" Exec exec spider
1750 + "&Chess%mini.slon.xpm%" Exec exec xboard
1751 + "&XGammon%mini.go.xpm%" Exec exec xgammon
1752 + "X&lander%mini.xlander.xpm%" Exec exec xlander
1753 + "X&mahjongg%mini.xmahjongg.xpm%" Exec exec xmahjongg
1754 + "X&Sokoban%mini.go.xpm%" Exec exec xsokoban
1755 + "X&jewel%mini.xjewel.xpm%" Exec exec xjewel
1756 + "&Hextris%mini.hextris.xpm%" Exec exec hextris
1757 + "&Maelstrom%mini.destroy.xpm%" Exec exec Maelstrom
1758 + "Koules%mini.happy.xpm%" Exec exec xkoules
1759 + "Quake%mini.destroy.xpm%" Exec cd /usr/local/games/quake/ ; exec ./stquake
1760 + "Quake2%mini.destroy.xpm%" Exec cd /usr/local/games/quake2/ ; exec ./quake2 +set vid_ref softx
1762 + "&Amusements%mini.happy.xpm%" Popup Amusements
1764 DestroyMenu Amusements
1765 AddToMenu Amusements
1766 + "&Eyes%mini.eyes.xpm%" Exec exec xeyes
1767 + "&X logo%mini.bx2.xpm%" Exec exec xlogo
1768 + "X&roach%mini.roach.xpm%" Exec exec xroach
1769 + "X&snow%mini.xsnow.xpm%" Exec exec xsnow
1770 + "&Stop Xsnow%mini.xsnow.xpm%" Exec exec killall xsnow
1771 + "&Desktop cat%mini.cat.xpm%" Exec exec xcat
1773 #------------------------------------------------------------------------------
1775 #------------------------------------------------------------------------------
1778 DestroyMenu Module-Popup
1779 AddToMenu Module-Popup
1780 + "&Autoraise%mini.raise.xpm%" RestartModule FvwmAuto 500
1781 + "A&nimate%mini.iconify.xpm%" RestartModule FvwmAnimate
1782 + "&Backer%mini.rainbow.xpm%" RestartModule FvwmBacker
1783 + "B&anner%mini.ray.xpm%" RestartModule FvwmBanner
1784 + "B&uttons Bar%mini.pencil.xpm%" RestartModuleByAlias FvwmButtons BarButtons BarButtons
1785 + "&Mini button bar%mini.pencil.xpm%" RestartModuleByAlias FvwmButtons MiniButtons MiniButtons
1786 + "&WMaker buttons%mini.pencil.xpm%" RestartModuleByAlias FvwmButtons WinMakerAppButtons WinMakerApp*
1787 + "&Console%mini.xterm.xpm%" Module FvwmConsole -sb
1788 + "&Debug%mini.bug2.xpm%" RestartModule FvwmDebug
1789 + "&IconBox%mini.icons.xpm%" RestartModule FvwmIconBox
1790 + "I&conMan%mini.run.xpm%" RestartModule FvwmIconMan
1791 + "Identif&y%mini.question.xpm%" RestartModule FvwmIdent
1792 + "Desker &Panel%mini.pager.xpm%" RestartModuleByAlias FvwmButtons DeskerPanelButtons DeskerPanelButtons
1793 + "Sound &effect%mini.sound.xpm%" RestartModule FvwmEvent
1794 + "&Talk to Fvwm%mini.telnet.xpm%" FvwmForm FvwmForm-Talk
1795 + "Task&Bar%mini.exp.xpm%" RestartModule FvwmTaskBar
1796 + "Window &List%mini.windows.xpm%" RestartModule FvwmWinList
1797 + "&Wharf%mini.pencil.xpm%" RestartModule FvwmWharf
1799 + "&Kill Modules%mini.bomb.xpm%" Popup Kill-Module-Popup
1801 DestroyMenu Kill-Module-Popup
1802 AddToMenu Kill-Module-Popup
1803 + "&Autoraise%mini.raise.xpm%" KillModule FvwmAuto
1804 + "A&nimate%mini.iconify.xpm%" KillModule FvwmAnimate
1805 + "&Backer%mini.rainbow.xpm%" KillModule FvwmBacker
1806 + "B&anner%mini.ray.xpm%" KillModule FvwmBanner
1807 + "B&utton bar%mini.pencil.xpm%" All (BarButtons) Close
1808 + "&Mini button bar%mini.pencil.xpm%" All (MiniButtons) Close
1809 + "&WMaker buttons%mini.pencil.xpm%" All (WinMakerApp*) Close
1810 + "&Console%mini.xterm.xpm%" KillModule FvwmConsole
1811 + "&Debug%mini.bug2.xpm%" KillModule FvwmDebug
1812 + "&IconBox%mini.icons.xpm%" KillModule FvwmIconBox
1813 + "I&conMan%mini.run.xpm%" KillModule FvwmIconMan
1814 + "Identif&y%mini.question.xpm%" KillModule FvwmIdent
1815 + "Desker &Panel%mini.pager.xpm%" All (DeskerPanelButtons) Close
1816 + "Sound &effect%mini.sound.xpm%" KillModule FvwmEvent
1817 + "&Talk%mini.telnet.xpm%" All (FvwmForm-Talk) Close
1818 + "Task&Bar%mini.exp.xpm%" KillModule FvwmTaskBar
1819 + "Window &List%mini.windows.xpm%" KillModule FvwmWinList
1820 + "&Wharf%mini.pencil.xpm%" KillModule FvwmWharf
1822 #------------------------------------------------------------------------------
1824 #------------------------------------------------------------------------------
1827 DestroyMenu Settings
1829 + "&Configuration%mini.fvwm.xpm%" Popup FvwmConfig
1830 + "&Animation%mini.iconify.xpm%" Popup Animate-Settings
1831 + "Applications &Managers%mini.windows.xpm%" Popup AppsManager
1832 + "Auto&Raise%mini.raise.xpm%" Popup AutoRaise-Settings
1833 + "Back&ground%mini.display.xpm%" Popup Background-Settings
1834 + "&Banner%mini.ray.xpm%" Popup Banner-Settings
1835 + "B&uttons Bar%mini.pencil.xpm%" Popup Buttons-Settings
1836 + "&Mini Buttons%mini.pencil.xpm%" Popup MiniButtons-Settings
1837 + "Desker &Panel%mini.pager.xpm%" Popup DeskerPanel-settings
1838 + "S&ounds Effect%mini.audiovol.xpm%" Popup Sound-Settings
1839 + "&WMaker Applets%mini.pencil.xpm%" Popup WinMakerApp-Settings
1840 + "Set &Layers%mini.windows.xpm%" Popup Layers-Settings
1841 + "&X Setup Scripts%mini.x.xpm%" Popup XsetupScripts
1842 + "&Show/Load/Save Settings%mini.turn.xpm%" Popup Load-Settings
1844 + "&Edit .fvwm2rc%mini.edit.xpm%" Popup Edit-Config
1845 + "Reload .fvwm2rc%mini.turn.xpm%" Popup Reload-Config
1846 + "Temporary Change:" Title
1847 + "&Focus/Paging%mini.zoom.xpm%" Popup Focus-Settings
1848 + "&Mouse Speed%mini.cat.xpm%" Popup Mouse-Settings
1849 + "&Keyboard%mini.keyboard.xpm%" Popup Keyboard-Settings
1850 + "&Bell%mini.audiovol.xpm%" Popup Bell-Settings
1851 + "&Screen%mini.monitor.xpm%" Popup X-settings
1853 #------------------------------------------------------------------------------
1854 #--------- Fvwm Config
1856 DestroyMenu FvwmConfig
1857 AddToMenu FvwmConfig
1858 + "&Base Configuration%mini.fvwm.xpm%" FvwmScript FvwmScript-BaseConfig
1859 + "&Form Configuration%mini.fvwm.xpm%" FvwmForm FvwmForm-Form
1861 + "&Rebuild Sample 95%mini.fvwm.xpm%" FvwmScript FvwmScript-Setup95
1862 + "&Load Default Sample%mini.fvwm.xpm%" FvwmForm FvwmForm-Setup
1865 #------------------------------------------------------------------------------
1866 #--------- Apps Manager
1868 DestroyMenu AppsManager
1869 AddToMenu AppsManager
1870 + "TaskBar &Desk%mini.exp.xpm%" ChangeAppsMan TaskBarDesk
1871 + "TaskBar &Global%mini.exp.xpm%" ChangeAppsMan TaskBarGlobal
1872 + "TaskBar &Desk (Auto Hide)%mini.exp.xpm%" ChangeAppsMan TaskBarDeskAutoHide
1873 + "TaskBar &Global (Auto Hide)%mini.exp.xpm%" ChangeAppsMan TaskBarGlobalAutoHide
1875 + "IconBox &Desk%mini.icons.xpm%" ChangeAppsMan IconBoxDesk
1876 + "IconBox &Global%mini.icons.xpm%" ChangeAppsMan IconBoxGlobal
1878 + "IconMan &Page%mini.run.xpm%" ChangeAppsMan IconManPage
1879 + "IconMan &Desk%mini.run.xpm%" ChangeAppsMan IconManDesk
1880 + "IconMan &Global%mini.run.xpm%" ChangeAppsMan IconManGlobal
1882 + "WinList &Desk%mini.windows.xpm%" ChangeAppsMan WinListDesk
1883 + "WinList &Global%mini.windows.xpm%" ChangeAppsMan WinListGlobal
1885 + "Use &Icons%mini.icons.xpm%" UseIcons
1887 + "&None%mini.windows.xpm%" AppsManNone
1889 #------------------------------------------------------------------------------
1890 #--------- Animate settings
1892 DestroyMenu Animate-Settings
1893 AddToMenu Animate-settings
1894 + "&Animation on%mini.iconify.xpm%" ModuleOn FvwmAnimate
1895 + "Animation &off%mini.cross.xpm%" ModuleOff FvwmAnimate
1896 + "Animate &Menu%mini.iconify.xpm%" Popup MenuFvwmAnimate
1898 #------------------------------------------------------------------------------
1899 #--------- AutoRaise settings
1901 DestroyMenu AutoRaise-Settings
1902 AddToMenu AutoRaise-Settings
1903 + "Raise &Slow%mini.raise.xpm%" ModuleOn 'FvwmAuto' '1000'
1904 + "Raise &Default%mini.raise.xpm%" ModuleOn 'FvwmAuto' '500'
1905 + "Raise &Fast%mini.raise.xpm%" ModuleOn 'FvwmAuto' '250'
1906 + "Speedy &Gonzales%mini.raise.xpm%" ModuleOn 'FvwmAuto' '50'
1907 + "Raise &Modules Only%mini.modules.xpm%" StartModulesAutoRaise
1908 + "AutoRaise &off%mini.cross.xpm%" ModuleOff FvwmAuto
1910 #------------------------------------------------------------------------------
1911 #--------- Background settings
1913 DestroyMenu Background-Settings
1914 AddToMenu Background-Settings
1915 + "&FvwmBacker%mini.rainbow.xpm%" SetBackground FvwmBacker
1916 + "&Disable Background%mini.cross.xpm%" SetBackgroundOff
1917 + "Some &Solid Colors%mini.colors.xpm%" Popup Back-Solid
1918 + "Some &Gradientd%mini.colors.xpm%" Popup Back-Gradient
1919 + "&Personal%mini.colors.xpm%" Popup Back-Personal
1920 PipeRead '[ ! -d /usr/share/pixmaps/backgrounds ] || echo + \\"\\&Site Background%mini.colors.xpm%\\" Popup Back-Site'
1921 PipeRead '[ ! -n "$KDEDIR" ] || echo + \\"\\&KDE Background%mini.colors.xpm%\\" Popup Back-KDE'
1922 PipeRead '[ ! -d /usr/local/share/WindowMaker/Backgrounds ] || echo + \\"\\&WM Background%mini.colors.xpm%\\" Popup Back-Local-WM'
1923 PipeRead '[ ! -d /usr/share/WindowMaker/Backgrounds ] || echo + \\"\\&WM Background%mini.colors.xpm%\\" Popup Back-WM'
1924 PipeRead '[ ! -d /usr/share/afterstep/backgrounds ] || echo + \\"\\&AS Background%mini.colors.xpm%\\" Popup Back-AS'
1925 PipeRead '[ ! -d /usr/local/share/afterstep/backgrounds ] || echo + \\"\\&AS Background%mini.colors.xpm%\\" Popup Back-Local-AS'
1927 DestroyFunc SetBackFromDirectory
1928 AddToFunc SetBackFromDirectory
1929 + I DestroyMenu recreate $0
1930 + I PipeRead 'for i in `/bin/ls $1`; \
1931 do echo AddToMenu $0 "`basename $i`" SetBackground \\"$2 $i\\"; done'
1933 DestroyFunc SetBackFromDirectories
1934 AddToFunc SetBackFromDirectories
1935 + I DestroyMenu recreate $0
1936 + 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'
1939 # Replace $FVWM_USERDIR/images/backgrounds/ by your backgrounds directory
1940 # and uncomment the next line
1941 #AddToMenu Back-Personal DynamicPopupAction SetBackFromDirectory 'Back-Personal' '$FVWM_USERDIR/images/backgrounds/*' 'Exec exec xv -root -quit'
1943 AddToMenu Back-Site DynamicPopupAction SetBackFromDirectories 'Back-Site' '/usr/share/pixmaps/backgrounds/*' 'Exec exec xv -root -quit'
1945 AddToMenu Back-KDE DynamicPopupAction SetBackFromDirectory 'Back-KDE' '$KDEDIR/share/wallpapers/*' 'Exec exec xv -root -quit'
1947 AddToMenu Back-WM DynamicPopupAction SetBackFromDirectory 'Back-WM' '/usr/share/WindowMaker/Backgrounds/*' 'Exec exec xv -root -quit'
1949 AddToMenu Back-Local-WM DynamicPopupAction SetBackFromDirectory 'Back-Local-WM' '/usr/local/share/WindowMaker/Backgrounds/*' 'Exec exec xv -root -quit'
1951 AddToMenu Back-AS DynamicPopupAction SetBackFromDirectory 'Back-AS' '/usr/share/afterstep/backgrounds/*' 'Exec exec xv -root -quit'
1953 AddToMenu Back-Local-AS DynamicPopupAction SetBackFromDirectory 'Back-Local-AS' '/usr/local/share/afterstep/backgrounds/*' 'Exec exec xv -root -quit'
1955 DestroyMenu Back-Solid
1956 AddToMenu Back-Solid
1957 + "&Red 1%mini.rball.xpm%" SetBackground 'Exec exec xsetroot -solid Red1'
1958 + "Red &2%mini.rball.xpm%" SetBackground 'Exec exec xsetroot -solid Red2'
1959 + "Red &3%mini.rball.xpm%" SetBackground 'Exec exec xsetroot -solid Red3'
1960 + "Red &4%mini.rball.xpm%" SetBackground 'Exec exec xsetroot -solid Red4'
1961 + "&Yellow 1%mini.rball.xpm%" SetBackground 'Exec exec xsetroot -solid Yellow1'
1962 + "Yellow &2%mini.rball.xpm%" SetBackground 'Exec exec xsetroot -solid Yellow2'
1963 + "Yellow &3%mini.rball.xpm%" SetBackground 'Exec exec xsetroot -solid Yellow3'
1964 + "Yellow &4%mini.rball.xpm%" SetBackground 'Exec exec xsetroot -solid Yellow4'
1965 + "&Orange 1%mini.rball.xpm%" SetBackground 'Exec exec xsetroot -solid Orange1'
1966 + "Orange &2%mini.rball.xpm%" SetBackground 'Exec exec xsetroot -solid Orange2'
1967 + "Orange &3%mini.rball.xpm%" SetBackground 'Exec exec xsetroot -solid Orange3'
1968 + "Orange &4%mini.rball.xpm%" SetBackground 'Exec exec xsetroot -solid Orange4'
1969 + "&Green 1%mini.rball.xpm%" SetBackground 'Exec exec xsetroot -solid Green1'
1970 + "Green &2%mini.rball.xpm%" SetBackground 'Exec exec xsetroot -solid Green2'
1971 + "Green &3%mini.rball.xpm%" SetBackground 'Exec exec xsetroot -solid Green3'
1972 + "Green &4%mini.rball.xpm%" SetBackground 'Exec exec xsetroot -solid Green4'
1973 + "&Cyan 1%mini.rball.xpm%" SetBackground 'Exec exec xsetroot -solid Cyan1'
1974 + "Cyan &2%mini.rball.xpm%" SetBackground 'Exec exec xsetroot -solid Cyan2'
1975 + "Cyan &3%mini.rball.xpm%" SetBackground 'Exec exec xsetroot -solid Cyan3'
1976 + "Cyan &4%mini.rball.xpm%" SetBackground 'Exec exec xsetroot -solid Cyan4'
1977 + "&Blue 1%mini.rball.xpm%" SetBackground 'Exec exec xsetroot -solid Blue1'
1978 + "Blue &2%mini.rball.xpm%" SetBackground 'Exec exec xsetroot -solid Blue2'
1979 + "Blue &3%mini.rball.xpm%" SetBackground 'Exec exec xsetroot -solid Blue3'
1980 + "Blue &4%mini.rball.xpm%" SetBackground 'Exec exec xsetroot -solid Blue4'
1981 + "&Magenta 1%mini.rball.xpm%" SetBackground 'Exec exec xsetroot -solid Magenta1'
1982 + "Magenta &2%mini.rball.xpm%" SetBackground 'Exec exec xsetroot -solid Magenta2'
1983 + "Magenta &3%mini.rball.xpm%" SetBackground 'Exec exec xsetroot -solid Magenta3'
1984 + "Magenta &4%mini.rball.xpm%" SetBackground 'Exec exec xsetroot -solid Magenta4'
1985 + "&Snow1%mini.rball.xpm%" SetBackground 'Exec exec xsetroot -solid snow1'
1986 + "Snow &2%mini.rball.xpm%" SetBackground 'Exec exec xsetroot -solid snow2'
1987 + "Snow &3%mini.rball.xpm%" SetBackground 'Exec exec xsetroot -solid snow3'
1988 + "Snow &4%mini.rball.xpm%" SetBackground 'Exec exec xsetroot -solid snow4'
1989 + "&Black%mini.rball.xpm%" SetBackground 'Exec exec xsetroot -solid Black'
1991 DestroyMenu Back-Gradient
1992 AddToMenu Back-Gradient
1993 + "&Red decay%mini.bball.xpm%" SetBackground 'Exec exec bggen red1 red4 | xv -root -quit -'
1994 + "&Yellow Orange decay%mini.bball.xpm%" SetBackground 'Exec exec bggen Yellow1 Orange4 | xv -root -quit -'
1995 + "&Green decay%mini.bball.xpm%" SetBackground 'Exec exec bggen green1 DarkGreen | xv -root -quit -'
1996 + "&Blue decay%mini.bball.xpm%" SetBackground 'Exec exec bggen 100 100 255 0 0 100 | xv -root -quit -'
1997 + "&Magenta decayy%mini.bball.xpm%" SetBackground 'Exec exec bggen blue magenta | xv -root -quit -'
1998 + "&Blue to Red%mini.bball.xpm%" SetBackground 'Exec exec bggen blue red | xv -root -quit -'
1999 + "Blue to &Cyan%mini.bball.xpm%" SetBackground 'Exec exec bggen blue4 Cyan1 | xv -root -quit -'
2000 + "&Cyan to Blue%mini.bball.xpm%" SetBackground 'Exec exec bggen Cyan Blue4 | xv -root -quit -'
2001 + "&Black/pink/black%mini.bball.xpm%" SetBackground 'Exec exec bggen black pink black | xv -root -quit -'
2002 + "Black/&red/black%mini.bball.xpm%" SetBackground 'Exec exec bggen black red black | xv -root -quit -'
2003 + "&Sun Raise 1%mini.bball.xpm%" SetBackground 'Exec exec bggen black orange black pink| xv -root -quit -'
2004 + "Sun Raise &2%mini.bball.xpm%" SetBackground 'Exec exec bggen black orange black Blue4| xv -root -quit -'
2005 + "Sun Raise &3%mini.bball.xpm%" SetBackground 'Exec exec bggen black red black grey60| xv -root -quit -'
2006 + "&Rainbowy%mini.bball.xpm%" SetBackground 'Exec exec bggen red green blue | xv -root -quit -'
2007 + "&Full Rainbowy%mini.bball.xpm%" SetBackground 'Exec exec bggen black red yellow green blue purple black | xv -root -quit -'
2008 + "&White to Black%mini.bball.xpm%" SetBackground 'Exec exec bggen white black | xv -root -quit -'
2009 + "&Black to White%mini.bball.xpm%" SetBackground 'Exec exec bggen white black | xv -root -quit -'
2011 #------------------------------------------------------------------------------
2012 #--------- Banner settings
2014 DestroyMenu Banner-Settings
2015 AddToMenu Banner-Settings
2016 + "&Banner on%mini.ray.xpm%" ModuleOn FvwmBanner
2017 + "Banner &off%mini.cross.xpm%" ModuleOff FvwmBanner
2019 #------------------------------------------------------------------------------
2020 #--------- Buttons settings
2022 DestroyMenu Buttons-Settings
2023 AddToMenu Buttons-Settings
2024 + "&Buttons Bar%mini.pencil.xpm%" ChangeButtonsOn 'FvwmButtons BarButtons'
2025 + "&Wharf%mini.pencil.xpm%" ChangeButtonsOn FvwmWharf
2026 + "&None%mini.cross.xpm%" ChangeButtonsOff
2029 #------------------------------------------------------------------------------
2030 #--------- MiniButtons settings
2032 DestroyMenu MiniButtons-Settings
2033 AddToMenu MiniButtons-Settings
2034 + "&Mini Buttons on%mini.pencil.xpm%" ButtonsOn FvwmButtons MiniButtons MiniButtons
2035 + "Mini Buttons &off%mini.cross.xpm%" ButtonsOff MiniButtons MiniButtons
2037 #------------------------------------------------------------------------------
2038 #--------- DeskerPanel settings
2040 DestroyMenu DeskerPanel-Settings
2041 AddToMenu DeskerPanel-Settings
2042 + "&Desker Panel on%mini.pencil.xpm%" ButtonsOn FvwmButtons DeskerPanelButtons DeskerPanelButtons
2043 + "Desker Panel &off%mini.cross.xpm%" ButtonsOff DeskerPanelButtons DeskerPanelButtons
2045 #------------------------------------------------------------------------------
2046 #--------- WMaker Applets settings
2048 DestroyMenu WinMakerApp-Settings
2049 AddToMenu WinMakerApp-Settings
2050 + "&WMaker Applets on%mini.pencil.xpm%" ButtonsOn FvwmButtons WinMakerAppButtons WinMakerApp*
2051 + "WMaker Applets &off%mini.cross.xpm%" ButtonsOff WinMakerAppButtons WinMakerApp*
2054 #------------------------------------------------------------------------------
2055 #--------- Sound settings
2057 DestroyMenu Sound-Settings
2058 AddToMenu Sound-Settings
2059 + "&Sound Effect on%mini.audiovol.xpm%" ModuleOn FvwmEvent
2060 + "Sound Effect &off%mini.cross.xpm%" ModuleOff FvwmEvent
2061 + "Sound &card%mini.sound.xpm%" Exec exec xmixer
2063 #------------------------------------------------------------------------------
2064 #--------- Layers Settings
2066 DestroyMenu Layers-Settings
2067 AddToMenu Layers-Settings
2068 + "%mini.raise2.xpm%StaysOn&Top" Pick (CirculateHit) SetLayers StaysOnTop
2069 + "%mini.window.xpm%Stays&Put" Pick (CirculateHit) DestroyLayers
2070 + "%mini.lower2.xpm%StaysOn&Bottom" Pick (CirculateHit) SetLayers StaysOnBottom
2072 #------------------------------------------------------------------------------
2073 #--------- X setup Script
2075 DestroyMenu XsetupScripts
2076 AddToMenu XsetupScripts
2077 + "&Bell%mini.audiovol.xpm%" FvwmScript FvwmScript-BellSetup
2078 + "&KeyBoard%mini.keyboard.xpm%" FvwmScript FvwmScript-KeyboardSetup
2079 + "&Screen%mini.monitor.xpm%" FvwmScript FvwmScript-ScreenSetup
2080 + "&Mouse%mini.mouse.xpm%" FvwmScript FvwmScript-PointerSetup
2082 #------------------------------------------------------------------------------
2083 #--------- Edit config
2086 DestroyMenu Edit-Config
2087 AddToMenu Edit-Config
2088 + "Edit .fvwm2rc%mini.edit.xpm%" Exec exec emacs $FVWM_USERDIR/.fvwm2rc
2089 + "Edit decorations%mini.edit.xpm%" Exec exec emacs $FVWM_USERDIR/decorations
2090 + "Edit globalfeel%mini.edit.xpm%" Exec exec emacs $FVWM_USERDIR/globalfeel
2091 + "Edit startup%mini.edit.xpm%" Exec exec emacs $FVWM_USERDIR/startup
2092 + "Edit styles%mini.edit.xpm%" Exec exec emacs $FVWM_USERDIR/styles
2093 + "Edit iconstyles%mini.edit.xpm%" Exec exec emacs $FVWM_USERDIR/iconstyles
2094 + "Edit functions%mini.edit.xpm%" Exec exec emacs $FVWM_USERDIR/functions
2095 + "Edit bindings%mini.edit.xpm%" Exec exec emacs $FVWM_USERDIR/bindings
2096 + "Edit menus%mini.edit.xpm%" Exec exec emacs $FVWM_USERDIR/menus
2097 + "Edit modules%mini.edit.xpm%" Exec exec emacs $FVWM_USERDIR/modules
2099 #------------------------------------------------------------------------------
2100 #--------- Reload config
2102 DestroyMenu Reload-Config
2103 AddToMenu Reload-Config
2104 + "Reload decorations%mini.turn.xpm%" Read decorations
2105 + "Reload globalfeel%mini.turn.xpm%" Read globalfeel
2106 + "Reload styles%mini.turn.xpm%" Read styles
2107 + "Reload iconstyles && menus%mini.turn.xpm%" ReloadIconStylesAndMenus
2108 + "Reload functions%mini.turn.xpm%" Read functions
2109 + "Reload bindings%mini.turn.xpm%" Read bindings
2110 + "Reload modules%mini.turn.xpm%" Read modules
2112 #------------------------------------------------------------------------------
2113 #--------- Load / Save As settings
2115 DestroyMenu Load-Settings
2116 AddToMenu Load-Settings
2117 + "Show &Fvwm Settings%mini.fvwm.xpm%" ShowFvwmSettings
2118 + "Show Layers Settings%mini.window.xpm%" ShowLayers
2119 + "Show &X Settings%mini.x2.xpm%" ShowXSettings
2121 + "&Load Setting 1%mini.turn.xpm%" LoadSettings 1
2122 + "Load Setting &2%mini.turn.xpm%" LoadSettings 2
2123 + "Load Setting &3%mini.turn.xpm%" LoadSettings 3
2124 + "Load Setting &4%mini.turn.xpm%" LoadSettings 4
2125 + "Save Current As:" Title
2126 + "&Setting 1%mini.diskette.xpm%" SaveAsSettings 1
2127 + "Setting &2%mini.diskette.xpm%" SaveAsSettings 2
2128 + "Setting &3%mini.diskette.xpm%" SaveAsSettings 3
2129 + "Setting &4%mini.diskette.xpm%" SaveAsSettings 4
2131 #------------------------------------------------------------------------------
2132 #--------- Focus/Paging settings
2134 DestroyMenu Focus-Settings
2135 AddToMenu Focus-Settings
2136 + "&Sloppy Focus%mini.mouse.xpm%" Style * SloppyFocus
2137 + "&Click To Focus%mini.mouse.xpm%" Style * ClickToFocus
2138 + "&Focus Follows Mouse%mini.mouse.xpm%" Style * FocusFollowsMouse
2140 + "&Colormap Follows Mouse%mini.colors.xpm%" ColormapFocus FollowsMouse
2141 + "&Colormap Follows Focus%mini.colors.xpm%" ColormapFocus FollowsFocus
2143 + "&Full Paging ON%mini.maximize2.xpm%" EdgeScroll 100 100
2144 + "&All Paging OFF%mini.cross.xpm%" EdgeScroll 0 0
2145 + "&Horizontal Paging Only%mini.maximize-horiz.xpm%" EdgeScroll 100 0
2146 + "&Vertical Paging Only%mini.maximize-vert.xpm%" EdgeScroll 0 100
2147 + "&Partial Paging%mini.maximize2.xpm%" EdgeScroll 50 50
2148 + "&Full Paging && Edge Wrap%mini.maximize2.xpm%" EdgeScroll 100000 100000
2151 #------------------------------------------------------------------------------
2152 #--------- Mouse settings
2154 DestroyMenu Mouse-Settings
2155 AddToMenu Mouse-Settings
2156 + "Mouse &Slow%mini.mouse.xpm%" Exec xset m 1 1
2157 + "Mouse &Default%mini.mouse.xpm%" Exec xset m default
2158 + "Mouse &Fast%mini.cat.xpm%" Exec xset m 4 2
2159 + "Speedy &Gonzales%mini.cat.xpm%" Exec xset m 10 2
2161 #------------------------------------------------------------------------------
2162 #--------- Keyboard settings
2164 DestroyMenu Keyboard-Settings
2165 AddToMenu Keyboard-Settings
2166 + "&Auto-repeat on%mini.keyboard.xpm%" Exec xset r on
2167 + "Auto-repeat &off%mini.keyboard.xpm%" Exec xset r off
2169 #------------------------------------------------------------------------------
2170 #--------- Sound settings
2172 DestroyMenu Bell-Settings
2173 AddToMenu Bell-Settings
2174 + "&Bell on%mini.sound.xpm%" Exec xset b on
2175 + "Bell &off%mini.cross.xpm%" Exec xset b off
2176 + "Sound &card%mini.sound.xpm%" Exec exec xmixer
2178 #------------------------------------------------------------------------------
2179 #--------- X & screen settings
2181 DestroyMenu X-Settings
2182 AddToMenu X-Settings
2183 + "Back &Color%mini.colors.xpm%" Popup Backcolor
2184 + "Back &Animation%mini.fractal.xpm%" Popup Background-Animation
2185 + "&Root Cursor Form%mini.xarchie.xpm%" FvwmForm FvwmForm-RootCursor
2186 + "&Video tuning%mini.monitor.xpm%" Exec exec xterm -T Xvidtune -e xvidtune
2187 + "&X configuration%mini.display.xpm%" Exec exec xterm -T Xconfig -e Xconfigurator
2189 #--------- Background color
2191 DestroyMenu Backcolor
2193 + "&Black%mini.bball.xpm%" Exec exec xsetroot -solid Black
2194 + "&Red%mini.bball.xpm%" Exec exec xsetroot -solid Red
2195 + "&Yellow%mini.bball.xpm%" Exec exec xsetroot -solid Yellow
2196 + "&Green%mini.bball.xpm%" Exec exec xsetroot -solid Green
2197 + "&Cyan%mini.bball.xpm%" Exec exec xsetroot -solid Cyan4
2198 + "&Blue%mini.bball.xpm%" Exec exec xsetroot -solid Blue
2199 + "&Magenta%mini.bball.xpm%" Exec exec xsetroot -solid Magenta
2200 + "&White%mini.bball.xpm%" Exec exec xsetroot -solid White
2201 + "&Blue decay%mini.bball.xpm%" Exec exec bggen 100 100 255 0 0 100 | xv -root -quit -
2202 + "&Rainbow%mini.bball.xpm%" Exec exec bggen red green blue | xv -root -quit -
2203 + "&Full Rainbow%mini.bball.xpm%" Exec exec bggen black red yellow green blue purple black | xv -root -quit -
2204 + "&Magenta decay%mini.bball.xpm%" Exec exec bggen blue magenta | xv -root -quit -
2206 #--------- Background animation
2208 DestroyMenu "Background-Animation"
2209 AddToMenu "Background-Animation"
2210 + "&Braid%mini.rball.xpm%" Exec exec xlock -nice 10 -inroot -mode braid
2211 + "&Flame%mini.rball.xpm%" Exec exec xlock -nice 10 -inroot -mode flame
2212 + "&Grav%mini.rball.xpm%" Exec exec xlock -nice 10 -inroot -mode grav
2213 + "&Pyro%mini.rball.xpm%" Exec exec xlock -nice 10 -inroot -mode pyro
2214 + "&Qix%mini.rball.xpm%" Exec exec xlock -nice 10 -inroot -mode qix
2215 + "&Rock%mini.rball.xpm%" Exec exec xlock -nice 10 -inroot -mode rock
2216 + "&Slip%mini.rball.xpm%" Exec exec xlock -nice 10 -inroot -mode spiral
2217 + "&Spline%mini.rball.xpm%" Exec exec xlock -nice 10 -inroot -mode spline
2218 + "&Swarm%mini.rball.xpm%" Exec exec xlock -nice 10 -inroot -mode swarm
2219 + "&Worm%mini.rball.xpm%" Exec exec xlock -nice 10 -inroot -mode worm
2220 + "&Random%mini.rball.xpm%" Exec exec xlock -nice 10 -inroot -mode random
2221 # Stop the animation in the background
2222 + "&Stop It%mini.cross.xpm%" \
2223 Exec kill -9 $(ps aux | grep xlock | grep -v grep | awk '{print $2}')
2225 #------------------------------------------------------------------------------
2226 #--------- Documents
2227 #------------------------------------------------------------------------------
2229 DestroyMenu Documents
2231 + "&Xman%mini.book1.xpm%" Exec exec xman
2232 + "&Fvwm Home Page%mini.fvwm.xpm%" Exec exec mozilla http://www.fvwm.org/
2233 + "&Fvwm Themes Home Page%mini.icons.xpm%" Exec exec mozilla http://fvwm-themes.sourceforge.net/
2234 + "&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
2235 + "Fvwm &Man Pages%mini.book1.xpm%" Popup FvwmManPage
2237 + "&Browser%mini.folder.xpm%" Menu MenuBrowser
2238 + "Browser (&cached)%mini.folder.xpm%" Menu MenuBrowserCached
2239 AddToMenu Documents MissingSubmenuFunction FuncFvwmMenuDirectory
2240 + "&Root dir%mini.folder.xpm%" Popup /
2241 + "&Home dir%mini.folder.xpm%" Popup ~
2243 DestroyMenu MenuBrowser
2245 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'
2247 DestroyMenu MenuBrowserCached
2249 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'
2251 DestroyFunc FuncFvwmMenuDirectory
2253 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'
2255 #------------- FvwmManPage
2257 DestroyFunc ViewManPage
2258 AddToFunc ViewManPage
2259 + I Exec exec xterm -g 80x40 -e man $0
2261 DestroyMenu FvwmManPage
2262 AddToMenu FvwmManPage "Fvwm Man Pages" Title
2263 + "%mini.book1.xpm%fvwm" ViewManPage fvwm
2264 + "%mini.book1.xpm%FvwmAnimate" ViewManPage FvwmAnimate
2265 + "%mini.book1.xpm%FvwmAuto" ViewManPage FvwmAuto
2266 + "%mini.book1.xpm%FvwmBacker" ViewManPage FvwmBacker
2267 + "%mini.book1.xpm%FvwmBanner" ViewManPage FvwmBanner
2268 + "%mini.book1.xpm%FvwmButtons" ViewManPage FvwmButtons
2269 + "%mini.book1.xpm%FvwmCommand" ViewManPage FvwmCommand
2270 + "%mini.book1.xpm%FvwmConsole" ViewManPage FvwmConsole
2271 + "%mini.book1.xpm%FvwmConsoleC.pl" ViewManPage FvwmConsoleC.pl
2272 + "%mini.book1.xpm%FvwmCpp" ViewManPage FvwmCpp
2273 + "%mini.book1.xpm%FvwmDebug" ViewManPage FvwmDebug
2274 + "%mini.book1.xpm%FvwmDragWell" ViewManPage FvwmDragWell
2275 + "%mini.book1.xpm%FvwmEvent" ViewManPage FvwmEvent
2276 + "%mini.book1.xpm%FvwmForm" ViewManPage FvwmForm
2277 + "%mini.book1.xpm%FvwmGtk" ViewManPage FvwmGtk
2278 + "%mini.book1.xpm%FvwmGtkDebug" ViewManPage FvwmGtkDebug
2279 + "%mini.book1.xpm%FvwmIconBox" ViewManPage FvwmIconBox
2280 + "%mini.book1.xpm%FvwmIconMan" ViewManPage FvwmIconMan
2281 + "%mini.book1.xpm%FvwmIdent" ViewManPage FvwmIdent
2282 + "%mini.book1.xpm%FvwmM4" ViewManPage FvwmM4
2283 + "%mini.book1.xpm%FvwmPager" ViewManPage FvwmPager
2284 + "%mini.book1.xpm%FvwmPerl" ViewManPage FvwmPerl
2285 + "%mini.book1.xpm%FvwmProxy" ViewManPage FvwmProxy
2286 + "%mini.book1.xpm%FvwmRearrange" ViewManPage FvwmRearrange
2287 + "%mini.book1.xpm%FvwmSave" ViewManPage FvwmSave
2288 + "%mini.book1.xpm%FvwmSaveDesk" ViewManPage FvwmSaveDesk
2289 + "%mini.book1.xpm%FvwmScript" ViewManPage FvwmScript
2290 + "%mini.book1.xpm%FvwmScroll" ViewManPage FvwmScroll
2291 + "%mini.book1.xpm%FvwmTaskBar" ViewManPage FvwmTaskBar
2292 + "%mini.book1.xpm%FvwmTheme" ViewManPage FvwmTheme
2293 + "%mini.book1.xpm%FvwmWharf" ViewManPage FvwmWharf
2294 + "%mini.book1.xpm%FvwmWinList" ViewManPage FvwmWinList
2295 + "%mini.book1.xpm%FvwmWindowMenu" ViewManPage FvwmWindowMenu
2297 + "%mini.book1.xpm%fvwm-config" ViewManPage fvwm-config
2298 + "%mini.book1.xpm%fvwm-perllib" ViewManPage fvwm-perllib
2299 + "%mini.book1.xpm%fvwm-root" ViewManPage fvwm-root
2300 + "%mini.book1.xpm%fvwm-bug" ViewManPage fvwm-bug
2301 + "%mini.book1.xpm%fvwm-convert-2.2" ViewManPage fvwm-convert-2.2
2302 + "%mini.book1.xpm%fvwm-convert-2.4" ViewManPage fvwm-convert-2.4
2303 + "%mini.book1.xpm%fvwm-convert-2.6" ViewManPage fvwm-convert-2.6
2305 + "%mini.book1.xpm%fvwm-menu-desktop" ViewManPage fvwm-menu-desktop
2306 + "%mini.book1.xpm%fvwm-menu-directory" ViewManPage fvwm-menu-directory
2307 + "%mini.book1.xpm%fvwm-menu-headlines" ViewManPage fvwm-menu-headlines
2308 + "%mini.book1.xpm%fvwm-menu-xlock" ViewManPage fvwm-menu-xlock
2310 #------------------------------------------------------------------------------
2311 #--------- ScreenSaver
2312 #------------------------------------------------------------------------------
2316 + "&Screensaver%mini.display.xpm%" Exec exec xlock -nolock -nice 19 -mode random
2317 + "Screen&lock%mini.lock.xpm%" Exec exec xlock -nice 19 -mode random
2319 + "&Screensaver%mini.display.xpm%" Popup MenuSSaver #!E xlock
2320 + "Sc&reen&lock%mini.lock.xpm%" Popup MenuSLock #!E xlock
2321 + "" Nop #!E xscreensaver
2322 + "(Re)start &XscreenSaver%mini.display.xpm%" Exec xscreensaver-command -exit ; exec xscreensaver -no-splash
2323 + "&Stop XscreenSaver%mini.cross.xpm%" Exec exec xscreensaver-command -exit
2324 + "XscreenSaver &Demo%mini.display.xpm%" Exec xscreensaver-command -exit ; exec xscreensaver; exec xscreensaver-command -demo
2325 + "" Nop #!E xscreensaver
2326 + "&Locked XscreenSaver%mini.lock.xpm%" Exec exec xscreensaver-command -lock
2327 + "&Activate XscreenSaver%mini.display.xpm%" Exec exec xscreensaver-command -activate
2330 PipeRead 'fvwm-menu-xlock -n MenuSSaver -t "Screensaver" -icon-item mini.bball.xpm -- -nice 19 -nolock' #!E xlock
2331 PipeRead 'fvwm-menu-xlock -n MenuSLock -t "Lock Screen" -icon-item mini.rball.xpm -- -nice 19' #!E xlock
2333 #------------------------------------------------------------------------------
2335 #------------------------------------------------------------------------------
2338 AddToMenu Restart "Restart Window Manager" Title
2339 + "&Restart Self%mini.turn.xpm%" Restart
2341 + "&fvwm-themes-start%mini.fvwm.xpm%" Restart fvwm-themes-start
2342 + "&fvwm%mini.fvwm.xpm%" Restart fvwm -s
2343 + "&fvwm2%mini.fvwm.xpm%" Restart fvwm2 -s
2344 + "&fvwm95%mini.fvwm.xpm%" Restart fvwm95 -s
2345 + "&AnotherLevel%mini.fvwm.xpm%" Restart AnotherLevel
2346 + "&AnotherLevelUp%mini.fvwm.xpm%" Restart AnotherLevelUp
2348 + "&afterstep%mini.windows.xpm%" Restart afterstep
2349 + "&blackbox%mini.windows.xpm%" Restart blackbox
2350 + "&enlightenment%mini.windows.xpm%" Restart enlightenment
2351 + "&flwm%mini.windows.xpm%" Restart flwm
2352 + "&icewm%mini.windows.xpm%" Restart icewm
2353 + "&kwm%mini.windows.xpm%" Restart kwm
2354 + "&mwm%mini.mwm.xpm%" Restart mwm
2355 + "&olvwm%mini.olwm.xpm%" Restart olvwm
2356 + "&sawfish%mini.windows.xpm%" Restart sawfish
2357 + "&sawmill%mini.windows.xpm%" Restart sawmill
2358 + "&scwm%mini.windows.xpm%" Restart scwm
2359 + "&twm%mini.twm.xpm%" Restart twm
2360 + "&uwm%mini.windows.xpm%" Restart uwm
2361 + "&wm2%mini.windows.xpm%" Restart wm2
2362 + "&wmaker%mini.windows.xpm%" Restart wmaker
2363 + "&wmx%mini.windows.xpm%" Restart wmx
2364 + "&xfwm%mini.windows.xpm%" Restart xfwm
2366 + "Just &xterm%mini.term.xpm%" Restart xterm
2367 # A bit dangerous in a menu
2369 #+ "Halt%mini.stop.xpm%" Exec exec shutdown -h now
2370 #+ "Reboot%mini.lightbolt-full.xpm%" Exec exec shutdown -r now
2373 #------------------------------------------------------------------------------
2374 #------------- Windows Operations
2375 #------------------------------------------------------------------------------
2377 #-----------------------------------------------------------------------------
2378 # The "root" windows ops menu (Mouse 2)
2380 DestroyMenu "Window"
2381 AddToMenu "Window" "Window Operations" Title
2382 + "&Move%mini.move1.xpm%" Move
2383 + "&Resize%mini.resize3.xpm%" Resize
2384 + "(De)&Iconify%mini.iconify1.xpm%" Iconify
2385 + "(Un)M&aximize%mini.maximize1.xpm%" Maximize 100 100
2386 + "(Un)Max&wide%mini.maximize-horiz1.xpm%" Maximize 100 0
2387 + "(Un)Max&tall%mini.maximize-vert1.xpm%" Maximize 0 100
2388 + "(Un)&Shade%mini.shade1.xpm%" WindowShade
2389 + "(Un)S&tick%mini.stick1.xpm%" Stick
2390 + "R&aise%mini.raise2.xpm%" Raise
2391 + "&Lower%mini.lower2.xpm%" Lower
2393 + "&Delete%mini.cross.xpm%" Delete
2394 + "&Close%mini.delete.xpm%" Close
2395 + "&Destroy%mini.bomb.xpm%" Destroy
2397 + "Move to &Page%mini.move1.xpm%" Popup Move-window
2398 + "&Group Ops%mini.windows.xpm%" Popup WindowGroupOps
2399 + "&Window Style%mini.window.xpm%" Popup WindowStyle
2400 + "&Rearrange/Scroll%mini.windows.xpm%" Popup WinRearrange
2402 + "&Identify%mini.question.xpm%" Module FvwmIdent
2403 + "Switch &to...%mini.windows.xpm%" WindowList
2405 #------------------------------------------------------------------------------
2406 # A trimmed down version of "Window Ops", good for binding to decorations
2408 DestroyMenu "Window-Ops2"
2409 AddToMenu "Window-Ops2"
2410 + "&Move%mini.move1.xpm%" Move
2411 + "&Resize%mini.resize3.xpm%" Resize
2412 + "(De)&Iconify%mini.iconify1.xpm%" Iconify
2413 + "(Un)M&aximize%mini.maximize1.xpm%" Maximize 100 100
2414 + "(Un)Max&wide%mini.maximize-horiz1.xpm%" Maximize 100 0
2415 + "(Un)Max&tall%mini.maximize-vert1.xpm%" Maximize 0 100
2416 + "(Un)&Shade%mini.shade1.xpm%" WindowShade
2417 + "(Un)S&tick%mini.stick1.xpm%" Stick
2418 #+ "R&aiseLower%mini.raise2.xpm%" RaiseLower
2420 + "&Close%mini.delete.xpm%" Close
2422 + "&Identify%mini.question.xpm%" Module FvwmIdent
2423 + "More&...%mini.window.xpm%" Menu Window This 0 0
2425 #------------------------------------------------------------------------------
2426 # A trimmed down version of "Window Ops", good for binding to TaskBar,
2427 # WinList ... buttons
2429 DestroyMenu "Window-Ops3"
2430 AddToMenu "Window-Ops3"
2431 + "Move to &Page%mini.move1.xpm%" Popup Move-window
2432 + "&Group Ops%mini.windows.xpm%" Popup WindowGroupOps
2434 + "(De)&Iconify%mini.iconify1.xpm%" Iconify
2435 + "(Un)&Shade%mini.shade1.xpm%" WindowShade
2436 + "(Un)S&tick%mini.stick1.xpm%" Stick
2437 + "(Un)M&aximize%mini.maximize1.xpm%" Maximize 95 95
2438 + "%mini.window.xpm%Scroll&Bar (75%% scr)" Module FvwmScroll 75p 75p
2440 + "&Close%mini.delete.xpm%" Close
2442 + "&Identify%mini.question.xpm%" Module FvwmIdent
2443 + "More&...%mini.window.xpm%" Menu Window This 0 0
2446 #------------------------------------------------------------------------------
2447 # A "Move Window" menu
2449 DestroyMenu "Move-Window"
2450 AddToMenu "Move-Window" "Move to ..." Title
2451 + 'Page &1%mini.move1.xpm%' MoveToPage 0 0
2452 + 'Page &2%mini.move1.xpm%' MoveToPage 1 0
2453 + 'Page &3%mini.move1.xpm%' MoveToPage 0 1
2454 + 'Page &4%mini.move1.xpm%' MoveToPage 1 1
2456 + '&Fvwm%mini.move1.xpm%' MoveToDesk 0 0
2457 + '&Devel%mini.move1.xpm%' MoveToDesk 0 1
2458 + '&Internet%mini.move1.xpm%' MoveToDesk 0 2
2459 + '&Misc%mini.move1.xpm%' MoveToDesk 0 3
2461 #------------------------------------------------------------------------------
2462 # A group version of WindowOps
2464 DestroyMenu WindowGroupOps
2465 AddToMenu WindowGroupOps "Group Ops" Title
2466 + "&Iconify%mini.iconify1.xpm%" Pick All ($c) Iconify on
2467 + "&DeIconify%mini.iconify1.xpm%" Pick All ($c) Iconify off
2468 + "&Shade%mini.shade1.xpm%" Pick All ($c) WindowShade on
2469 + "&UnShade%mini.shade1.xpm%" Pick All ($c) WindowShade off
2470 + "R&aise%mini.raise2.xpm%" Pick All ($c) Raise
2471 + "&Lower%mini.lower2.xpm%" Pick All ($c) Lower
2473 + "&Delete%mini.cross.xpm%" Pick Delete
2474 + "&Close%mini.delete.xpm%" Pick Close
2475 + "&Destroy%mini.bomb.xpm%" Pick Destroy
2476 + "&Quick move to ..." Title
2477 + 'Page &1%mini.move1.xpm%' Pick All ($c) MoveToPage 0 0
2478 + 'Page &2%mini.move1.xpm%' Pick All ($c) MoveToPage 1 0
2479 + 'Page &3%mini.move1.xpm%' Pick All ($c) MoveToPage 0 1
2480 + 'Page &4%mini.move1.xpm%' Pick All ($c) MoveToPage 1 1
2482 + '&Fvwm%mini.move1.xpm%' Pick All ($c) MoveToDesk 0 0
2483 + '&Devel%mini.move1.xpm%' Pick All ($c) MoveToDesk 0 1
2484 + '&Internet%mini.move1.xpm%' Pick All ($c) MoveToDesk 0 2
2485 + '&Misc%mini.move1.xpm%' Pick All ($c) MoveToDesk 0 3
2487 DestroyMenu WindowStyle
2488 AddToMenu WindowStyle
2489 + "%mini.window.xpm%Title&AtTop" Pick (CirculateHit) Style $n TitleAtTop
2490 + "%mini.window.xpm%&NoTitle" Pick (CirculateHit) Style $n !Title
2491 + "%mini.window.xpm%&Title" Pick (CirculateHit) Style $n !Title
2492 + "%mini.window.xpm%TitleAt&Bottom" Pick (CirculateHit) Style $n TitleAtBottom
2494 + "%mini.raise2.xpm%StaysOn&Top" Pick (CirculateHit) StyleAndRecapture $n StaysOnTop
2495 + "%mini.window.xpm%Stays&Put" Pick (CirculateHit) StyleAndRecapture $n StaysPut
2496 + "%mini.lower2.xpm%StaysOn&Bottom" Pick (CirculateHit) StyleAndRecapture $n StaysOnBottom
2498 + "%mini.window.xpm%&FvwmBorder" Pick (CirculateHit) Style $n FvwmBorder
2499 + "%mini.window.xpm%&MWMBorder" Pick (CirculateHit) Style $n MWMBorder
2500 + "%mini.window.xpm%&DepressableBorder" Pick (CirculateHit) Style $n DepressableBorder
2501 + "%mini.window.xpm%&FirmBorder" Pick (CirculateHit) Style $n FirmBorder
2502 + "%mini.window.xpm%&Handles" Pick (CirculateHit) Style $n Handles
2503 + "%mini.window.xpm%&NoHandles" Pick (CirculateHit) Style $n !Handles
2504 + "%mini.window.xpm%BorderWidth &0" Pick (CirculateHit) Style $n BorderWidth 0
2505 + "%mini.window.xpm%BorderWidth &5" Pick (CirculateHit) Style $n BorderWidth 5
2506 + "%mini.window.xpm%HandleWidth &0" Pick (CirculateHit) Style $n HandleWidth 0
2507 + "%mini.window.xpm%HandleWidth &7" Pick (CirculateHit) Style $n HandleWidth 7
2509 + "%mini.resize3.xpm%&ResizeOpaque" Pick (CirculateHit) Style $n ResizeOpaque
2510 + "%mini.resize3.xpm%Resize&Outline" Pick (CirculateHit) Style $n ResizeOutline
2511 + "%mini.mouse.xpm%Sloppy&Focus" Pick (CirculateHit) Style $n SloppyFocus
2512 + "%mini.mouse.xpm%&ClickToFocus" Pick (CirculateHit) Style $n ClickToFocus
2513 + "%mini.mouse.xpm%&MouseFocus" Pick (CirculateHit) Style $n MouseFocus
2514 + "%mini.mouse.xpm%&NeverFocus" Pick (CirculateHit) Style $n NeverFocus
2516 DestroyMenu WinRearrange
2517 AddToMenu WinRearrange
2518 + "&Cascade%mini.windows.xpm%" FvwmRearrange -cascade -m 3 3 -incx 2
2519 + "Tile &horizontally%mini.windows.xpm%" FvwmRearrange -tile -h -m 2 2 98 98
2520 + "Tile &vertically%mini.windows.xpm%" FvwmRearrange -tile -m 2 2 98 98
2522 + "&ScrollBar (1/2 app)%mini.window.xpm%" Module FvwmScroll 2 2
2523 + "%mini.window.xpm%&Scroll&Bar (75%% scr)" Module FvwmScroll 75p 75p
2525 + "&Arrange Icons%mini.icons.xpm%" All (CurrentDesk Iconic) RecaptureWindow
2526 + "&Refresh Screen%mini.ray.xpm%" Refresh
2528 #----------------------------------------------------------------------------
2529 # Use the winops menus styles for the "Windows Operations Menus"
2530 # Use it also for big menu
2532 ChangeMenuStyle winops Window Window-Ops2 Window-Ops3 Move-Window WindowGroupOps WindowStyle WinRearrange Back-Solid Back-Gradient FvwmManPage MenuSSaver MenuSLock
2535 #-----------------------------------------------------------------------------#
2537 # 11. Definitions used by the modules
2538 # (Alphabetic order is used, but the Form are at the end)
2539 #-----------------------------------------------------------------------------#
2541 #------------------------------------------------------------------------------
2542 #------------------ FvwmBacker
2543 #------------------------------------------------------------------------------
2545 *FvwmBacker: Command(Desk 0, Page * *) -solid Blue
2546 *FvwmBacker: Command(Desk 1, Page * *) -solid \#7F4B7F
2547 *FvwmBacker: Command(Desk 2, Page * *) -solid midnightblue
2548 *FvwmBacker: Command(Desk 3, Page * *) -solid black
2550 #------------------------------------------------------------------------------
2551 #------------------ FvwmBanner
2552 #------------------------------------------------------------------------------
2553 Style FvwmBanner !Title, Sticky, StaysOnTop, WindowListSkip, CirculateSkip
2554 *FvwmBannerTimeout 2
2556 #------------------------------------------------------------------------------
2557 #------------------ FvwmButtons: BarButtons
2558 #------------------------------------------------------------------------------
2560 Style BarButtons !Title, !Handles, Sticky, WindowListSkip, \
2561 BorderWidth 4, CirculateSkip
2563 DestroyModuleConfig BarButtons: *
2564 *BarButtons: Fore Black
2565 *BarButtons: Back #c3c3c3
2566 *BarButtons: Font "xft:sans-serif:Bold:pixelsize=10;-*-helvetica-bold-r-*-*-10-*-*-*-*-*-*-*"
2567 # Geometry - really likes to pick its own size, but giving a position is OK
2568 # Warning: I've added a size geometry to avoid pbs if the fvwm_icons are
2569 # not in the image path ! Remove the size in this geometry especially if
2571 *BarButtons: Geometry 120x445-5-84
2572 # Layout: specify rows or columns, not both
2573 *BarButtons: Columns 2
2575 #LAPTOP 1 Are you a laptop user ?
2576 #*BarButtons: (2x1, Title "xapm", Swallow(Kill) "xapm" "Exec exec xapm -geometry -1500-1500 -p")
2577 # Define the buttons to use.....
2579 *BarButtons: (1x2, Title FileMgr, Icon Xfm.xpm, Action 'Exec exec xfm')
2580 *BarButtons: (1x2, Title terminal, Icon rterm2.xpm, Action 'Exec exec xterm')
2581 *BarButtons: (1x2, Title editor, Icon lemacs.xpm, Action 'Exec exec emacs')
2582 *BarButtons: (1x2, Title xv, Icon xv.xpm, Action 'Exec exec xv', \
2583 Action(Mouse 2) 'Exec exec ee', \
2584 Action(Mouse 3) 'Exec exec gqview')
2585 *BarButtons: (1x2, Title Gimp, Icon gimp.xpm, Action 'Exec exec gimp', \
2586 Action(Mouse 2) 'Exec exec xpaint', \
2587 Action(Mouse 3) 'Exec exec kiconedit')
2588 *BarButtons: (1x2, Title gview, Icon gv.xpm, Action 'Exec exec ghostview', \
2589 Action(Mouse 2) 'Exec exec xdvi', \
2590 Action(Mouse 3) 'Exec exec xpdf')
2591 *BarButtons: (1x2, Title www, Icon nscape.xpm, Action 'Exec exec netscape', \
2592 Action(Mouse 2) 'Exec exec vppp', \
2593 Action(Mouse 3) 'Exec exec xterm -geometry 80x30 -e mutt')
2594 *BarButtons: (1x2, Padding 0 0, Container(Padding 0 0, Frame 2, Columns 3))
2595 *BarButtons: (Icon mini.move1.xpm, Action Move)
2596 *BarButtons: (Icon mini.resize3.xpm, Action Resize)
2597 *BarButtons: (Icon mini.iconify1.xpm, Action Iconify)
2598 *BarButtons: (Icon mini.maximize1.xpm, Action Maximize 90 90)
2599 *BarButtons: (Icon mini.shade1.xpm, Action WindowShade)
2600 *BarButtons: (Icon mini.stick1.xpm, Action Stick)
2601 *BarButtons: (Icon mini.cross.xpm, Action Delete)
2602 *BarButtons: (Icon mini.bomb.xpm, Action Destroy)
2603 *BarButtons: (Icon mini.question.xpm, Action Module FvwmIdent)
2605 *BarButtons: (1x2, Title "xload", Swallow "xload" "Exec exec nice -16 \
2606 xload -nolabel -update 4 -bg grey59 -hl grey70 \
2607 -geometry -1500-1500")
2608 *BarButtons: (1x2, Title "xclock", Swallow "xclock" "Exec \
2609 exec xclock -padding 0 -geometry -1500-1500")
2610 *BarButtons: (2x2, Swallow "FvwmPagerPager" 'FvwmPager FvwmPagerPager * *')
2612 #------------------------------------------------------------------------------
2613 #------------------ FvwmButtons: MiniButtons
2614 #------------------------------------------------------------------------------
2616 Style "MiniButtons" !Title, !Handles, Sticky, WindowListSkip, \
2617 BorderWidth 0, CirculateSkip
2619 DestroyModuleConfig MiniButtons*
2620 *MiniButtons: Fore Black
2621 *MiniButtons: Back #c0c0c0
2622 *MiniButtons: Geometry -2+2
2623 *MiniButtons: Rows 1
2624 *MiniButtons: Padding 1 1
2626 *MiniButtons: - mini.term.xpm Exec exec xterm
2627 *MiniButtons: - mini.filemgr.xpm Exec exec xfm
2628 *MiniButtons: - mini.doc1.xpm Exec exec emacs
2629 *MiniButtons: - mini.calc.xpm Exec exec xcalc
2630 *MiniButtons: - mini.cd.xpm Exec exec xplaycd
2631 *MiniButtons: - mini.audiovol.xpm Exec exec xmixer
2632 *MiniButtons: - mini.happy.xpm Exec exec xmine
2633 *MiniButtons: - mini.bomb.xpm Destroy
2635 #------------------------------------------------------------------------------
2636 #------------------ FvwmButtons: DeskerPanelButtons
2637 #------------------------------------------------------------------------------
2639 Style "DeskerPanelButtons" !Title, !Handles, Sticky, WindowListSkip, \
2640 BorderWidth 0, CirculateSkip
2641 #Style "DeskerPanelButtons" StaysOnTop
2642 DestroyModuleConfig DeskerPanelButtons: *
2643 *DeskerPanelButtons: Fore Black
2644 *DeskerPanelButtons: Back grey57
2645 *DeskerPanelButtons: Geometry 12x79
2646 *DeskerPanelButtons: Rows 1
2647 *DeskerPanelButtons: Frame 1
2648 *DeskerPanelButtons: Padding 0 0
2650 *DeskerPanelButtons: (Panel(right, steps 12, delay 0, position module top, indicator10) "FvwmDesker" 'Module FvwmPager FvwmDesker 0 3')
2652 #*DeskerPanelButtons: (Panel(right, steps 0, position module top, indicator10) "FvwmDesker" 'Module FvwmPager FvwmDesker 0 3')
2654 #------------------------------------------------------------------------------
2655 #------------------ FvwmButtons: WinMakerAppButtons & WinMakerAppPanelCd
2656 #------------------------------------------------------------------------------
2657 Style "WinMakerApp*" !Title, !Handles, BorderWidth 0, Sticky, \
2658 WindowListSkip, CirculateSkip
2659 DestroyModuleConfig WinMakerAppButtons: *
2661 #-------------------------------------
2663 # We use "hands panel", the advantage is that we use the applet
2664 # in the panel only when we need it: Button 3 kill the panel
2666 *WinMakerAppButtons: Geometry +0+120
2667 *WinMakerAppButtons: Columns 1
2668 *WinMakerAppButtons: Back #c0c0c0
2669 *WinMakerAppButtons: Fore black
2670 *WinMakerAppButtons: (Frame 1, Size 64 64, \
2671 Swallow "wmjmail" 'Exec exec wmjmail', Action(Mouse 1) \
2672 'MyPanelButtons "WinMakerAppPanelMail" $right $top', \
2673 Action(Mouse 3) 'All (WinMakerAppPanelMail) Close')
2674 *WinMakerAppButtons: (Frame 1, Size 64 64, \
2675 Swallow "wmppp" 'Exec exec wmppp' Action(Mouse 1) \
2676 'MyPanelButtons "WinMakerAppPanelPPP" $right $top', \
2677 Action(Mouse 3) 'All (WinMakerAppPanelPPP) Close')
2678 *WinMakerAppButtons: (Frame 1, Size 64 64, \
2679 Swallow "wmmount" 'Exec exec wmmount -s', Action(Mouse 1) \
2680 'MyPanelButtons "WinMakerAppPanelCd" $right $top', \
2681 Action(Mouse 3) 'All (WinMakerAppPanelCd) Close')
2685 *WinMakerAppPanelMail: Rows 1
2686 *WinMakerAppPanelMail: Back #c0c0c0
2687 *WinMakerAppPanelMail: Fore black
2688 *WinMakerAppPanelMail: (Frame 1, Size 64 64, \
2689 Swallow "wmCalClock" 'Exec exec wmCalClock')
2690 *WinMakerAppPanelMail: (Frame 1, Size 64 64, \
2691 Swallow "wmglobe" 'Exec exec wmglobe')
2692 *WinMakerAppPanelMail: (Frame 1, Size 64 64, \
2693 Swallow "wmMoonClock" 'Exec exec wmMoonClock')
2697 *WinMakerAppPanelPPP: Rows 1
2698 *WinMakerAppPanelPPP: Back #c0c0c0
2699 *WinMakerAppPanelPPP: Fore black
2700 *WinMakerAppPanelPPP: (Frame 1, Size 64 64, \
2701 Swallow "wminet" 'Exec exec wminet')
2702 *WinMakerAppPanelPPP: (Frame 1, Size 64 64, \
2703 Swallow "wmsysmon" 'Exec exec wmsysmon')
2707 *WinMakerAppPanelCd: Rows 1
2708 *WinMakerAppPanelCd: Back #c0c0c0
2709 *WinMakerAppPanelCd: Fore black
2710 *WinMakerAppPanelCd: (Frame 1, Size 64 64, \
2711 Swallow "wmmixer" 'Exec exec wmmixer -s')
2712 *WinMakerAppPanelCd: (Frame 1, Size 64 64, \
2713 Swallow "wmcdplay" 'Exec exec wmcdplay -s')
2715 #------------------------------------------------------------------------------
2716 #------------------ FvwmEvent
2717 #------------------------------------------------------------------------------
2719 DestroyModuleConfig FvwmEvent: *
2721 # replace rplay by a sound player that can play .au sound file
2722 *FvwmEvent: Cmd "Exec exec rplay "
2724 *FvwmEvent: StartDelay 3
2727 *FvwmEvent: startup "/usr/share/sounds/gong.au"
2728 *FvwmEvent: add_window "/usr/share/sounds/wipe.au"
2729 *FvwmEvent: destroy_window "/usr/share/sounds/pook.au"
2730 *FvwmEvent: iconify "/usr/share/sounds/clong.au"
2731 *FvwmEvent: deiconify "/usr/share/sounds/clong.au"
2732 *FvwmEvent: windowshade "/usr/share/sounds/slide.au"
2733 *FvwmEvent: dewindowshade "/usr/share/sounds/slide.au"
2734 *FvwmEvent: new_page "/usr/share/sounds/slide.au"
2735 *FvwmEvent: new_desk "/usr/share/sounds/slide.au"
2737 #------------------------------------------------------------------------------
2738 #------------------ FvwmGtk for GNOME menus
2739 #------------------------------------------------------------------------------
2742 *FvwmGtk: IconSize 22 22
2744 #*FvwmGtk: Destroy "gnome-sys"
2746 #PipeRead "fvwm-menu-desktop --desktop gnome-sys --install-prefix /usr --type gtk --enable-mini-icons"
2748 #*FvwmGtk: Destroy "gnome-redhat"
2749 #PipeRead "fvwm-menu-desktop --desktop gnome-redhat --type gtk --enable-mini-icons"
2751 #*FvwmGtk: Destroy "gnome-user"
2752 #PipeRead "fvwm-menu-desktop --desktop gnome-user --type gtk --enable-mini-icons"
2754 #------------------------------------------------------------------------------
2755 #------------------ IconBox
2756 #------------------------------------------------------------------------------
2757 Style "FvwmIconBox" !Title, !Handles, Sticky, WindowListSkip, CirculateSkip
2759 DestroyModuleConfig FvwmIconBox: *
2760 *FvwmIconBox: Back #c0c0c0
2761 *FvwmIconBox: Fore Black
2763 *FvwmIconBox: IconHiBack Blue4
2765 #*FvwmIconBox: IconHiBack SlateBlue
2766 *FvwmIconBox: IconHiFore white
2767 *FvwmIconBox: Geometry +0-0
2768 *FvwmIconBox: MaxIconSize 48x48
2769 *FvwmIconBox: Font "xft:sans-serif:Bold:pixelsize=12;-*-helvetica-bold-r-*-*-12-*-*-*-*-*-*-*"
2770 *FvwmIconBox: SortIcons IconName
2771 #*FvwmIconBox: SortIcons ResClass
2772 *FvwmIconBox: Padding 10
2773 *FvwmIconBox: FrameWidth 0 0
2774 *FvwmIconBox: Lines 6
2775 *FvwmIconBox: SBWidth 11
2776 *FvwmIconBox: Placement Left Top
2777 *FvwmIconBox: HideSC Horizontal
2778 *FvwmIconBox: SetWMIconSize
2779 *FvwmIconBox: HilightFocusWin
2780 *FvwmIconBox: Resolution Desk
2781 *FvwmIconBox: UseSkipList
2783 *FvwmIconBox: Mouse 1 Click DeiconifyFocusAndRaise
2784 *FvwmIconBox: Mouse 1 DoubleClick DeiconifyFocusAndWarp
2785 *FvwmIconBox: Mouse 2 Click Iconify
2786 *FvwmIconBox: Mouse 3 DoubleClick Iconify off
2787 *FvwmIconBox: Mouse 3 Click Menu Window-Ops3 c+0 -101m
2788 *FvwmIconBox: Mouse 3 DoubleClick FvwmIdent
2790 *FvwmIconBox: Key r RaiseLower
2791 *FvwmIconBox: Key space Iconify
2792 *FvwmIconBox: Key d Close
2793 # FvwmIconBox built-in functions
2794 *FvwmIconBox: Key n Next
2795 *FvwmIconBox: Key p Prev
2796 *FvwmIconBox: Key h Left
2797 *FvwmIconBox: Key j Down
2798 *FvwmIconBox: Key k Up
2799 *FvwmIconBox: Key l Right
2801 *FvwmIconBoxNoIconAction SendToModule FvwmAnimate animate
2803 #------------------------------------------------------------------------------
2804 #------------------ IconMan
2805 #------------------------------------------------------------------------------
2806 Style "FvwmIconMan" !Title, !Handles, Sticky, WindowListSkip, CirculateSkip
2808 DestroyModuleConfig FvwmIconMan: *
2811 *FvwmIconMan: nummanagers 2
2812 #global, desk, or page
2813 #*FvwmIconMan: Resolution page
2814 *FvwmIconMan: Resolution global
2815 #*FvwmIconMan: Resolution desk
2816 *FvwmIconMan: background #c0c0c0
2817 *FvwmIconMan: foreground Black
2818 *FvwmIconMan: plainbutton up Black #c0c0c0
2819 *FvwmIconMan: selectbutton down Black #c0c0c0
2821 *FvwmIconMan: focusbutton up white Blue4
2822 *FvwmIconMan: focusandselectbutton down white Blue4
2824 #*FvwmIconMan: focusbutton up white SlateBlue
2825 #*FvwmIconMan: focusandselectbutton down white SlateBlue
2826 *FvwmIconMan: iconbutton down Black grey51
2827 *FvwmIconMan: font "xft:sans-serif:Medium:pixelsize=12;-*-times-bold-r-*-*-12-*-*-*-*-*-*-*"
2828 *FvwmIconMan: followfocus true
2829 *FvwmIconMan: usewinlist true
2830 *FvwmIconMan: sort name
2831 *FvwmIconMan: drawicons always
2832 *FvwmIconMan: 2 title "Icon Man"
2834 *FvwmIconMan: 1 title " emacs windows"
2835 *FvwmIconMan: 1 iconname "FvwmIconMan: emacs"
2836 *FvwmIconMan: 1 format "%i"
2837 *FvwmIconMan: 1 show resource=*macs
2838 *FvwmIconMan: 2 managergeometry 1x0+0-0
2839 *FvwmIconMan: 1 managergeometry 1x0+260-0
2840 *FvwmIconMan: 1 buttongeometry 200x22
2841 *FvwmIconMan: 2 buttongeometry 250x22
2843 *FvwmIconMan: action Mouse 1 N sendcommand DeiconifyFocusAndRaise
2844 *FvwmIconMan: action Mouse 2 N sendcommand Iconify
2845 *FvwmIconMan: action Mouse 3 N sendcommand "Menu Window-Ops3 c+0 -101m "
2846 *FvwmIconMan: action Key Left N gotobutton Left, select
2847 *FvwmIconMan: action Key Right N gotobutton Right, select
2848 *FvwmIconMan: action Key Up N gotobutton Up, select
2849 *FvwmIconMan: action Key Down N gotobutton Down, select
2850 *FvwmIconMan: action Key q A quit
2851 *FvwmIconMan: action Key i A sendcommand Iconify
2852 *FvwmIconMan: action Key g A sendcommand IconManGlobal
2853 *FvwmIconMan: action Key p A sendcommand IconManPage
2854 *FvwmIconMan: action Key d A sendcommand IconManDesk
2856 *FvwmIconMan: NoIconAction "SendToModule FvwmAnimate animate"
2858 #------------------------------------------------------------------------------
2859 #------------------ Identify
2860 #------------------------------------------------------------------------------
2861 Style "FvwmIdent" Sticky, !Button 2, !Button 4, !Button 6
2863 *FvwmIdent: Back Blue4
2864 *FvwmIdent: Fore Yellow
2865 *FvwmIdent: Font ""xft:sans-serif:Medium;-adobe-times-medium-r-*-*-14-*-*-*-*-*-*-*
2867 #------------------------------------------------------------------------------
2868 #------------------ FvwmPager: Swallowed by ButtonBar
2869 #------------------------------------------------------------------------------
2870 Style "FvwmPagerPager" !Title, !Handles, Sticky, WindowListSkip, CirculateSkip
2872 DestroyModuleConfig FvwmPagerPager: *
2873 *FvwmPagerPager: UseSkipList
2874 *FvwmPagerPager: Back grey60
2875 *FvwmPagerPager: Fore black
2876 *FvwmPagerPager: Font "xft:monospace:Bold:pixelsize=10;-adobe-helvetica-bold-r-*-*-10-*-*-*-*-*-*-*
2877 *FvwmPagerPager: Hilight white
2878 *FvwmPagerPager: MiniIcons
2879 *FvwmPagerPager: Balloons
2880 *FvwmPagerPager: BalloonFore black
2881 *FvwmPagerPager: BalloonBack bisque
2882 *FvwmPagerPager: BalloonFont "xft:monospace:Medium:pixelsize=10;-*-fixed-medium-r-*-*-10-*-*-*-*-*-*-*"
2883 *FvwmPagerPager: Geometry 319x69+5000+5000
2885 *FvwmPagerPager: WindowColors white grey51 white Blue4
2887 #*FvwmPagerPager: WindowColors white grey51 white SlateBlue
2888 *FvwmPagerPager: Label 0 Fvwm
2889 *FvwmPagerPager: Label 1 Development
2890 *FvwmPagerPager: Label 2 Internet
2891 *FvwmPagerPager: Label 3 Misc
2892 *FvwmPagerPager: SmallFont "xft:sans-serif:Medium:pixelsize=8;-*-fixed-medium-r-*-*-8-*-*-*-*-*-*-*"
2894 #------------------------------------------------------------------------------
2895 #------------------ FvwmPager: FvwmDesker, the panel of StartPagerButtons
2896 #------------------------------------------------------------------------------
2897 Style "FvwmDesker" !Title, !Handles, Sticky, WindowListSkip, CirculateSkip
2899 DestroyModuleConfig FvwmDesker: *
2900 *FvwmDesker: UseSkipList
2901 *FvwmDesker: Back grey60
2902 *FvwmDesker: Fore black
2903 *FvwmDesker: Font "xft:monospace:Bold:pixelsize=10;-*-helvetica-bold-r-*-*-10-*-*-*-*-*-*-*"
2904 *FvwmDesker: Hilight white
2905 *FvwmDesker: Geometry 319x69+5000+5000
2906 *FvwmDesker: MiniIcons
2907 *FvwmDesker: Balloons
2908 *FvwmDesker: BalloonFore black
2909 *FvwmDesker: BalloonBack bisque
2910 *FvwmDesker: BalloonFont "xft:monospace:Medium:pixelsize=10;-*-fixed-medium-r-*-*-10-*-*-*-*-*-*-*"
2912 *FvwmDesker: WindowColors white grey51 white Blue4
2914 *FvwmDesker: Label 0 Fvwm
2915 *FvwmDesker: Label 1 Development
2916 *FvwmDesker: Label 2 Internet
2917 *FvwmDesker: Label 3 Misc
2918 *FvwmDesker: SmallFont "xft:sans-serif:Medium:pixelsize=8;-*-fixed-medium-r-*-*-8-*-*-*-*-*-*-*"
2920 #------------------------------------------------------------------------------
2921 #------------------ FvwmScript
2922 #------------------------------------------------------------------------------
2924 *FvwmScript: DefaultFont "xft:sans-serif:Medium:pixelsize=12;-adobe-helvetica-bold-r-*-*-12-*-*-*-*-*-*-*"
2925 *FvwmScript: DefaultFore black
2926 *FvwmScript: DefaultBack grey85
2927 *FvwmScript: DefaultHilight grey100
2928 *FvwmScript: DefaultShadow grey55
2930 #------------------------------------------------------------------------------
2931 #------------------ FvwmTaskBar
2932 #------------------------------------------------------------------------------
2934 Style "FvwmTaskBar" !Title, !Handles, Sticky, WindowListSkip, \
2935 CirculateSkip, TitleAtBottom
2936 # Note: Title at bottom is for shading.
2938 *FvwmTaskBar: Geometry +0-0
2939 *FvwmTaskBar: Fore Black
2940 *FvwmTaskBar: Back #c0c0c0
2941 *FvwmTaskBar: IconFore Black
2942 *FvwmTaskBar: IconBack grey51
2943 *FvwmTaskBar: Font "xft:sans-serif:Medium:pixelsize=12;-adobe-times-medium-r-*-*-14-*-*-*-*-*-*-*"
2944 *FvwmTaskBar: SelFont "xft:sans-serif:Bold:pixelsize=12;-adobe-times-bold-r-*-*-14-*-*-*-*-*-*-*"
2945 *FvwmTaskBar: StatusFont "xft:sans-serif:Medium:pixelsize=12;*-fixed-medium-r-*-*-12-*-*-*-*-*-*-*"
2946 *FvwmTaskBar: Action Click1 DeiconifyFocusAndRaise
2947 *FvwmTaskBar: Action Click2 Iconify
2948 *FvwmTaskBar: Action Click3 Menu Window-Ops3 c+0 -101m
2949 *FvwmTaskBar: UseSkipList
2950 *FvwmTaskBar: AutoStick
2951 *FvwmTaskBar: StartName Start
2952 *FvwmTaskBar: StartMenu StartMenu mouse -100p -100m
2953 *FvwmTaskBar: StartIcon mini.penguin.xpm
2954 *FvwmTaskBar: ShowTips
2955 *FvwmTaskBar: ShowTransients
2956 #*FvwmTaskBar: HighlightFocus
2957 *FvwmTaskBar: AutoHide
2958 *FvwmTaskBar: DeskOnly
2959 *FvwmTaskBar: NoIconAction SendToModule FvwmAnimate animate
2961 #------------------------------------------------------------------------------
2962 #------------------ FvwmWharf
2963 #------------------------------------------------------------------------------
2965 Style "FvwmWharf" !Title, !Handles, Sticky, WindowListSkip, \
2966 BorderWidth 2, CirculateSkip
2968 DestroyModuleConfig FvwmWharf: *
2970 *FvwmWharf: AnimateMain
2971 *FvwmWharf: Geometry -2-50
2972 *FvwmWharf: Columns 1
2973 *FvwmWharf: Bgcolor Grey
2974 #*FvwmWharf: ForceSize
2975 *FvwmWharf: FullPush
2977 *FvwmWharf: TextureType 1
2978 *FvwmWharf: TextureColor WhiteSmoke DarkGrey
2980 *FvwmWharf X arrows2.xpm Folder
2981 *FvwmWharf kill rbomb2.xpm Close
2982 *FvwmWharf Recycler Jrecycle.xpm Restart
2983 *FvwmWharf Exit exit.xpm FvwmForm FvwmForm-QuitVerify
2984 *FvwmWharf xlock Jlock.xpm Exec exec xlock -nice 10 -mode random
2987 *FvwmWharf term rterm2.xpm Exec exec xterm
2988 *FvwmWharf editor lemacs.xpm Exec exec emacs
2989 *FvwmWharf filemgr Xfm.xpm Exec exec xfm
2991 *FvwmWharf Y arrows2.xpm Folder
2992 *FvwmWharf netscape nscape.xpm Exec exec netscape
2993 *FvwmWharf xview xv.xpm Exec exec xv
2994 *FvwmWharf gimp gimp.xpm Exec exec gimp
2995 *FvwmWharf GV gv.xpm Exec exec ghostview
2998 *FvwmWharf xclock nil MaxSwallow "xclock" xclock -padding 0 -bg white
2999 *FvwmWharf xload nil MaxSwallow "xload" \
3000 xload -nolabel -update 5 -bg grey51 -geometry -1500-1500
3001 *FvwmWharf pager nil MaxSwallowModule "FvwmPagerPager" FvwmPager FvwmPagerPager * *
3003 #------------------------------------------------------------------------------
3004 #------------------ FvwmWinList
3005 #------------------------------------------------------------------------------
3006 Style "FvwmWinList" !Title, Sticky, WindowListSkip, CirculateSkip
3008 DestroyModuleConfig FvwmWinList: *
3009 *FvwmWinList: Back #c3c3c3
3010 *FvwmWinList: Fore Black
3012 *FvwmWinList: FocusBack Blue4
3014 #*FvwmWinList: FocusBack SlateBlue
3015 *FvwmWinList: FocusFore white
3016 *FvwmWinList: IconBack grey51
3017 *FvwmWinList: IconFore Black
3018 *FvwmWinList: Font "xft:sans-serif:Medium:pixelsize=12;-adobe-helvetica-bold-r-*-*-12-*-*-*-*-*-*-*"
3019 *FvwmWinList: Action Click1 DeiconifyFocusAndRaise
3020 *FvwmWinList: Action Click2 Iconify
3021 *FvwmWinList: Action Click3 Menu Window-Ops3 c+0 -101m
3022 *FvwmWinList: UseSkipList
3023 *FvwmWinList: ShowCurrentDesk
3024 *FvwmWinList: MinWidth 180
3025 *FvwmWinList: MaxWidth 250
3026 *FvwmWinList: Geometry +0-0
3027 *FvwmWinList: NoIconAction SendToModule FvwmAnimate animate
3030 #-----------------------------------------------------------------------------#
3032 # THAT'S ALL FOLKS!!
3034 #-----------------------------------------------------------------------------#
3036 # -- Sample-95 MINI-FAQ --
3039 # * Why doesn't this FAQ contain my question?
3040 # * What are the default bindings?
3041 # * Some (mini-)icons are missing in menus and in some buttons!
3042 # * Does Sample-95 support themes?
3043 # * Can I use Sample-95 with GNOME?
3044 # * How can I load saved settings before starting fvwm?
3045 # * Can I use WindowMaker and AfterStep applets with fvwm?
3046 # * Who wrote this configuration file?
3048 # ----------------------------------------------------------------------------
3050 # * Why doesn't this FAQ contain my question?
3052 # Maybe because the answer is in the beginning of the configuration file
3053 # (i.e., this file!), in the fvwm FAQ or in the fvwm man pages.
3055 # ----------------------------------------
3057 # * What are the default bindings?
3062 # Mouse 1 on the root window: main menu
3063 # Mouse 2 on the root window: window operations menu
3064 # Mouse 3 on the root window: Window List of all normal applications
3065 # Ctrl-Mouse 3 on the root window: Window List of all skipped applications
3067 # Alt-Mouse x inside a window: as Mouse x on the root window
3068 # Shift-Alt-Mouse 3 inside a window: Raise or Lower
3070 # If you have built the config for gnome-session:
3071 # Shift-Mouse x on the root window gives the corresponding "GNOME button"
3073 # Mouse 1 on the title: Raise, Move for a drag, shade for a double click
3074 # Mouse 1 on the borders: Raise, Resize for a drag, shade for a double click
3075 # Mouse 1 on an icon: Move, Raise on one click, deiconify for a double
3076 # Alt-Mouse 1 on an icon; Raise all the icons
3077 # Ctrl-Mouse 1 on the borders: As mouse 1 on the title
3078 # Mouse 2 on the title or the borders: window operations menu
3079 # Mouse 2 on an icon: deiconify
3080 # Mouse 3 on the title/borders: Raise or Lower
3081 # Mouse 3 on an icon: The "modules/icons" window operations menu
3087 # Mouse 1: Window operation menu, double click: close
3088 # Mouse 2: Group operations menu
3089 # Mouse 3: Quick Move window menu
3090 # - Close button (right button)
3092 # Mouse 2: Close all the windows with the same class
3094 # - Maximize button (2nd right button)
3095 # Mouse 1: Full Maximize
3096 # Mouse 2: Maximize Horizontally
3097 # Mouse 3: Maximize Vertically
3098 # - Iconify button (3rd right button)
3100 # Mouse 2: Iconify all the windows with the same class
3101 # Mouse 3: Shade all the windows with the same class
3103 # Key bindings (anywhere):
3106 # Shift-Left/Right/Up/Down: scroll Left/Right/Up/Down by 1 page
3107 # Alt-Left/Right/Up/Down: scroll Left/Right/Up/Down by 1/10 page
3109 # Shift-Ctrl-Left/Right/Up/Down: move the pointer by 1O% of a page
3110 # Alt-Ctrl-Left/Right/Up/Down: move the pointer by 1% of a page
3112 # Alt-Ctrl-PageUp/PageDown: scroll by one desktop page
3114 # Shift-Alt-F1: Main menu
3115 # Shift-Alt-F2: Window operations menu
3116 # Shift-Alt-F3: WindowList
3117 # Shift-Alt-F4: Close
3118 # Shift-Alt-F5: RaiseLower
3119 # Shift-Alt-F6: Raise all Icons
3120 # Shift-Alt-F7: Move
3121 # Shift-Alt-F8: Resize
3122 # Shift-Alt-F9: Iconify
3123 # Shift-Alt-F10: Maximize
3124 # Shift-Alt-F11: Identify
3125 # Shift-Alt-F12: Console
3127 # Alt-Tab released at once: previous (normal) window
3128 # Alt-Tab: WindowList of all normal windows and warp to the selected window
3131 # Ctrl-Alt-Tab: WindowList of all skipped windows
3136 # You need to have fvwm compiled with stroke support (these bindings
3137 # are defined only in this case) and libstroke installed.
3138 # Mouse button 3 is used (this button must be pressed during the stroke),
3139 # no modifiers are needed when you start your mouse motion on the root
3140 # window and you must use the Alt modifier if you start your mouse motion
3141 # on a window (you cannot start your motion on a window title bar or frame).
3142 # The mouses motion:
3144 # A | from the top to the bottom: your preferred terminal
3145 # A | from the bottom to the top: your prefered editor
3146 # A / from the bottom to the top: your prefered file manager
3147 # A C from the top: xcalc
3148 # A N (from the bottom): netscape
3149 # A clockwise box from the top left: FvwmForm-QuitVerify
3151 # Add more yourself!
3153 # ----------------------------------------
3155 # * Some (mini-)icons are missing in menus and in buttons!
3157 # If you have no mini(-icons) then either your ImagePath does not contain
3158 # the directory of the fvwm_icons or you are using a RedHat/Mandrake/... rpm
3159 # version of fvwm-icons which uses mini- in the place of mini. for
3160 # mini-icons name. If only some mini(-icons) are missing, then you are using
3161 # a too old version of fvwm_icons.
3163 # ----------------------------------------
3165 # * Does Sample-95 support themes?
3167 # No. But, it is possible to hack the configuration to have an "elementary"
3168 # themes engine. The basic idea is to use FvwmTheme to propagate the colors
3169 # and to replace "Read decorations" by "Read theme" in .fvwm2rc where theme
3170 # is a symbolic link to a theme. A theme will be a file which look like
3171 # decorations plus the FvwmTheme configuration commands. Other technical
3172 # functions are needed as a function for switching between themes. This is
3173 # left to your own pleasure! Doing elaborated fvwm configurations is one of
3174 # the better games under UNIX.
3176 # If you want a powerful themes engine do not use Sample-95, it is not the
3177 # aim of this configuration. There are a powerful themes engine which is
3178 # under fast development: fvwm-themes (http://fvwm-themes.sourceforge.net/).
3181 # ----------------------------------------
3183 # * Can I use Sample-95 with GNOME?
3185 # Yes. You "need" fvwm compiled with GNOME support and it is preferable to
3186 # run fvwm under gnome-session. Also, do not forget that you have to set
3187 # FVWM_USERDIR, so start the gnome-session as
3188 # env FVWM_USERDIR="your FVWM_USERDIR" gnome-session
3189 # Of course, it is preferable to set the "build a file for gnome-session"
3190 # option of the Setup95 script. You may use the option "Try a Stays Put panel"
3191 # to put the panel in the same layer than the normal windows, but you may
3192 # have to leave GNOME/fvwm and start again X to avoid problems.
3193 # Note that under session, Sample-95 does not load your "X settings" by
3194 # default (GNOME has its own method). Moreover, read the next question for
3195 # using a different setting when you use GNOME (you may also use the
3196 # Session(Init/Restart)Function functionality, see the startup file).
3197 # One thing that you can add to your configuration file is:
3199 # where x is the number of desks you want to see in the GNOME pager at
3200 # start (if not the GNOME pager is dynamic).
3201 # Also, for leaving GNOME you must use GNOME or you must "QuitSession" for
3202 # just exiting or "Exec exec save-session --kill" for saving and exiting.
3204 # ----------------------------------------
3206 # * How can I load saved settings before starting fvwm?
3208 # Say, you want to use setting 1 under a normal fvwm session, setting 2
3209 # under a gnome-session and setting 3 under a normal fvwm session but the
3210 # shell test FOO is true. Then, your .xinitrc/.xsession file can look
3211 # as follows (where $1 is the "first" argument given by startx, or by kdm or
3217 # F="your FVWM_USERDIR"
3218 # if FOO; Then $X="3"; else $X=1; fi;
3219 # for i in $F/.FvwmAnimate $F/.FvwmForm $F/.fvwm-layers \
3220 # ~/.xinitrc-fvwm $F/.FvwmBaseConfig \ $F/.start-Background \
3221 # $F/.start-apps-man $F/.start-FvwmButtons $F/.start-DeskerPanelButtons \
3222 # $F/.start-MiniButtons $F/.start-WinMakerAppButtons \
3223 # $F/.start-FvwmAnimate $F/.start-FvwmAuto $F/.start-FvwmBanner \
3224 # $F/.start-FvwmEvent; \
3225 # do /bin/cp $i-$X $i;
3230 # F="your FVWM_USERDIR"
3231 # for i in $F/.FvwmAnimate $F/.FvwmForm $F/.fvwm-layers \
3232 # ~/.xinitrc-fvwm $F/.FvwmBaseConfig \ $F/.start-Background \
3233 # $F/.start-apps-man $F/.start-FvwmButtons $F/.start-DeskerPanelButtons \
3234 # $F/.start-MiniButtons $F/.start-WinMakerAppButtons \
3235 # $F/.start-FvwmAnimate $F/.start-FvwmAuto $F/.start-FvwmBanner \
3236 # $F/.start-FvwmEvent; \
3237 # do /bin/cp $i-2 $i;
3239 # env FVWM_USERDIR="your FVWM_USERDIR" gnome-session
3241 # ... other cases ...
3244 # ----------------------------------------
3246 # * Can I use WindowMaker and AfterStep applets with fvwm?
3248 # Yes most WM and AS applets are fvwm compliant. Moreover, sample-95 provides
3249 # a FvwmButtons for you called WinMakerAppButtons. Of course, you have to
3250 # edit the configuration of this buttons to put your preferred applets. Note
3251 # that you have an applets panel under the 3 first applets. These panels are
3252 # special: Mouse 1 (on the background of the applet) start the panel (or only
3253 # map it if it is already started) if it is not out. If the panel is out,
3254 # Mouse 1 unmaps it (but the panel applets are alive). The special thing is
3255 # that Mouse 3 *kills* the panel: this can save your cpu.
3257 # ----------------------------------------
3259 # * Who wrote this configuration file?
3261 # The starting point is "the" fvwm95 configuration file. Then, Dominik
3262 # did some work on it and in particular so that it worked fine with
3263 # fvwm-2.3.x. Later, olicha spent a lot of time with it, wrote the Setup95
3264 # Script and rewrote all the "Settings" stuff. Some ideas came from
3265 # fvwm-themes (thanks to the fvww-themes workers, and in particular migo).
3266 # Probably, some others fvwm-workers have added improvement but did not take
3267 # the time to update this answer.