Icon Box also creates "emacs windows" box I can't delete

I’m sure this is a really basic question, but I’m really new to fvwm, so… :smiley:

My .start-apps-man file contains the line, “AddToFunc StartFunction I IconManGlobal”. When I start fvwm, I get the Icon Box I want, but I also get a second box beside it that has the text, “emacs windows”. I can’t click or right-click on it to get rid of it. Is there anything I can do to prevent this second box from appearing? Thanks in advance to all who respond.

Leslie

Ok. First of all given the line:

AddToFunc StartFunction I IconManGlobal

I can tell you it’s wrong. But probably only a transposing error on your part. Is it that you meant:

AddToFunc StartFunction I Module FvwmIconBox IconManGlobal

Or did you mean:

AddToFunc StartFunction I Module FvwmIconMan IconManGlobal

It’s important that you clarify this – the best way is to host your .fvwm2rc file somewhere, since what you’ve posted won’t allow any one to help you further, I’m afraid.

– Thomas Adam

Actually, what I posted is correct – or, it may not be correct, but it is what I have in my .start-apps-man file. Should I change it to be:AddToFunc StartFunction I Module FvwmIconBox IconManGlobalBy the way, thanks for the quick response!

Leslie

We still need to see your config. That line, as Thomas Adam already said, is not correct, unless IconManGlobal is a custom function, and in that case, we have no idea about what did you put into that function.

We have absolutely no clue about how your actual configuration is.

Even if it is a function which starts up some module, or sets up a module alias, to have it in a function like that, unless you were doing something utterly specific, is still not right – there’s no need to really create a function at all for such an operation. Certainly don’t change the line, but seeing your config is important.

– Thomas Adam

I copied the file /usr/share/fvwm/system.fvwm2rc-sample-95 (I’m running Fedora 7) to ~/.fvwm/.fvwm2rc. About all I did to it was clean out a lot of comments. In addition to my .fvwm2rc file, the only other two files in ~/.fvwm are .start-apps-man, which I documented above, and .start-Background, which contains: AddToFunc StartFunction I Exec exec xsetroot -solid Blue2 My .fvwm2rc file contains:

[code]#-----------------------------------------------------------------------------#

Summary:

1. Module and Image paths. (In this file)

2. Root cursor, Windows Decoration and Menus Style. (In decorations)

3. Set up the Major operating modes. (In globalfeel)

4. Miscellaneous Major operating mode. (In globalfeel)

5. Stuff to do at start-up and on restart. (In startup)

6. Set applications dependent styles. (In styles)

7. Set applications Mini Icons and Icons. (In iconstyles)

8. Define some complex functions. (In functions)

9. Mouse, frame buttons and keyboard bindings. (In bindings)

10. Define the menus. (In menus)

11. Definitions used by the modules. (In modules)

12. MINI-FAQ. (In this file)

#-----------------------------------------------------------------------------#

#-----------------------------------------------------------------------------#

1. Module and Image paths

These paths are colon-separated lists, just like regular unix PATH

#-----------------------------------------------------------------------------#

ModulePath is builtin, you may add some directories here

#ModulePath $HOME/mymodules:+

The default image path is:

/usr/include/X11/bitmap:/usr/include/X11/pixmaps

if the fvwm_icons are not installed in one of these directories or if

you want to add a personal image path uncomment and edit the next line

#ImagePath :add_dir_to_fvwm_image_path:+

#K_M 1 for KDE Styles and menus
#ImagePath +:$KDEDIR/share/icons:$KDEDIR/share/apps/kappfinder/pics/:
#G_M_G 1 for FvwmGtk menus
#ImagePath +:/usr/share/pixmaps:

Warning: you may have to replace /usr by gnomeinstallpath in the previous

line. gnomeinstallpath may be /usr/local, /opt/gnome, …

#-----------------------------------------------------------------------------#

Start the Show

#-----------------------------------------------------------------------------#

#SEG decorations
#-----------------------------------------------------------------------------#

2. Root cursor, Windows Decoration and Menu Styles:

Default fonts, colors, Border, Title, Button Styles, Menu Styles

window button bindings.

(this section may be the theme part of the config, but you need to use

FvwmTheme to define and propagate the colors)

#-----------------------------------------------------------------------------#

#------------------------------------------------------------------------------

Set the root cursor

#------------------------------------------------------------------------------

CursorStyle ROOT left_ptr
CursorStyle TITLE left_ptr
CursorStyle DEFAULT left_ptr
CursorStyle SYS left_ptr
CursorStyle MENU left_ptr

#------------------------------------------------------------------------------

Fonts - one for window titles, another for icons, and another for the menus

#------------------------------------------------------------------------------

Style * Font “xft:sans-serif:Medium;--times-bold-r---12-------

Style * IconFont
“xft:monospace:pixelsize=12:Medium;--fixed-medium-r---10-------

#------------------------------------------------------------------------------

Set the default window colors.

#------------------------------------------------------------------------------

Text and background color for the title bar (overridden in the WIN case),

and the border of the inactive window (also used by icon title,

and “hilight” and “shadow” colors).

Style * ForeColor #c3c3c3, BackColor grey51

Text and background color for the title bar (overriden in the WIN case),

and the border of the active (selected) window (also used by icon title,

and “hilight” and “shadow” colors).

Style * HilightFore white, HilightBack SlateBlue

#------------------------------------------------------------------------------

Border, Title and Button Styles

#------------------------------------------------------------------------------
Style * BorderWidth 5, HandleWidth 5

Style “" MWMBorder # FVWMBorder
Style "
” MWMButtons
TitleStyle Centered
ButtonStyle all – UseTitleStyle
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
ButtonStyle 4 4 50x25@1 75x75@0 25x75@0 50x25@1
ButtonStyle 6 4 50x65@1 35x35@1 65x35@1 50x65@0
ButtonStyle 1 - Clear MWMDecorMenu
ButtonStyle 2 - Clear
ButtonStyle 4 - Clear MWMDecorMax
ButtonStyle 6 - Clear MWMDecorShade

#------------------------------------------------------------------------------

The MenuStyle command allows almost full control over menu look and feel.

We use the preconfigured ‘Win’ or ‘Fvwm’ default. This resets most other

options and must be set first. We also define a menu called winops for

the windows operations menus and very long one. The menus which use this

style are (and must) be defined in the end of the menus.

#------------------------------------------------------------------------------

MenuStyle * fvwm
MenuStyle * font “xft:sans-serif:Medium;--times-bold-r---12-------
MenuStyle * Foreground black, Background grey80
MenuStyle * ActiveFore black, HilightBack grey85
MenuStyle * Hilight3DThick

MenuStyle * Greyed grey60 # default is invisible on backgroud grey80
MenuStyle * VerticalItemSpacing 2 4, VerticalTitleSpacing 2 4

CopyMenuStyle * winops

MenuStyle winops font “xft:sans-serif:Medium;--times-bold-r---12-------
MenuStyle winops TitleWarpOff

MenuStyle winops VerticalItemSpacing 1 2, VerticalTitleSpacing 1 2

#SEG globalfeel
#-----------------------------------------------------------------------------#

3. Set up the major operating modes

#-----------------------------------------------------------------------------#

WARNING!

If you use (or ever used) Settings–>Configuration–>Base Config

to configure your major operating modes then all commands in this

section 3 are overridden by the last line of this section (PipeRead).

So, you can comment the last line of this section.

Or, instead, you can remove all the lines of this section but the last one.

If you use Base Config and this section has some application dependent

styles, a suggested solution is to move them to the styles file.

This way Base Config does not destroy your application specific

styles when you use it.

#WIN 1 To have more WIN-like behavior
#Emulate win
#FVWM 1
Emulate fvwm

HideGeometryWindow Never

SnapAttraction 0 SameType Screen

#FAST 3
#OpaqueMoveSize 100
#Style * ResizeOpaque
#Style * WindowShadeSteps 20
#SLOW 3
OpaqueMoveSize 0
Style * ResizeOutline
Style * WindowShadeSteps 0

EdgeScroll 0 0
EdgeResistance 500 0
EdgeThickness 1

The focus policy. Once you are used to clicking inside windows to

raise them you will not want to lose this feature.

Style * SloppyFocus
Style * MouseFocusClickRaises

MinOverlapPlacement places window automatically in a way that attempts to be

place windows ‘intelligent’.

Style * MinOverlapPlacement

NoPPosition instructs FVWM to ignore the PPosition field in window

geometry hints. Emacs annoyingly sets PPosition to (0,0)!

Style * NoPPosition

Style * GrabFocusOff

If you ever used Base Config, then the next line overrides this section

with the settings you defined! In this case you may replace the whole

section 3 by one command “Read .FvwmBaseConfig”.

PipeRead ‘[ ! -f $FVWM_USERDIR/.FvwmBaseConfig ] || echo Read .FvwmBaseConfig’

#----------------------------------------------------------------------------#

4. Miscellaneous Major operating mode

#----------------------------------------------------------------------------#

#------------------------------------------------------------------------------

Set the desk top size in units of physical screen size

#------------------------------------------------------------------------------

DeskTopSize 1x1

#------------------------------------------------------------------------------

Some good things (in general)

#------------------------------------------------------------------------------
Style * MWMFunctions
Style * MWMDecor
Style * HintOverride
Style * OLDecor

BusyCursor DynamicMenu True, Read True

#------------------------------------------------------------------------------

transient windows

#------------------------------------------------------------------------------

You can do a lot of things with transient windows. However, you may

want to set transient style by application (in styles).

Heres one example:

If you want to decorate transient windows:

#Style * DecorateTransient

In general it is not a good idea to be able to lower transient window

under its main window, but why not…

#Style * DontRaiseTransient

In my HO the defaults (which are “Motif” compliant) are good.

#------------------------------------------------------------------------------

bogus hack

#------------------------------------------------------------------------------

FVWM has a command for bogus applications. Here an example with KFM

#KFM_ICONS 1 uncomment the next line if you use the KFM “icons”
BugOpts RaiseOverUnmanaged on

#PANEL_PUT 1 you may try this for a “stays put” gnome panel
#DefaultLayers 6 8 10

#SEG startup
#-----------------------------------------------------------------------------#

5. Stuff to do at start-up and on restart

#-----------------------------------------------------------------------------#

Defines the background

Read .start-Background

This file defines which applications manager we start: TaskBarGlobal,

TaskBarDesk, IconBoxGlobal, IconBoxDesk, …etc.

Read .start-apps-man

This one decides which big buttons we start BarButtons, Wharf or None

Read .start-FvwmButtons

This one decides if we start the DeskerPanel

Read .start-DeskerPanelButtons

This one decides if we start MiniButtons

Read .start-MiniButtons

This one decides if we start WinMakerAppButtons

Read .start-WinMakerAppButtons

This file decides if we start FvwmAnimate or not

Read .start-FvwmAnimate

This one decides if we start FvwmAuto

Read .start-FvwmAuto

This one decides if we start FvwmBanner

Read .start-FvwmBanner

Sounds effect (FvwmEvent)

Read .start-FvwmEvent

The StartFunction is used at start and restart with or without a Session

Manager. The above file .start-* defines this function. If

we want Gtk menus and dialog (defined in the modules section) we start

FvwmGtk.

AddToFunc StartFunction
#G_M_G 1
#+ I Module FvwmGtk

The InitFunction is used at FVWM start

AddToFunc InitFunction

Load the X Setup Scripts setting if we use it

  • I Exec [ -f $HOME/.xinitrc-fvwm ] && sh $HOME/.xinitrc-fvwm
    #+ I Exec exec xsetroot -solid #7F4B7F

The restart function:

AddToFunc RestartFunction
#+ I Module FvwmButtons MyButtons

When used with a session manager FVWM uses SessionInitFunction and

SessionRestartFunction in the place of InitFunction and RestartFunction

AddToFunc SessionInitFunction

Do not Load the X Setup Scripts setting, some Session Managers have its own

method (e.g., GNOME)

#+ I Exec [ -f $HOME/.xinitrc-fvwm ] && sh $HOME/.xinitrc-fvwm
#+ I Module FvwmButtons MyButtons

AddToFunc SessionRestartFunction
#+ I Module FvwmButtons MyButtons

#SEG styles
#-----------------------------------------------------------------------------#

6. Set application dependent styles

Order is important!

If compatible styles are set for a single window in multiple Style

commands, then the styles are ORed together. If conflicting styles

are set, the last one specified is used.

#-----------------------------------------------------------------------------#

Style *lock NoTitle, NoHandles, Sticky, WindowListSkip
Style xeyes NoTitle, Sticky
Style biff NoTitle, Sticky, WindowListSkip
Style xsysinfo NoTitle, Sticky, WindowListSkip
Style xload NoTitle, Sticky, WindowListSkip
Style xconsole Sticky, StartIconic
Style xpostit WindowListSkip
Style PostitNote WindowListSkip
Style Postit NoHandles, WindowListSkip

gnome panel & icons

Style panel Sticky, NoTitle, WindowListSkip, CirculateSkip
Style desktop_icon CirculateSkip, WindowListSkip, NoTitle

Animation is broken in gnome panel 1.4 with GNOMEUseHints.

GNOMEIgnoreHints also disables panel moving itself from layer to layer.

Style panel GNOMEIgnoreHints

xsm panel

Style xsm Sticky, NoTitle, WindowListSkip, CirculateSkip

Style FvwmForm-QuitVerify NoButton 1, NoButton 2, NoButton 4, NoButton 6,
StaysOnTop, NoHandles, WindowListSkip

Read the layers settings (stays OnTop, Put or OnBottom)

Read .fvwm-layers

#SEG iconstyles
#-----------------------------------------------------------------------------#

7. Set applications Mini Icons and Icons

#-----------------------------------------------------------------------------#

Note: Most applications provide an icon.

Style * IconBox 10 -80 -0 -0, IconGrid 64 64, IconFill right bottom,
IconBox 10 +100 -150 -80, IconGrid 64 64, IconFill bottom right
Style * SlipperyIcon, IconTitle

default

Style * MiniIcon mini.doc.xpm, Icon page.xpm

Terminals

Style term MiniIcon mini.term.xpm, Icon rterm2.xpm
Style rxvt MiniIcon mini.term.xpm, Icon rterm2.xpm #!E rxvt

Accessories

Style xcalc MiniIcon mini.calc.xpm, Icon rcalc2.xpm
Style xconsole MiniIcon mini.term.xpm, Icon rtrem2.xpm
Style xmag MiniIcon mini.zoom.xpm, Icon mag_glass.xpm
Style xfontsel MiniIcon mini.font.xpm, Icon toolbox.xpm
Style xgrab MiniIcon mini.camera.xpm
Style clock MiniIcon mini.clock.xpm
Style ddd MiniIcon mini.bug2.xpm #!E ddd
Style xgdb MiniIcon mini.bug2.xpm #!E xgdb
Style XClipboard MiniIcon mini.clipboard.xpm, Icon toolbox.xpm
Style color MiniIcon mini.colors.xpm, Icon resize

Applications

Style lyx MiniIcon mini.edit.xpm #!E lyx
Style thot MiniIcon mini.edit.xpm #!E thot
Style ghostview MiniIcon mini.gv.xpm #!E ghostview
Style gv MiniIcon mini.gv.xpm #!E gv
Style xdvi MiniIcon mini.zoom.xpm #!E xdvi
Style acroread MiniIcon mini.pdf.xpm #!E acroread
Style xpdf MiniIcon mini.pdf.xpm #!E xpdf
Style plan MiniIcon mini.calandar.xpm #!E plan

System

Style Top MiniIcon mini.run.xpm, Icon toolbox.xpm
Style tkps MiniIcon mini.hex.xpm, Icon toolbox.xpm #!E tkps
Style xosview MiniIcon mini.run.xpm, Icon toolbox.xpm #!E xosview
Style xload MiniIcon mini.perf.xpm, Icon toolbox.xpm
Style xmem MiniIcon mini.perf.xpm, Icon toolbox.xpm #!E xmem
Style XSysStats MiniIcon mini.run.xpm #!E XSysStats

File Mgr

Style xfm MiniIcon mini.filemgr.xpm, Icon Xfm.xpm #!E xfm
Style fr MiniIcon mini.filemgr.xpm, Icon Xfm.xpm #!E fr
Style Midnight-Commander MiniIcon mini.filemgr.xpm, Icon Xfm.xpm #!E mc

Editors

Style emacs MiniIcon mini.edit.xpm, Icon lemacs.xpm #!E emacs:xemacs
Style VIM MiniIcon mini.edit.xpm, Icon lemacs.xpm #!E gvim
Style *edit MiniIcon mini.edit.xpm, Icon lemacs.xpm
Style dtpad MiniIcon mini.edit.xpm, Icon lemacs.xpm #!E /usr/dt/bin/dtpad

Network

Style ppp MiniIcon mini.connect.xpm, Icon Mosaic.xpm
Style Hifs MiniIcon mini.connect.xpm, Icon Mosaic.xpm #!E hifs

Internet

Netscape resource

Style Netscape MiniIcon mini.nscape.xpm
Style Navigator MiniIcon mini.nscape.xpm
Style MailFolder MiniIcon mini.dirlink.xpm
Style MailThread MiniIcon mini.mail.xpm
Style Composition MiniIcon mini.letter.xpm
Style Composer MiniIcon mini.editor.xpm
Style Download MiniIcon mini.ftp.xpm

Style amaya MiniIcon mini.nscape.xpm #!E amaya
Style Mozilla MiniIcon mini.nscape.xpm #!E mozilla
Style lynx MiniIcon mini.cat.xpm, Icon Mosaic.xpm #!E lynx
Style xmh MiniIcon mini.mail.xpm, Icon Mail2.xpm #!E xmh
Style Mail MiniIcon mini.mail.xpm, Icon Mail2.xpm #!E mail
Style mail MiniIcon mini.mail.xpm, Icon Mail2.xpm
Style Pine MiniIcon mini.mail.xpm, Icon Mail2.xpm #!E pine
Style Mutt MiniIcon mini.mail.xpm, Icon Mail2.xpm #!E mutt
Style NcFtp MiniIcon mini.ftp.xpm, Icon Mosaic.xpm #!E ncftp
Style ftp MiniIcon mini.ftp.xpm, Icon Mosaic.xpm
Style “X-Chat*” MiniIcon mini.doc1.xpm, Icon page.xpm #!E xchat
Style Irc MiniIcon mini.doc1.xpm #!E irc
Style tkirc MiniIcon mini.doc1.xpm #!E tkirc
Style Licq MiniIcon mini.doc1.xpm #!E licq
Style
Style zircon MiniIcon mini.zircon.xpm #! zircon
Style xgopher MiniIcon mini.gopher.xpm #!E xgopher

Graphics

Style xv MiniIcon mini.xv.xpm #!E xv
Style “The GIMP” MiniIcon mini.gimp.xpm, Icon gimp.xpm #!E gimp
Style “Gimp” MiniIcon mini.gimp.xpm, Icon gimp.xpm #!E gimp
Style xfig MiniIcon mini.xfig.xpm #!E xfig
Style xfpovary MiniIcon mini.ray.xpm #!E xfpovary

xpaint resource names

Style xpaint MiniIcon mini.palette.xpm
Style Canvas MiniIcon mini.palette.xpm
Style fatbits MiniIcon mini.palette.xpm
Style filebrowser MiniIcon mini.ofolder.xpm

Style XbmBrowser MiniIcon mini.directory.xpm #!E xbmbrowser
Style ee MiniIcon mini.palette.xpm #!E ee

Multimedia

Style *mixer MiniIcon mini.audiovol.xpm
Style playcd MiniIcon mini.cdlabel.xpm
Style cdplay MiniIcon mini.cdlabel.xpm
Style xltwavplay MiniIcon mini.sound.xpm #!E xltwavplay
Style MiXViews MiniIcon mini.audiovol.xpm #!E mxv
Style freeamp MiniIcon mini.audiovol.xpm #!E freeamp
Style XAnim MiniIcon mini.display.xpm #!E xanim
Style xroach MiniIcon mini.roach.xpm
Style xlogo MiniIcon mini.x2.xpm

Modules, Form and script

Style Fvwm* MiniIcon -
Style FvwmScript* MiniIcon mini.fvwm.xpm
Style FvwmForm* MiniIcon mini.fvwm.xpm
Style FvwmIdent MiniIcon mini.question.xpm, Icon question.xpm
Style FvwmConsole MiniIcon mini.xterm.xpm, Icon wterm.xpm
Style FvwmScript-BellSetup MiniIcon mini.audiovol.xpm, Icon bell.xpm
Style FvwmScript-KeyboardSetup MiniIcon mini.keyboard.xpm,Icon keyboard.xpm
Style FvwmScript-ScreenSetup MiniIcon mini.monitor.xpm, Icon screen.xpm
Style FvwmScript-PointerSetup MiniIcon mini.mouse.xpm, Icon pointer.xpm
Style FvwmScript-BaseConfig MiniIcon mini.fvwm.xpm, Icon settings.xpm
Style FvwmScript-Find MiniIcon mini.zoom.xpm, Icon find1.xpm
Style FvwmScript-Quit MiniIcon mini.question.xpm
Style FvwmScript-Colorset MiniIcon mini.colors.xpm, Icon settings.xpm
Style FvwmScript-ScreenDump MiniIcon mini.camera.xpm, Icon resize.xpm
Style FvwmScript-Setup95 MiniIcon mini.fvwm.xpm, Icon settings.xpm
Style FvwmScript-Date MiniIcon mini.clock.xpm, Icon date.xpm
Style FvwmForm-QuitVerify MiniIcon mini.question.xpm
Style FvwmForm-Rlogin MiniIcon mini.connect.xpm, Icon Mosaic.xpm
Style FvwmForm-Capture MiniIcon mini.camera.xpm, Icon resize.xpm
Style FvwmForm-Talk MiniIcon mini.telnet.xpm, Icon rterm.xpm
Style FvwmForm-RootCursor MiniIcon mini.xarchie.xpm, Icon settings.xpm
Style FvwmForm-Form MiniIcon mini.fvwm.xpm, Icon settings.xpm
Style FvwmForm-Setup MiniIcon mini.fvwm.xpm, Icon settings.xpm
Style FormFvwmAnimate MiniIcon mini.iconify.xpm, Icon settings.xpm
Style xmessage MiniIcon mini.question.xpm, Icon settings.xpm
Style WinMakerAppButtons* NoIcon

Help

Style man MiniIcon mini.book1.xpm, Icon help.xpm

xman resource names

Style topBox MiniIcon mini.book1.xpm, Icon help.xpm
Style help MiniIcon mini.book2.xpm, Icon help.xpm
Style manualBrowser MiniIcon mini.book2.xpm, Icon help.xpm
Style FAQ MiniIcon mini.question.xpm, Icon help.xpm

others…

Style IDL* MiniIcon mini.zoom.xpm
Style XDbx MiniIcon mini.bug2.xpm
Style control-panel MiniIcon mini.eye.xpm #!E control-panel
Style xvidtune MiniIcon mini.x2.xpm

To get the kde mini-icon styles build the system menu (i.e., uncomment

the lines that follow K_SM)

#SEG functions
#----------------------------------------------------------------------------#

8. Now define some handy complex functions

#----------------------------------------------------------------------------#

#------------------------------------------------------------------------------

This one moves and then raises the window if you drag the mouse,

only raises the window if you click, or does a vertical maximize if

you double click (full screen maximize would be ‘Maximize 100 100’)

#------------------------------------------------------------------------------

DestroyFunc Move-or-Raise
AddToFunc Move-or-Raise M Move

  •                   M Raise
    
  •                   C Raise
    
  •                   D Maximize 0 100
    

#------------------------------------------------------------------------------

As above but double click shade

#------------------------------------------------------------------------------

DestroyFunc Move-or-Raise-or-Shade
AddToFunc Move-or-Raise-or-Shade M Move

  •                   M Raise
    
  •                   C Raise
    
  •                   D WindowShade
    

#------------------------------------------------------------------------------

This one moves and then lowers the window if you drag the mouse,

only lowers the window if you click, or does a RaiseLower if you double

click

#------------------------------------------------------------------------------

DestroyFunc Move-or-Lower
AddToFunc Move-or-Lower M Move

  •                   M Lower
    
  •                   C Lower
    
  •                   D RaiseLower
    

#------------------------------------------------------------------------------

This one moves or (de)iconifies:

#------------------------------------------------------------------------------

DestroyFunc Move-or-Iconify-or-Raise
AddToFunc Move-or-Iconify-or-Raise M Move

  •   	  C Raise
    
  •                     D Iconify
    

#------------------------------------------------------------------------------

This one maximizes vertically if you click (leaving room for the taskbar

at the bottom, or does a full maximization if you double click, or a

true full vertical maximization if you just hold the mouse button down.

#------------------------------------------------------------------------------

DestroyFunc Maximize-Func
AddToFunc Maximize-Func M Maximize 0 98

  •   	C	Maximize 0 100
    
  •   	D	Maximize 100 98
    

#------------------------------------------------------------------------------

This one resizes and then raises the window if you drag the mouse,

only raises the window if you click, or does shade if you double

click

#------------------------------------------------------------------------------

DestroyFunc Resize-or-Raise-or-Shade
AddToFunc Resize-or-Raise-or-Shade M Resize

  •                     M Raise
    
  •                     C Raise
    
  •                     D WindowShade
    

#------------------------------------------------------------------------------

This one focuses and then ‘warps’ to the window.

#------------------------------------------------------------------------------

DestroyFunc FocusAndWarp
AddToFunc FocusAndWarp I Focus

  •                  I WarpToWindow 1 1
    

#------------------------------------------------------------------------------

Like the previous one, but de-iconifies first.

#------------------------------------------------------------------------------

DestroyFunc DeiconifyFocusAndWarp
AddToFunc DeiconifyFocusAndWarp I Iconify off

  •                           I FocusAndWarp
    

#------------------------------------------------------------------------------

Like the previous one, but only Raise.

#------------------------------------------------------------------------------

DestroyFunc DeiconifyFocusAndRaise
AddToFunc DeiconifyFocusAndRaise I Iconify off

  •                           I Focus
    
  •   		I Raise
    

#------------------------------------------------------------------------------

This one is used to modify some style for a window (almost obsolet)

#------------------------------------------------------------------------------

DestroyFunc StyleAndRecapture
AddToFunc StyleAndRecapture I Style “$0” $1

  • I All ("$0") RecaptureWindow

#------------------------------------------------------------------------------

A really useful one: de-iconifies, warps to the window

or creates it if it doen’t exist (often used with mailtools)

#------------------------------------------------------------------------------

DestroyFunc WarpOrExec
AddToFunc WarpOrExec I Next (AcceptsFocus $0) Iconify -1

  •              I Next (AcceptsFocus $0) FocusAndWarp
    
  •   	   I None (AcceptsFocus $0) Exec $0 $1
    

#------------------------------------------------------------------------------

For the left button

#------------------------------------------------------------------------------

DestroyMenu “window_ops_func”
AddToFunc “window_ops_func” “C” PopUp Window-Ops2

  •          "M" PopUp Window-Ops2
    
  •          "D" Delete
    

#------------------------------------------------------------------------------

Functions to restart Modules and Restart/Kill FvwmButtons by aliases

#------------------------------------------------------------------------------

DestroyFunc RestartModule
AddToFunc RestartModule

  • I KillModule $0
  • I Module $0

DestroyFunc RestartModuleByAlias
AddToFunc RestartModuleByAlias

  • I All ($2) Close
  • I Module $0 $1

This function is for WMakerFvwmButtons (start or iconify id started)

DestroyFunc MyPanelButtons
AddToFunc MyPanelButtons

  • I All ($0) Iconify
  • I None (CirculateHit $0) FvwmButtons -g +$1+$2 $0

#------------------------------------------------------------------------------

Functions for FvwmScript-BaseConfig

#------------------------------------------------------------------------------

DestroyFunc BaseConfigOkFunc
AddToFunc BaseConfigOkFunc I Read styles

DestroyFunc BaseConfigApplyFunc
AddToFunc BaseConfigApplyFunc I Read styles

#------------------------------------------------------------------------------

Functions which start and save state for FvwmAnimate, FvwmEvent, etc …

$1 $2 is used only by FvwmAuto

#------------------------------------------------------------------------------

DestroyFunc ModuleOn
AddToFunc ModuleOn

  • I KillModule $0
  • I Module $0 $1 $2
  • I Exec echo “AddToFunc StartFunction I $0 $1 $2” > $FVWM_USERDIR/.start-$0

DestroyFunc ModuleOff
AddToFunc ModuleOff

  • I KillModule $0
  • I Exec echo “# Do not start $0” > $FVWM_USERDIR/.start-$0

#------------------------------------------------------------------------------

Functions which start and save state for MiniButtons and WinMakerAppButtons

#------------------------------------------------------------------------------

DestroyFunc ButtonsOn
AddToFunc ButtonsOn

  • I All ($2) Close
  • I Module $0 $1
  • I Exec echo “AddToFunc StartFunction I $0 $1” > $FVWM_USERDIR/.start-$1

DestroyFunc ButtonsOff
AddToFunc ButtonsOff

  • I All ($1) Close
  • I Exec echo “# Do not start $0” > $FVWM_USERDIR/.start-$0

#------------------------------------------------------------------------------

Functions for choosing the “Big” buttons Wharf or BarButtons

#------------------------------------------------------------------------------

DestroyFunc ChangeButtonsOn
AddToFunc ChangeButtonsOn

  • I All (BarButtons) Close
  • I KillModule FvwmWharf
  • I Exec echo “AddToFunc StartFunction I $0” > $FVWM_USERDIR/.start-FvwmButtons
  • I $0

DestroyFunc ChangeButtonsOff
AddToFunc ChangeButtonsOff

  • I All (BarButtons) Close
  • I KillModule FvwmWharf
  • I Exec echo “# No Buttons Bar” > $FVWM_USERDIR/.start-FvwmButtons
  • I $0

#------------------------------------------------------------------------------

Functions for Raising modules only

#------------------------------------------------------------------------------

DestroyFunc StartModulesAutoRaise
AddToFunc StartModulesAutoRaise

  • I Style FvwmDesker Lenience
  • I FvwmAuto 400 Silent ModulesAutoRaise
  • I Exec echo “AddToFunc StartFunction I StartModulesAutoRaise” > $FVWM_USERDIR/.start-FvwmAuto

DestroyFunc ModulesAutoRaise
AddToFunc ModulesAutoRaise

  • I Current (FvwmButtons) Raise
  • I Current (FvwmTaskBar) Raise
  • I Current (FvwmIconBox) Raise
  • I Current (FvwmDesker) Raise
  • I Current (FvwmIconMan) Raise
  • I Current (FvwmWinList) Raise
  • I Current (FvwmWharf) Raise
  • I Current (panel) Raise

#------------------------------------------------------------------------------

Functions which start and save a background

#------------------------------------------------------------------------------

DestroyFunc SetBackground
AddToFunc SetBackground

  • I KillModule FvwmBacker
  • I $0
  • I Exec echo “AddToFunc StartFunction I $0” > $FVWM_USERDIR/.start-Background

DestroyFunc SetBackgroundOff
AddToFunc SetBackgroundOff

  • I KillModule FvwmBacker
  • I Exec echo “# Background disabled” > $FVWM_USERDIR/.start-Background

#------------------------------------------------------------------------------

Functions which start and defines which applications manager we use

#------------------------------------------------------------------------------

DestroyFunc ChangeAppsMan
AddToFunc ChangeAppsMan

  • I KillModule FvwmTaskBar
  • I KillModule FvwmWinList
  • I KillModule FvwmIconMan
  • I KillModule FvwmIconBox
  • I Exec echo “AddToFunc StartFunction I $0” > $FVWM_USERDIR/.start-apps-man
  • I $0

DestroyFunc AppsManNone
AddToFunc AppsManNone

  • I Style * NoIcon
  • I KillModule FvwmTaskBar
  • I KillModule FvwmWinList
  • I KillModule FvwmIconMan
  • I KillModule FvwmIconBox
  • I Exec echo “AddToFunc StartFunction I Style * NoIcon # No applications Manager” > $FVWM_USERDIR/.start-apps-man

DestroyFunc UseIcons
AddToFunc UseIcons

  • I Style * Icon
  • I Read iconstyles

Need to reaload menus for KDE mini-icons styles

  • I Read menus
  • I KillModule FvwmTaskBar
  • I KillModule FvwmWinList
  • I KillModule FvwmIconMan
  • I KillModule FvwmIconBox
  • I Exec echo “# Use Icons” > $FVWM_USERDIR/.start-apps-man

DestroyFunc WinListDesk
AddToFunc WinListDesk

  • I Style * NoIcon
  • I *FvwmWinList: ShowCurrentDesk
  • I Module FvwmWinList

DestroyFunc WinListGlobal
AddToFunc WinListGlobal

  • I Style * NoIcon
  • I DestroyModuleConfig FvwmWinList: ShowCurrent*
  • I Module FvwmWinList

DestroyFunc TaskBarDesk
AddToFunc TaskBarDesk

  • I Style * NoIcon
  • I DestroyModuleConfig FvwmTaskBar: AutoHid*
  • I *FvwmTaskBar: DeskOnly
  • I Module FvwmTaskBar

DestroyFunc TaskBarGlobal
AddToFunc TaskBarGlobal

  • I Style * NoIcon
  • I DestroyModuleConfig FvwmTaskBar: AutoHid*
  • I DestroyModuleConfig FvwmTaskBar: Desk*
  • I Module FvwmTaskBar

DestroyFunc TaskBarDeskAutoHide
AddToFunc TaskBarDeskAutoHide

  • I Style * NoIcon
  • I *FvwmTaskBar: DeskOnly
  • I *FvwmTaskBar: AutoHide
  • I Module FvwmTaskBar

DestroyFunc TaskBarGlobalAutoHide
AddToFunc TaskBarGlobalAutoHide

  • I Style * NoIcon
  • I DestroyModuleConfig FvwmTaskBar: Desk*
  • I *FvwmTaskBar: AutoHide
  • I Module FvwmTaskBar

DestroyFunc IconManGlobal
AddToFunc IconManGlobal

  • I Style * NoIcon
  • I *FvwmIconMan: Resolution global
  • I Module FvwmIconMan

DestroyFunc IconManDesk
AddToFunc IconManDesk

  • I Style * NoIcon
  • I *FvwmIconMan: Resolution desk
  • I Module FvwmIconMan

DestroyFunc IconManPage
AddToFunc IconManPage

  • I Style * NoIcon
  • I *FvwmIconMan: Resolution page
  • I Module FvwmIconMan

DestroyFunc IconBoxDesk
AddToFunc IconBoxDesk

  • I Style * NoIcon
  • I *FvwmIconBox: ResolutionDesk
  • I Module FvwmIconBox

DestroyFunc IconBoxGlobal
AddToFunc IconBoxGlobal

  • I Style * NoIcon
  • I DestroyModuleConfig FvwmIconBox: Reso*
  • I Module FvwmIconBox

#------------------------------------------------------------------------------

Functions for Layers

#------------------------------------------------------------------------------

DestroyFunc SetLayers
AddToFunc SetLayers

  • I StyleAndRecapture $n $0
  • I Exec F=$FVWM_USERDIR; Z=$F/.fvwm-layers; T=$F/.tmp-layers; if grep -qe “$n” $Z; then sed -e “s/\ $n\ .*/\ $n\ $0/” $Z>$T; cat $T>$Z; else echo “Style $n $0” >>$Z; fi

DestroyFunc DestroyLayers
AddToFunc DestroyLayers

  • I StyleAndRecapture $n StaysPut
  • I Exec F=$FVWM_USERDIR; Z=$F/.fvwm-layers; T=$F/.tmp-layers; sed -e “/^Style\ $n\ .*/d” $Z>$T; cat $T>$Z

#------------------------------------------------------------------------------

Function for reloading the icons styles

#------------------------------------------------------------------------------

DestroyFunc ReloadIconStylesAndMenus
AddToFunc ReloadIconStylesAndMenus

  • I Read iconstyles
  • I Read menus

Need to reload the NoIcon style

  • I PipeRead ‘if grep -qe AddToFunc $FVWM_USERDIR/.start-apps-man; then echo “Style * NoIcon”; fi’

#------------------------------------------------------------------------------

Functions for Loading/Saving/Showing Settings

#------------------------------------------------------------------------------

DestroyFunc SaveAsSettings
AddToFunc SaveAsSettings

  • I Exec F=$FVWM_USERDIR;for i in ~/.xinitrc-fvwm $F/.FvwmBaseConfig $F/.FvwmAnimate $F/.FvwmForm $F/.start-Background $F/.start-apps-man $F/.start-FvwmButtons $F/.start-DeskerPanelButtons $F/.start-MiniButtons $F/.start-WinMakerAppButtons $F/.start-FvwmAnimate $F/.start-FvwmAuto $F/.start-FvwmBanner $F/.start-FvwmEvent $F/.fvwm-layers; do [ ! -f “$i” ] || /bin/cp $i $i-$0; done;

DestroyFunc LoadSettings
AddToFunc LoadSettings

  • I Exec F=$FVWM_USERDIR; for i in ~/.xinitrc-fvwm $F/.FvwmBaseConfig $F/.FvwmAnimate $F/.FvwmForm $F/.start-Background $F/.start-apps-man $F/.start-FvwmButtons $F/.start-DeskerPanelButtons $F/.start-MiniButtons $F/.start-WinMakerAppButtons $F/.start-FvwmAnimate $F/.start-FvwmAuto $F/.start-FvwmBanner $F/.start-FvwmEvent $F/.fvwm-layers; do [ ! -f “$i-$0” ] || /bin/cp $i-$0 $i; done;
  • I Exec [ ! -f ~/.xinitrc-fvwm-$0 ] || (xscreensaver-command -exit; ~/.xinitrc-fvwm-$0)
  • I PipeRead ‘[ ! -f $FVWM_USERDIR/.FvwmBaseConfig ] || (echo Read .FvwmBaseConfig; echo BaseConfigOkFunc)’
  • I Style * StaysPut
  • I Read .fvwm-layers-$0
  • I KillModule FvwmAnimate
  • I KillModule FvwmAuto
  • I KillModule FvwmEvent
  • I KillModule FvwmButtons
  • I KillModule FvwmWharf
  • I KillModule FvwmTaskBar
  • I KillModule FvwmWinList
  • I KillModule FvwmIconMan
  • I KillModule FvwmIconBox
  • I PipeRead ‘F=$FVWM_USERDIR; F=$FVWM_USERDIR; for i in $F/.start-Background $F/.start-apps-man $F/.start-FvwmButtons $F/.start-DeskerPanelButtons $F/.start-MiniButtons $F/.start-WinMakerAppButtons $F/.start-FvwmAnimate $F/.start-FvwmAuto $F/.start-FvwmBanner $F/.start-FvwmEvent; do [ ! -f “$i-$0” ] || sed -e s/AddToFunc\.StartFunction\.I\.// $i-$0; done; if [ -f “$F/.start-apps-man-$0” ]; then if grep -qe Icons $F/.start-apps-man-$0; then echo “Style * Icon”; echo “Read iconstyles”; echo “Read menus”; fi; fi’

DestroyFunc ShowFvwmSettings
AddToFunc ShowFvwmSettings I Exec F=$FVWM_USERDIR;f=$F/.tmp-modules-setting; echo “” > $f; for j in 0 1 2 3 4; do if [ “$j” -eq “0” ]; then j=""; t=“Current Setting:”; l="--------------"; else j="-$j"; t=“Setting$j:”; l="---------"; fi; echo $t >> $f; echo $l >> $f; for i in $F/.start-Background $F/.start-apps-man $F/.start-FvwmButtons $F/.start-DeskerPanelButtons $F/.start-MiniButtons $F/.start-WinMakerAppButtons $F/.start-FvwmAnimate $F/.start-FvwmAuto $FVWM_USERDIR/.start-FvwmBanner $F/.start-FvwmEvent; do z="$i$j"; [ ! -f “$z” ] || sed -e s/^\#.// -e s/.*exec/Background:/ -e s/AddToFunc.StartFunction.I/Start/ -e s/FvwmEvent/Sounds\ Effect/ $z >> $f; done; echo -n "Base Config: ">>$f; if [ -f $F/.FvwmBaseConfig$j ]; then echo “Used”>>$f; else echo “Not Used”>>$f; fi; echo “”>>$f;done; xmessage -file $f

DestroyFunc ShowXSettings
AddToFunc ShowXSettings
I Exec T=$FVWM_USERDIR/.tmp-x-set;u=~/.xinitrc-fvwm;echo “”>$T;for j in 0 1 2 3 4;do if [ “$j” -eq “0” ];then z=$u;t=“Current Setting:”;else z="$u-$j";t=“Setting-$j:”;fi;echo $t >>$T;if grep -qe Bell $z;then grep -e “xset b” $z|sed -e s/xset.b/Bell:/>>$T;fi;if grep -qe Screen $z;then echo -n "Background: ">>$T;if grep -qe #xsetroot $z;then echo “disabled”>>$T;elif grep -qe fvwm-root $z;then grep -e fvwm-root $z|sed -e s/xpmroot.//>>$T;else grep -e xsetroot $z|sed -e s/xsetroot.//>>$T;fi;grep -e “xset s” $z|sed -e s/xset.s/xsaver:/>>$T;echo -n "DPMS: ">>$T;grep -e xset.*dpms $z|sed -e s/xset.-dpms/Off/ -e s/xset.dpms/On/>>$T;echo -n "xscreensaver: ">>$T;if grep -qe #xscreen $z;then echo “Off”>>$T;else echo “On”>>$T;fi;fi;if grep -qe Keyboard $z;then echo -n "Keyboard: ">>$T;grep -e “xset r” $z|sed -e s/xset.r/auto\ repeat/ -e s/c/Vol/>>$T;fi;if grep -qe Pointer $z;then echo -n "Mouse: ">>$T;grep -e “xset m” $z|sed -e s/xset.m//>>$T;fi;echo “”>>$T;done;xmessage -file $T

DestroyFunc ShowLayers
AddToFunc ShowLayers I Exec F=$FVWM_USERDIR; T=$F/.tmp-layers; echo -e “A StaysOnTop window is a window which is above \nthe normal (i.e., StaysPut) windows, a StaysOnBottom\nwindow is below the normal windows. Here the list\nof StaysOnTop and StaysOnBottom windows:\n”> $T; u=$F/.fvwm-layers; for j in 0 1 2 3 4; do if [ “$j” -eq “0” ];then z=$u; t=“Current Setting:”; l="---------------"; else z="$u-$j"; t=“Setting-$j:”; l="----------"; fi; echo $t >>$T; echo $l >>$T; [ ! -f $z ] || cat $z>>$T; echo “” >> $T; done; xmessage -file $T

#SEG bindings
#-----------------------------------------------------------------------------#

9. Mouse, frame buttons and keyboard bindings

#-----------------------------------------------------------------------------#

#------------------------------------------------------------------------------

First, for the mouse in the root window (Context=R)

Button 1 gives the Utilities menu

Button 2 gives the Window Ops menu

Button 3 gives the WindowList (like TwmWindows)

I use the AnyModifier (A) option for the modifier field, so you can hold down

any Shift-Ctrl-whatever combination you want!

Moreover on a window the same bindings are defined with the Alt modifier

#------------------------------------------------------------------------------

Button Context Modifi Function

Mouse 1 R A Menu Utilities mouse -1p -1p
Mouse 2 R A Menu Window mouse -1p -1p
Mouse 3 R A WindowList mouse -1p -1p
Mouse 3 R C WindowList mouse -1p -1p OnlyListSkip

Mouse 1 W M Menu Utilities mouse -1p -1p
Mouse 2 W M Menu Window mouse -1p -1p
Mouse 3 W M WindowList mouse -1p -1p
Mouse 3 W CM WindowList mouse -1p -1p OnlyListSkip

#G_SESSION 3 bind Shift Mouse * to gnomebutton
#Mouse 1 R S GnomeButton
#Mouse 2 R S GnomeButton
#Mouse 3 R S GnomeButton

#------------------------------------------------------------------------------

Now the rest of the frame

Here I invoke my complex functions for Move-or-lower, Move-or-Raise-Shade,

and Resize-or-Raise.

#------------------------------------------------------------------------------

Button 1 in the corners or sides, with any modifiers, gives resize or raise

Mouse 1 FS A Function “Resize-or-Raise-or-Shade”

Button 1 in the title, sides, w/ any modifiers, gives move or raise or shade

Mouse 1 T A Function “Move-or-Raise-or-Shade”
Mouse 1 FS C Function “Move-or-Raise-or-Shade”

Button 1 in an icons gives move for a drag, de-iconify for a double-click,

raiselower for a single click

Mouse 1 I A Function “Move-or-Iconify-or-Raise”

Alt Button 1 on an icons raise all icons

Mouse 1 I M All (CurrentPage Iconic) Raise

Button 2 in an icon, w/ any modifiers, gives de-iconify

Mouse 2 I A Iconify

Button 2 in the corners, sides, or title-bar gives the window ops menu

Mouse 2 FST A Menu Window-Ops2

Button 3 anywhere in the decoration (except the title-bar buttons)

does a raise-lower

Mouse 3 TSF A RaiseLower

Button 3 on a icon:

Mouse 3 I A Menu Window-Ops3 c+0 -101m

Button 3 in the window, with the Modifier-1 key (usually alt or diamond)

gives Raise-Lower. Used to use control here, but that interferes with xterm

Mouse 3 W SM RaiseLower

#-----------------------------------------------------------------------------

Mouse windows buttons binding

buttons: 1 3 5 7 9 8 6 4 2

#------------------------------------------------------------------------------

Button Context Modif Function

Mouse 1 1 A Function “window_ops_func”
Mouse 2 1 A Menu WindowGroupOps
Mouse 3 1 A Menu Move-Window
Mouse 1 2 A Close
Mouse 2 2 A All ($c) Close
Mouse 3 2 A Destroy
Mouse 1 4 A Maximize 100 100
Mouse 2 4 A Maximize 0 100
Mouse 3 4 A Maximize 100 0
Mouse 1 6 A Iconify
Mouse 2 6 A All ($c) Iconify On
Mouse 3 6 A All ($c) WindowShade On

#------------------------------------------------------------------------------

Now some keyboard shortcuts.

#------------------------------------------------------------------------------

#------------------------------------------------------------------------------

press arrow + Shift anywhere, and scroll by 1 page

#------------------------------------------------------------------------------

Key Left A S Scroll -100 0
Key Right A S Scroll +100 +0
Key Up A S Scroll +0 -100
Key Down A S Scroll +0 +100

#------------------------------------------------------------------------------

press arrow + Alt key, and scroll by 1/10 of a page

#------------------------------------------------------------------------------

Key Left A M Scroll -10 +0
Key Right A M Scroll +10 +0
Key Up A M Scroll +0 -10
Key Down A M Scroll +0 +10

#------------------------------------------------------------------------------

press arrow + control-meta anywhere, and move the pointer by 1% of a page

#------------------------------------------------------------------------------

Key Left A MC CursorMove -1 0
Key Right A MC CursorMove +1 +0
Key Up A MC CursorMove +0 -1
Key Down A MC CursorMove +0 +1

#------------------------------------------------------------------------------

press arrow + Shift-Alt key, and move the pointer by 1/10 of a page

#------------------------------------------------------------------------------

Key Left A SM CursorMove -10 +0
Key Right A SM CursorMove +10 +0
Key Up A SM CursorMove +0 -10
Key Down A SM CursorMove +0 +10

#------------------------------------------------------------------------------

Page Up/Page Down keys are used to scroll by one desktop page

in any context, press page up/down + control + alt

in root context, just pressing page up/down is OK

#------------------------------------------------------------------------------

Key Next A CM Desk -1 0 0 3
Key Next R M Desk -1 0 0 3
Key Prior A CM Desk +1 0 0 3
Key Prior R M Desk +1 0 0 3

#------------------------------------------------------------------------------

Alt-Shift-Fx window operations

#------------------------------------------------------------------------------
Key F4 A MS Close
Key F5 A MS RaiseLower
Key F6 A MS All (Iconic) Raise # originally Restore
Key F7 A MS Move
Key F8 A MS Resize
Key F9 A MS Iconify
Key F10 A MS Maximize 100 100
Key F11 A MS FvwmIdent
Key F12 A MS FvwmConsole

#------------------------------------------------------------------------------

The menus via Alt-Shift-Fx

#------------------------------------------------------------------------------
Key F1 A MS Menu Utilities mouse -1p -1p
Key F2 A MS Menu Window mouse -1p -1p
Key F3 A MS WindowList mouse -1p -1p

#------------------------------------------------------------------------------

The famous Alt-tab binding

#------------------------------------------------------------------------------

DestroyFunc my_dbltab2
AddToFunc my_dbltab2

  • I WindowListFunc
    DestroyFunc my_dbltab_prev
    AddToFunc my_dbltab_prev
  • I Prev my_dbltab2

Key Tab A M WindowList Root c c CurrentAtEnd, IconifiedAtEnd, NoGeometry, NoDeskSort, SelectOnRelease Alt_L my_dbltab_prev
Key Tab A CM WindowList Root c c CurrentAtEnd, IconifiedAtEnd, NoGeometry, OnlyListSkip, SelectOnRelease

#------------------------------------------------------------------------------

Stroke Bindings

#------------------------------------------------------------------------------

You need fvwm compiled with stroke support and libstroke installed

See the Stroke and StrokeFunc entries in the fvwm man page

We use mostly simple stroke motion. For complex stroke motions we need

to consider many sloppy stroke motions for each action.

#STROKE 2
#Mouse 3 R N StrokeFunc FeedBack DrawMotion
#Mouse 3 W M StrokeFunc FeedBack DrawMotion

#STROKE 2 We need to redefine the default bindings
#Stroke 0 0 R N WindowList mouse -1p -1p
#Stroke 0 0 W M WindowList mouse -1p -1p

#PREF 11
#STROKE 2 A | from the top to the bottom
#Stroke N852 0 R N Exec exec xterm
#Stroke N852 0 W M Exec exec xterm

#STROKE 2 A | from the bottom to the top
#Stroke N258 0 R N Exec exec emacs
#Stroke N258 0 W M Exec exec emacs

#STROKE 2 A / from the bottom to the top
#Stroke N159 0 R N Exec exec xfm
#Stroke N159 0 W M Exec exec xfm

#STROKE 2 A C from the top
#Stroke N9874123 0 R N Exec exec xcalc
#Stroke N9874123 0 W M Exec exec xcalc

#STROKE 11 A N (from the bottom)
#Stroke 7415963 0 R N Exec exec mozilla
#Stroke 74148963 0 R N Exec exec mozilla
#Stroke 74158963 0 R N Exec exec mozilla
#Stroke 7418963 0 R N Exec exec mozilla
#Stroke 415963 0 R N Exec exec mozilla

#Stroke 7415963 0 W M Exec exec mozilla
#Stroke 74148963 0 W M Exec exec mozilla
#Stroke 74158963 0 W M Exec exec mozilla
#Stroke 7418963 0 W M Exec exec mozilla
#Stroke 415963 0 W M Exec exec mozilla

#STROKE 4 A clockwise box from the top left
#Stroke N78963214 0 R N FvwmForm FvwmForm-QuitVerify
#Stroke N789632147 0 R N FvwmForm FvwmForm-QuitVerify
#Stroke N78963214 0 W M FvwmForm FvwmForm-QuitVerify
#Stroke N789632147 0 W M FvwmForm FvwmForm-QuitVerify

#SEG menus
#-----------------------------------------------------------------------------#

10. Now define the menus

#-----------------------------------------------------------------------------#

#------------------------------------------------------------------------------
#--------- Taskbar’s start menu
#------------------------------------------------------------------------------

DestroyMenu StartMenu
AddToMenu StartMenu@side.fvwm2.xpm@^black^

  • “&Shells%shells.xpm%” Popup Shells
  • “&Programs%programs.xpm%” Popup Programs
  • “&Documents%documents.xpm%” Popup Documents
  • “&Settings%settings.xpm%” Popup Settings
  • “” Nop
    Test (f /etc/X11/fvwm/DebianMenu) + “&Debian Menu%programs.xpm%” Popup /Debian
  • “&Module%modules.xpm” Popup Module-Popup
  • “&Find%find1.xpm%” FvwmScript FvwmScript-Find
  • “&Help%help.xpm%” Exec exec xman
    #PREF 1
  • “&Run…%run.xpm%” Exec exec xterm
  • “” Nop
  • “&Screen Saver%screen.xpm%” Popup Screen
  • “Shut &Down%shutdown.xpm%” Module FvwmScript FvwmScript-Quit

#------------------------------------------------------------------------------

Root Menu: This menu will fire up some very common utilities

#------------------------------------------------------------------------------

DestroyMenu Utilities
AddToMenu Utilities “Root Menu” Title
#PREF 3

  • “&Terminal%mini.term.xpm%” Exec exec xterm
  • “&Editor%mini.edit.xpm” Exec exec emacs
  • “&File Manager%mini.filemgr.xpm%” Exec exec xfm
  • “&Top%mini.run.xpm%” Exec exec xterm -geometry 80x40 -T Top -n Top -e top
  • “” Nop
  • “&Shells%mini.term.xpm” Popup Shells
  • “&Programs%mini.start.xpm%” Popup Programs
  • “” Nop
  • “FVWM &Modules%mini.modules.xpm%” Popup Module-Popup
  • “&Settings%mini.desktop.xpm%” Popup Settings
  • “&Documents%mini.books.xpm%” Popup Documents
  • “&Screen Saver%mini.display.xpm%” Popup Screen
  • “” Nop
  • “&Restart%mini.turn.xpm%” Popup Restart
  • “&Quit FVWM%mini.stop.xpm%” FvwmForm FvwmForm-QuitVerify

DestroyFunc SetDebianMenu
AddToFunc SetDebianMenu

  • I Read /etc/X11/fvwm/DebianMenu
  • I DestroyMenu Utilities
  • I AddToMenu Utilities “Root Menu” Title
    #PREF 3
  • I + “&Terminal%mini.term.xpm%” Exec exec x-terminal-emulator
  • I + “&Editor%mini.edit.xpm” Exec exec emacs
  • I + “&File Manager%mini.filemgr.xpm%” Exec exec xfm
  • I + “&Top%mini.run.xpm%” Exec exec xterm -geometry 80x40 -T Top -n Top -e top
  • I + “” Nop
  • I + “&Shells%mini.term.xpm” Popup /Debian/XShells
  • I + “&Programs%mini.start.xpm%” Popup /Debian/Apps
  • I + “” Nop
  • I + “&FVWM Modules%mini.modules.xpm%” Popup Module-Popup
  • I + “&Settings%mini.desktop.xpm%” Popup Settings
  • I + “&Documents%mini.books.xpm%” Popup Documents
  • I + “&Help%mini.book1.xpm%” Popup /Debian/Help
  • I + “&Screen Saver%mini.display.xpm%” Popup /Debian/Screen
  • I + “” Nop
  • I + “&Window Managers%mini.x2.xpm%” Popup /Debian/WindowManagers
  • I + “&Restart%mini.turn.xpm%” Restart
  • I + “&Quit FVWM%mini.stop.xpm%” FvwmForm FvwmForm-QuitVerify

Test (f /etc/X11/fvwm/DebianMenu) SetDebianMenu

#------------------------------------------------------------------------------
#--------- SHELLS
#------------------------------------------------------------------------------
DestroyMenu Shells
AddToMenu Shells

  • “&Xterm default%mini.term.xpm%” Exec exec xterm
  • “Xterm/&root default%mini.term.xpm%” Exec exec xterm -fg violet -bg black -e su -l
  • “&NXterm default%mini.term.xpm%” Exec exec nxterm
  • “&Rxvt default%mini.term.xpm%” Exec exec rxvt
  • “&Eterm default%mini.term.xpm%” Exec exec Eterm
  • “X&iterm default%mini.term.xpm%” Exec exec xiterm
  • “&Aterm default%mini.term.xpm%” Exec exec aterm
  • “&GNOME Term default%mini.term.xpm%” Exec exec gnome-terminal
  • “&Konsole default%mini.term.xpm%” Exec exec konsole
  • “&Kvt default%mini.term.xpm%” Exec exec kvt
  • “&Dtterm default%mini.term.xpm%” Exec exec /usr/bin/dtterm
  • “” Nop
  • “&Xterm 80x40 (7x14 font)%mini.term.xpm%” Exec exec xterm -n $USER@$HOST -T $USER@$HOST -g 80x40 -sb +sk +si -sl 4096 -j -ls -fn 7x14 -fb 7x14bold
  • “Xterm/r&oot 80x40 (7x14 font)%mini.term.xpm%” Exec exec xterm -n root@$HOST -T root@$HOST -g 80x40 -sb +sk +si -sl 4096 -j -ls -fn 7x14 -fb 7x14bold -fg violet -bg black -e su -l
  • “&NXterm 80x40 (7x14 font)%mini.term.xpm%” Exec exec nxterm -n $USER@$HOST -T $USER@$HOST -g 80x40 -sb +sk +si -sl 4096 -j -ls -fn 7x14 -fb 7x14bold
  • “&Rxvt 80x40 (7x14 font)%mini.term.xpm%” Exec exec rxvt -n $USER@$HOST -T $USER@$HOST -g 80x40 --loginShell -fn 7x14 -fb 7x14bold
  • “&Eterm 80x40 (7x14 font)%mini.term.xpm%” Exec exec Eterm -n $USER@$HOST -T $USER@$HOST -g 80x40 --login-shell --font 7x14 --bold-font 7x14bold
  • “X&iterm 80x40 (7x14 font)%mini.term.xpm%” Exec exec xiterm -n $USER@$HOST -T $USER@$HOST -g 80x40 -sb +sk +si -sl 4096 -ls -fn 7x14 -fb 7x14bold
  • “&Aterm 80x40 (7x14 font)%mini.term.xpm%” Exec exec aterm -n $USER@$HOST -T $USER@$HOST -g 80x40 -sb +sk +si -sl 4096 -ls -fn 7x14 -fb 7x14bold
  • “&GNOME Term 80x40 (7x14 font)%mini.term.xpm%” Exec exec gnome-terminal --title=$USER@$HOST --geometry=80x40 --login --font=7x14
  • “&Kvt 80x40 (7x14 font)%mini.term.xpm%” Exec exec kvt -n $USER@$HOST -T $USER@$HOST -vt_geometry 80x40 -sl 4096 -ls -vt_font 7x14
  • “&Konsole 80x40%mini.term.xpm%” Exec exec konsole -nowelcome -sl 4096 -ls -vt_sz 80x40
  • “&Dtterm 80x40 (7x14 font)%mini.term.xpm%” Exec exec /usr/dt/bin/dtterm -n $USER@$HOST -T $USER@$HOST -sl 4096 -ls -g 80x40 -fn 7x14 -fb 7x14bold
  • “” Nop
  • “Remote &login …%mini.connect.xpm%” FvwmForm FvwmForm-Rlogin

#------------------------------------------------------------------------------
#--------- Programs
#------------------------------------------------------------------------------

DestroyMenu Programs
AddToMenu Programs
#G_SM_G 2

AddToMenu Programs “&GNOME Menu%mini.gnome.xpm%” SendToModule FvwmGtk gnome-sys

#+ “” Nop
#G_SM_F 2
#AddToMenu Programs “&GNOME Menu%mini.gnome.xpm%” Popup gnome-sys
#+ “” Nop
#G_UM_G 2
#AddToMenu Programs “GNOME &User%mini.gnome.xpm%” SendToModule FvwmGtk gnome-user
#+ “” Nop
#G_UM_F 2
#AddToMenu Programs “GNOME &User%mini.gnome.xpm%” Popup gnome-user
#+ “” Nop
#G_RHM_G 2
#AddToMenu Programs “GNOME &RedHat%mini.gnome.xpm%” SendToModule FvwmGtk gnome-redhat
#+ “” Nop
#G_RHM_F 2
#AddToMenu Programs “GNOME &RedHat%mini.gnome.xpm%” Popup gnome-redhat
#+ “” Nop
#K_SM 2
#AddToMenu Programs “&KDE Menu%mini.kde.xpm” Popup kde-sys
#+ “” Nop
#K_UM 2
#AddToMenu Programs “KDE &User%mini.kde.xpm” Popup kde-user
#+ “” Nop
#CDE 2
#AddToMenu Programs “&CDE Menu%mini.folder.xpm” Popup cde-menu
#+ “” Nop
AddToMenu Programs

  • “&Accessories%mini.hammer.xpm%” Popup Accessories
  • “&Applications%mini.pencil.xpm%” Popup Applications
  • “&System%mini.filemgr.xpm” Popup System
  • “&Editors%mini.edit.xpm%” Popup Editors
  • “&Network%mini.telnet.xpm%” Popup Network
  • “&Internet%mini.connect.xpm%” Popup Internet
  • “&Graphics%mini.paint.xpm%” Popup Graphics
  • “&Multimedia%mini.cd.xpm%” Popup Multimedia

#------------------------------------------------------------------------------
#--------- KDE, CDE & GNOME “fvwm” menus

For more informtion man fvwm-menu-desktop

#K_SM 1
#PipeRead ‘fvwm-menu-desktop --desktop kde-sys --enable-mini-icons --enable-style’
#K_UM 1
#PipeRead ‘fvwm-menu-desktop --desktop kde-user --enable-mini-icons’
#G_SM_F 1
#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:::’
#G_UM_F 1
#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:::’
#G_RHM_F 1
#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:::’

#CDE 17
#DestroyMenu cde-menu
#AddToMenu cde-menu
#+ “&Applications Manager%mini.programs.xpm%” Exec exec /usr/dt/bin/dtaction Dtappmgr
#+ “&Terminal%mini.term.xpm%” Exec exec /usr/dt/bin/dtterm
#+ “&File Manager%mini.filemgr.xpm%” Exec exec /usr/dt/bin/dtfile
#+ “&Trash Can%mini.paper.xpm%” Exec exec /usr/dt/bin/dtaction Dttrash
#+ “Text &Editor%mini.edit.xpm%” Exec exec /usr/dt/bin/dtpad
#+ “Desktop &Help%mini.book1.xpm%” Exec exec /usr/dt/bin/dthelpview -helpVolume browser
#+ “Man Pages%mini.book1.xpm%” Exec exec /usr/dt/bin/dthelpview -man
#+ “&Mailer%mini.mail.xpm%” Exec exec /usr/dt/bin/dtmail
#+ “&Calandar%mini.calandar.xpm” Exec exec /usr/dt/bin/dtcm
#+ “&Calculator%mini.calc.xpm%” Exec exec /usr/dt/bin/dtcalc
#+ “&Icon Editor%mini.palette.xpm%” Exec exec /usr/dt/bin/dticon
#+ “&Print Manager%mini.fax.xpm%” Exec exec /usr/dt/bin/dtprintinfo
#+ “&Styles Manager%mini.hammer.xpm%” Exec exec /usr/dt/bin/dtstyle
#+ “” Nop
#+ “&Exit CDE%mini.stop.xpm%” Exec exec /usr/dt/bin/dtaction ExitSession

#------------------------------------------------------------------------------
#--------- Accessories

DestroyMenu Accessories
AddToMenu Accessories

  • “&Calculator%mini.calc.xpm%” Exec exec xcalc
  • “&Magnifying glass%mini.zoom.xpm%” Exec exec xmag
  • “&Font viewer%mini.font.xpm%” Exec exec xfontsel
  • “&Xdaliclock%mini.clock.xpm%” Exec exec xdaliclock
  • “X&clock%mini.clock.xpm%” Exec exec xclock
  • “&Rclock%mini.clock.xpm%” Exec exec rclock
  • “x&apm%mini.connect.xpm%” Exec exec xapm
  • “&View colormap%mini.colors.xpm%” Exec exec xcolormap
  • “&Color viewer%mini.colors.xpm%” Exec exec xcolorsel
  • “&Capture Form%mini.camera.xpm%” FvwmForm FvwmForm-Capture
  • “&Screen Dump Script%mini.camera.xpm%” FvwmScript FvwmScript-ScreenDump
  • “X&grab%mini.camera.xpm%” Exec exec xgrab
  • “&Ddd%mini.bug2.xpm%” Exec exec ddd
  • “Xx&gdb%mini.bug2.xpm%” Exec exec xxgdb
  • “&Xclipboard%mini.clipboard.xpm%” Exec exec xclipboard

#------------------------------------------------------------------------------
#--------- Applications

DestroyMenu Applications
AddToMenu Applications

  • “&Lyx%mini.edit.xpm%” Exec exec lyx
  • “&Thot%mini.edit.xpm%” Exec exec thot
  • “&Ghostview (Postscript)%mini.gv.xpm%” Exec exec ghostview
  • “&GV (Postscript)%mini.gv.xpm%” Exec exec gv
  • “X&dvi%mini.zoom.xpm%” Exec exec xdvi
  • “&Acroread (PDF)%mini.pdf.xpm%” Exec exec acroread
  • “&Xpdf (PDF)%mini.pdf.xpm%” Exec exec xpdf
  • “&Plan%mini.doc1.xpm%” Exec exec plan

#------------------------------------------------------------------------------
#--------- System

DestroyMenu System
AddToMenu System

  • “&Running processes%mini.run.xpm%” Exec exec xterm -g 80x40 -e top
  • “&TK processes%mini.hex.xpm%” Exec exec tkps
  • “&System load%mini.perf.xpm%” Exec exec xload
  • “&Xosview%mini.run.xpm%” Exec exec xosview
  • “&Memory usage%mini.perf.xpm%” Exec exec xmem
  • “&XSysStats%mini.run.xpm%” Exec exec XSysStats
  • “&xconsole%mini.term.xpm%” Exec exec xconsole
  • “Set &Date Script%mini.clock.xpm%” FvwmScript FvwmScript-Date
  • “” Nop
  • “&Midnight-Commander%mini.filemgr.xpm%” Exec exec xterm -g 80x40 -n Midnight-Commander -T Midnight-Commander -e mc -x
  • “X&fm%mini.filemgr.xpm%” Exec exec xfm
  • “File &Runer%mini.filemgr.xpm%” Exec exec fr
  • “&kfm%mini.filemgr.xpm%” Exec exec kfmclient openURL $HOME
  • “&gmc%mini.filemgr.xpm%” Exec exec gmc

#------------------------------------------------------------------------------
#--------- Editors

DestroyMenu Editors
AddToMenu Editors

  • “&Emacs%mini.edit.xpm%” Exec exec emacs
  • “&XEmacs%mini.edit.xpm%” Exec exec xemacs
  • “&Gvim%mini.edit.xpm%” Exec exec gvim
  • “&Nedit%mini.edit.xpm%” Exec exec nedit
  • “&Xedit%mini.edit.xpm%” Exec exec xedit

#------------------------------------------------------------------------------
#--------- Network

DestroyMenu Network
AddToMenu Network

  • “&Rlogin%mini.connect.xpm%” Module FvwmForm FvwmForm-Rlogin
  • “&Vppp%mini.connect.xpm%” Exec exec vppp
  • “&Ezppp%mini.connect.xpm%” Exec exec ezppp
  • “&Hifs%mini.eyes.xpm%” Exec exec xterm -ls -bg #c0c0c0 -fg black -T Hifs -name Hifs -geometry 26x24 -e hifs

#------------------------------------------------------------------------------
#--------- Internet

DestroyMenu Internet
AddToMenu Internet

  • “&Mozilla%mini.nscape.xpm%” Exec exec mozilla
  • “&Netscape%mini.nscape.xpm%” Exec exec netscape
  • “&Amaya%mini.nscape.xpm%” Exec exec amaya
  • “&Lynx%mini.cat.xpm%” Exec exec xterm -g 80x30 -n lynx -T lynx -e lynx
  • “” Nop #!E mail:pine:mutt:elm
  • “Xfmail%mini.mail.xpm%” Exec exec xfmail
  • “&Xmh%mini.mail.xpm%” Exec exec xmh
  • “&Mail%mini.mail.xpm%” Exec exec xterm -g 80x30 -n Mail -T Mail -e mail
  • “&Pine%mini.mail.xpm%” Exec exec xterm -g 80x30 -n Pine -T Pine -e pine
  • “&Mutt%mini.mail.xpm%” Exec exec xterm -g 80x30 -n Mutt -T Mutt -e mutt
  • “&Elm%mini.mail.xpm%” Exec exec xterm -g 80x30 -n Elm -T Elm -e elm
  • “” Nop #!E ncftp:xftp:irc:tkirc:licq:zircon:xgropher:xtel
  • “Nc&FTP%mini.ftp.xpm%” Exec exec xterm -g 80x30 -n NcFtp -T FTP -e ncftp
  • “&Xftp%mini.ftp.xpm%” Exec exec xftp
  • “X-&Chat%mini.doc1.xpm%” Exec exec xchat
  • “Irc%mini.doc1.xpm%” Exec exec xterm -g 80x30 -n Irc -T Trc -e irc
  • “Tkirc%mini.doc1.xpm%” Exec exec tkirc
  • “Lirc%mini.doc1.xpm%” Exec exec licq
  • “&Zircon%mini.zircon.xpm%” Exec exec zircon
  • “X&Gopher%mini.gopher.xpm%” Exec exec xgopher
  • “Minitel%mini.xterm.xpm%” Exec exec xtel -petit

#------------------------------------------------------------------------------
#--------- Graphics

DestroyMenu Graphics
AddToMenu Graphics

  • “The &Gimp%mini.gimp.xpm%” Exec exec gimp
  • “&XPaint%mini.palette.xpm%” Exec exec xpaint
  • “X&fig%mini.xfig.xpm%” Exec exec xfig
  • “X&Fpovray%mini.ray.xpm%” Exec exec xfpovray
  • “” Nop #!E xv:xbmbrowser:ee
  • “&XV%mini.xv.xpm%” Exec exec xv
  • “Xbm&Browser%mini.directory.xpm%” Exec exec xbmbrowser
  • “&EE%mini.palette.xpm%” Exec exec ee

#------------------------------------------------------------------------------
#--------- Multimedia

DestroyMenu Multimedia
AddToMenu Multimedia

  • “&CD player%mini.cdlabel.xpm%” Exec exec xplaycd
  • “X&mixer%mini.audiovol.xpm%” Exec exec xmixer
  • “X&ltwav%mini.sound.xpm%” Exec exec xltwavplay
  • “FreeAmp%mini.sound.xpm%” Exec exec freeamp
  • “MiXViews%mini.sound.xpm%” Exec exec mxv

DestroyMenu Amusements
AddToMenu Amusements

  • “&Eyes%mini.eyes.xpm%” Exec exec xeyes
  • “&X logo%mini.bx2.xpm%” Exec exec xlogo
  • “X&roach%mini.roach.xpm%” Exec exec xroach
  • “X&snow%mini.xsnow.xpm%” Exec exec xsnow
  • “&Stop Xsnow%mini.xsnow.xpm%” Exec exec killall xsnow
  • “&Desktop cat%mini.cat.xpm%” Exec exec xcat

#------------------------------------------------------------------------------
#--------- Modules
#------------------------------------------------------------------------------

DestroyMenu Module-Popup
AddToMenu Module-Popup

  • “&Autoraise%mini.raise.xpm%” RestartModule FvwmAuto 500
  • “A&nimate%mini.iconify.xpm%” RestartModule FvwmAnimate
  • “&Backer%mini.rainbow.xpm%” RestartModule FvwmBacker
  • “B&anner%mini.ray.xpm%” RestartModule FvwmBanner
  • “B&uttons Bar%mini.pencil.xpm%” RestartModuleByAlias FvwmButtons BarButtons BarButtons
  • “&Mini button bar%mini.pencil.xpm%” RestartModuleByAlias FvwmButtons MiniButtons MiniButtons
  • “&WMaker buttons%mini.pencil.xpm%” RestartModuleByAlias FvwmButtons WinMakerAppButtons WinMakerApp*
  • “&Console%mini.xterm.xpm%” Module FvwmConsole -sb
  • “&Debug%mini.bug2.xpm%” RestartModule FvwmDebug
  • “&IconBox%mini.icons.xpm%” RestartModule FvwmIconBox
  • “I&conMan%mini.run.xpm%” RestartModule FvwmIconMan
  • “Identif&y%mini.question.xpm%” RestartModule FvwmIdent
  • “Desker &Panel%mini.pager.xpm%” RestartModuleByAlias FvwmButtons DeskerPanelButtons DeskerPanelButtons
  • “Sound &effect%mini.sound.xpm%” RestartModule FvwmEvent
  • “&Talk to Fvwm%mini.telnet.xpm%” FvwmForm FvwmForm-Talk
  • “Task&Bar%mini.exp.xpm%” RestartModule FvwmTaskBar
  • “Window &List%mini.windows.xpm%” RestartModule FvwmWinList
  • “&Wharf%mini.pencil.xpm%” RestartModule FvwmWharf
  • “” Nop
  • “&Kill Modules%mini.bomb.xpm%” Popup Kill-Module-Popup

DestroyMenu Kill-Module-Popup
AddToMenu Kill-Module-Popup

  • “&Autoraise%mini.raise.xpm%” KillModule FvwmAuto
  • “A&nimate%mini.iconify.xpm%” KillModule FvwmAnimate
  • “&Backer%mini.rainbow.xpm%” KillModule FvwmBacker
  • “B&anner%mini.ray.xpm%” KillModule FvwmBanner
  • “B&utton bar%mini.pencil.xpm%” All (BarButtons) Close
  • “&Mini button bar%mini.pencil.xpm%” All (MiniButtons) Close
  • “&WMaker buttons%mini.pencil.xpm%” All (WinMakerApp*) Close
  • “&Console%mini.xterm.xpm%” KillModule FvwmConsole
  • “&Debug%mini.bug2.xpm%” KillModule FvwmDebug
  • “&IconBox%mini.icons.xpm%” KillModule FvwmIconBox
  • “I&conMan%mini.run.xpm%” KillModule FvwmIconMan
  • “Identif&y%mini.question.xpm%” KillModule FvwmIdent
  • “Desker &Panel%mini.pager.xpm%” All (DeskerPanelButtons) Close
  • “Sound &effect%mini.sound.xpm%” KillModule FvwmEvent
  • “&Talk%mini.telnet.xpm%” All (FvwmForm-Talk) Close
  • “Task&Bar%mini.exp.xpm” KillModule FvwmTaskBar
  • “Window &List%mini.windows.xpm%” KillModule FvwmWinList
  • “&Wharf%mini.pencil.xpm%” KillModule FvwmWharf

#------------------------------------------------------------------------------
#--------- Settings
#------------------------------------------------------------------------------

DestroyMenu Settings
AddToMenu Settings

  • “&Configuration%mini.fvwm.xpm%” Popup FvwmConfig
  • “&Animation%mini.iconify.xpm%” Popup Animate-Settings
  • “Applications &Managers%mini.windows.xpm%” Popup AppsManager
  • “Auto&Raise%mini.raise.xpm%” Popup AutoRaise-Settings
  • “Back&ground%mini.display.xpm%” Popup Background-Settings
  • “&Banner%mini.ray.xpm%” Popup Banner-Settings
  • “B&uttons Bar%mini.pencil.xpm%” Popup Buttons-Settings
  • “&Mini Buttons%mini.pencil.xpm%” Popup MiniButtons-Settings
  • “Desker &Panel%mini.pager.xpm%” Popup DeskerPanel-settings
  • “S&ounds Effect%mini.audiovol.xpm%” Popup Sound-Settings
  • “&WMaker Applets%mini.pencil.xpm%” Popup WinMakerApp-Settings
  • “Set &Layers%mini.windows.xpm” Popup Layers-Settings
  • “&X Setup Scripts%mini.x.xpm%” Popup XsetupScripts
  • “&Show/Load/Save Settings%mini.turn.xpm%” Popup Load-Settings
  • “” Nop
  • “&Edit .fvwm2rc%mini.edit.xpm%” Popup Edit-Config
  • “Reload .fvwm2rc%mini.turn.xpm%” Popup Reload-Config
  • “Temporary Change:” Title
  • “&Focus/Paging%mini.zoom.xpm%” Popup Focus-Settings
  • “&Mouse Speed%mini.cat.xpm%” Popup Mouse-Settings
  • “&Keyboard%mini.keyboard.xpm%” Popup Keyboard-Settings
  • “&Bell%mini.audiovol.xpm%” Popup Bell-Settings
  • “&Screen%mini.monitor.xpm%” Popup X-settings

#------------------------------------------------------------------------------
#--------- Fvwm Config

DestroyMenu FvwmConfig
AddToMenu FvwmConfig

  • “&Base Configuration%mini.fvwm.xpm%” FvwmScript FvwmScript-BaseConfig
  • “&Form Configuration%mini.fvwm.xpm” FvwmForm FvwmForm-Form
  • “” Nop
  • “&Rebuild Sample 95%mini.fvwm.xpm%” FvwmScript FvwmScript-Setup95
  • “&Load Default Sample%mini.fvwm.xpm%” FvwmForm FvwmForm-Setup

#------------------------------------------------------------------------------
#--------- Apps Manager

DestroyMenu AppsManager
AddToMenu AppsManager

  • “TaskBar &Desk%mini.exp.xpm%” ChangeAppsMan TaskBarDesk
  • “TaskBar &Global%mini.exp.xpm%” ChangeAppsMan TaskBarGlobal
  • “TaskBar &Desk (Auto Hide)%mini.exp.xpm%” ChangeAppsMan TaskBarDeskAutoHide
  • “TaskBar &Global (Auto Hide)%mini.exp.xpm%” ChangeAppsMan TaskBarGlobalAutoHide
  • “” Nop
  • “IconBox &Desk%mini.icons.xpm%” ChangeAppsMan IconBoxDesk
  • “IconBox &Global%mini.icons.xpm%” ChangeAppsMan IconBoxGlobal
  • “” Nop
  • “IconMan &Page%mini.run.xpm%” ChangeAppsMan IconManPage
  • “IconMan &Desk%mini.run.xpm%” ChangeAppsMan IconManDesk
  • “IconMan &Global%mini.run.xpm%” ChangeAppsMan IconManGlobal
  • “” Nop
  • “WinList &Desk%mini.windows.xpm%” ChangeAppsMan WinListDesk
  • “WinList &Global%mini.windows.xpm%” ChangeAppsMan WinListGlobal
  • “” Nop
  • “Use &Icons%mini.icons.xpm%” UseIcons
  • “” Nop
  • “&None%mini.windows.xpm%” AppsManNone

#------------------------------------------------------------------------------
#--------- Animate settings

DestroyMenu Animate-Settings
AddToMenu Animate-settings

  • “&Animation on%mini.iconify.xpm%” ModuleOn FvwmAnimate
  • “Animation &off%mini.cross.xpm%” ModuleOff FvwmAnimate
  • “Animate &Menu%mini.iconify.xpm%” Popup MenuFvwmAnimate

#------------------------------------------------------------------------------
#--------- AutoRaise settings

DestroyMenu AutoRaise-Settings
AddToMenu AutoRaise-Settings

  • “Raise &Slow%mini.raise.xpm%” ModuleOn ‘FvwmAuto’ ‘1000’
  • “Raise &Default%mini.raise.xpm%” ModuleOn ‘FvwmAuto’ ‘500’
  • “Raise &Fast%mini.raise.xpm%” ModuleOn ‘FvwmAuto’ ‘250’
  • “Speedy &Gonzales%mini.raise.xpm%” ModuleOn ‘FvwmAuto’ ‘50’
  • “Raise &Modules Only%mini.modules.xpm%” StartModulesAutoRaise
  • “AutoRaise &off%mini.cross.xpm%” ModuleOff FvwmAuto

#------------------------------------------------------------------------------
#--------- Background settings

DestroyMenu Background-Settings
AddToMenu Background-Settings

  • “&FvwmBacker%mini.rainbow.xpm%” SetBackground FvwmBacker
  • “&Disable Background%mini.cross.xpm%” SetBackgroundOff
  • “Some &Solid Colors%mini.colors.xpm%” Popup Back-Solid
  • “Some &Gradientd%mini.colors.xpm%” Popup Back-Gradient
  • “&Personal%mini.colors.xpm%” Popup Back-Personal
    PipeRead ‘[ ! -d /usr/share/pixmaps/backgrounds ] || echo + \"\&Site Background%mini.colors.xpm%\" Popup Back-Site’
    PipeRead ‘[ ! -n “$KDEDIR” ] || echo + \"\&KDE Background%mini.colors.xpm%\" Popup Back-KDE’
    PipeRead ‘[ ! -d /usr/local/share/WindowMaker/Backgrounds ] || echo + \"\&WM Background%mini.colors.xpm%\" Popup Back-Local-WM’
    PipeRead ‘[ ! -d /usr/share/WindowMaker/Backgrounds ] || echo + \"\&WM Background%mini.colors.xpm%\" Popup Back-WM’
    PipeRead ‘[ ! -d /usr/share/afterstep/backgrounds ] || echo + \"\&AS Background%mini.colors.xpm%\" Popup Back-AS’
    PipeRead ‘[ ! -d /usr/local/share/afterstep/backgrounds ] || echo + \"\&AS Background%mini.colors.xpm%\" Popup Back-Local-AS’

DestroyFunc SetBackFromDirectory
AddToFunc SetBackFromDirectory

  • I DestroyMenu recreate $0
  • I PipeRead ‘for i in /bin/ls $1;
    do echo AddToMenu $0 “basename $i” SetBackground \"$2 $i\"; done’

DestroyFunc SetBackFromDirectories
AddToFunc SetBackFromDirectories

  • I DestroyMenu recreate $0
  • I PipeRead ‘for j in /bin/ls -d $1; do echo AddToMenu $0 “basename $j:” Title; for i in /bin/ls $j/*; do echo AddToMenu $0 “basename $i” SetBackground \"$2 $i\"; done; done’

Replace $FVWM_USERDIR/images/backgrounds/ by your backgrounds directory

and uncomment the next line

#AddToMenu Back-Personal DynamicPopupAction SetBackFromDirectory ‘Back-Personal’ ‘$FVWM_USERDIR/images/backgrounds/*’ ‘Exec exec xv -root -quit’

AddToMenu Back-Site DynamicPopupAction SetBackFromDirectories ‘Back-Site’ ‘/usr/share/pixmaps/backgrounds/*’ ‘Exec exec xv -root -quit’

AddToMenu Back-KDE DynamicPopupAction SetBackFromDirectory ‘Back-KDE’ ‘$KDEDIR/share/wallpapers/*’ ‘Exec exec xv -root -quit’

AddToMenu Back-WM DynamicPopupAction SetBackFromDirectory ‘Back-WM’ ‘/usr/share/WindowMaker/Backgrounds/*’ ‘Exec exec xv -root -quit’

AddToMenu Back-Local-WM DynamicPopupAction SetBackFromDirectory ‘Back-Local-WM’ ‘/usr/local/share/WindowMaker/Backgrounds/*’ ‘Exec exec xv -root -quit’

AddToMenu Back-AS DynamicPopupAction SetBackFromDirectory ‘Back-AS’ ‘/usr/share/afterstep/backgrounds/*’ ‘Exec exec xv -root -quit’

AddToMenu Back-Local-AS DynamicPopupAction SetBackFromDirectory ‘Back-Local-AS’ ‘/usr/local/share/afterstep/backgrounds/*’ ‘Exec exec xv -root -quit’

DestroyMenu Back-Solid
AddToMenu Back-Solid

  • “&Red 1%mini.rball.xpm%” SetBackground ‘Exec exec xsetroot -solid Red1’
  • “Red &2%mini.rball.xpm%” SetBackground ‘Exec exec xsetroot -solid Red2’
  • “Red &3%mini.rball.xpm%” SetBackground ‘Exec exec xsetroot -solid Red3’
  • “Red &4%mini.rball.xpm%” SetBackground ‘Exec exec xsetroot -solid Red4’
  • “&Yellow 1%mini.rball.xpm%” SetBackground ‘Exec exec xsetroot -solid Yellow1’
  • “Yellow &2%mini.rball.xpm%” SetBackground ‘Exec exec xsetroot -solid Yellow2’
  • “Yellow &3%mini.rball.xpm%” SetBackground ‘Exec exec xsetroot -solid Yellow3’
  • “Yellow &4%mini.rball.xpm%” SetBackground ‘Exec exec xsetroot -solid Yellow4’
  • “&Orange 1%mini.rball.xpm%” SetBackground ‘Exec exec xsetroot -solid Orange1’
  • “Orange &2%mini.rball.xpm%” SetBackground ‘Exec exec xsetroot -solid Orange2’
  • “Orange &3%mini.rball.xpm%” SetBackground ‘Exec exec xsetroot -solid Orange3’
  • “Orange &4%mini.rball.xpm%” SetBackground ‘Exec exec xsetroot -solid Orange4’
  • “&Green 1%mini.rball.xpm%” SetBackground ‘Exec exec xsetroot -solid Green1’
  • “Green &2%mini.rball.xpm%” SetBackground ‘Exec exec xsetroot -solid Green2’
  • “Green &3%mini.rball.xpm%” SetBackground ‘Exec exec xsetroot -solid Green3’
  • “Green &4%mini.rball.xpm%” SetBackground ‘Exec exec xsetroot -solid Green4’
  • “&Cyan 1%mini.rball.xpm%” SetBackground ‘Exec exec xsetroot -solid Cyan1’
  • “Cyan &2%mini.rball.xpm%” SetBackground ‘Exec exec xsetroot -solid Cyan2’
  • “Cyan &3%mini.rball.xpm%” SetBackground ‘Exec exec xsetroot -solid Cyan3’
  • “Cyan &4%mini.rball.xpm%” SetBackground ‘Exec exec xsetroot -solid Cyan4’
  • “&Blue 1%mini.rball.xpm%” SetBackground ‘Exec exec xsetroot -solid Blue1’
  • “Blue &2%mini.rball.xpm%” SetBackground ‘Exec exec xsetroot -solid Blue2’
  • “Blue &3%mini.rball.xpm%” SetBackground ‘Exec exec xsetroot -solid Blue3’
  • “Blue &4%mini.rball.xpm%” SetBackground ‘Exec exec xsetroot -solid Blue4’
  • “&Magenta 1%mini.rball.xpm%” SetBackground ‘Exec exec xsetroot -solid Magenta1’
  • “Magenta &2%mini.rball.xpm%” SetBackground ‘Exec exec xsetroot -solid Magenta2’
  • “Magenta &3%mini.rball.xpm%” SetBackground ‘Exec exec xsetroot -solid Magenta3’
  • “Magenta &4%mini.rball.xpm%” SetBackground ‘Exec exec xsetroot -solid Magenta4’
  • “&Snow1%mini.rball.xpm%” SetBackground ‘Exec exec xsetroot -solid snow1’
  • “Snow &2%mini.rball.xpm%” SetBackground ‘Exec exec xsetroot -solid snow2’
  • “Snow &3%mini.rball.xpm%” SetBackground ‘Exec exec xsetroot -solid snow3’
  • “Snow &4%mini.rball.xpm%” SetBackground ‘Exec exec xsetroot -solid snow4’
  • “&Black%mini.rball.xpm%” SetBackground ‘Exec exec xsetroot -solid Black’

DestroyMenu Back-Gradient
AddToMenu Back-Gradient

  • “&Red decay%mini.bball.xpm%” SetBackground ‘Exec exec bggen red1 red4 | xv -root -quit -’
  • “&Yellow Orange decay%mini.bball.xpm%” SetBackground ‘Exec exec bggen Yellow1 Orange4 | xv -root -quit -’
  • “&Green decay%mini.bball.xpm%” SetBackground ‘Exec exec bggen green1 DarkGreen | xv -root -quit -’
  • “&Blue decay%mini.bball.xpm%” SetBackground ‘Exec exec bggen 100 100 255 0 0 100 | xv -root -quit -’
  • “&Magenta decayy%mini.bball.xpm%” SetBackground ‘Exec exec bggen blue magenta | xv -root -quit -’
  • “&Blue to Red%mini.bball.xpm%” SetBackground ‘Exec exec bggen blue red | xv -root -quit -’
  • “Blue to &Cyan%mini.bball.xpm%” SetBackground ‘Exec exec bggen blue4 Cyan1 | xv -root -quit -’
  • “&Cyan to Blue%mini.bball.xpm%” SetBackground ‘Exec exec bggen Cyan Blue4 | xv -root -quit -’
  • “&Black/pink/black%mini.bball.xpm%” SetBackground ‘Exec exec bggen black pink black | xv -root -quit -’
  • “Black/&red/black%mini.bball.xpm%” SetBackground ‘Exec exec bggen black red black | xv -root -quit -’
  • “&Sun Raise 1%mini.bball.xpm%” SetBackground ‘Exec exec bggen black orange black pink| xv -root -quit -’
  • “Sun Raise &2%mini.bball.xpm%” SetBackground ‘Exec exec bggen black orange black Blue4| xv -root -quit -’
  • “Sun Raise &3%mini.bball.xpm%” SetBackground ‘Exec exec bggen black red black grey60| xv -root -quit -’
  • “&Rainbowy%mini.bball.xpm%” SetBackground ‘Exec exec bggen red green blue | xv -root -quit -’
  • “&Full Rainbowy%mini.bball.xpm%” SetBackground ‘Exec exec bggen black red yellow green blue purple black | xv -root -quit -’
  • “&White to Black%mini.bball.xpm%” SetBackground ‘Exec exec bggen white black | xv -root -quit -’
  • “&Black to White%mini.bball.xpm%” SetBackground ‘Exec exec bggen white black | xv -root -quit -’

#------------------------------------------------------------------------------
#--------- Banner settings

DestroyMenu Banner-Settings
AddToMenu Banner-Settings

  • “&Banner on%mini.ray.xpm%” ModuleOn FvwmBanner
  • “Banner &off%mini.cross.xpm%” ModuleOff FvwmBanner

#------------------------------------------------------------------------------
#--------- Buttons settings

DestroyMenu Buttons-Settings
AddToMenu Buttons-Settings

  • “&Buttons Bar%mini.pencil.xpm%” ChangeButtonsOn ‘FvwmButtons BarButtons’
  • “&Wharf%mini.pencil.xpm%” ChangeButtonsOn FvwmWharf
  • “&None%mini.cross.xpm%” ChangeButtonsOff

#------------------------------------------------------------------------------
#--------- MiniButtons settings

DestroyMenu MiniButtons-Settings
AddToMenu MiniButtons-Settings

  • “&Mini Buttons on%mini.pencil.xpm%” ButtonsOn FvwmButtons MiniButtons MiniButtons
  • “Mini Buttons &off%mini.cross.xpm%” ButtonsOff MiniButtons MiniButtons

#------------------------------------------------------------------------------
#--------- DeskerPanel settings

DestroyMenu DeskerPanel-Settings
AddToMenu DeskerPanel-Settings

  • “&Desker Panel on%mini.pencil.xpm%” ButtonsOn FvwmButtons DeskerPanelButtons DeskerPanelButtons
  • “Desker Panel &off%mini.cross.xpm%” ButtonsOff DeskerPanelButtons DeskerPanelButtons

#------------------------------------------------------------------------------
#--------- WMaker Applets settings

DestroyMenu WinMakerApp-Settings
AddToMenu WinMakerApp-Settings

  • “&WMaker Applets on%mini.pencil.xpm%” ButtonsOn FvwmButtons WinMakerAppButtons WinMakerApp*
  • “WMaker Applets &off%mini.cross.xpm%” ButtonsOff WinMakerAppButtons WinMakerApp*

#------------------------------------------------------------------------------
#--------- Sound settings

DestroyMenu Sound-Settings
AddToMenu Sound-Settings

  • “&Sound Effect on%mini.audiovol.xpm%” ModuleOn FvwmEvent
  • “Sound Effect &off%mini.cross.xpm%” ModuleOff FvwmEvent
  • “Sound &card%mini.sound.xpm%” Exec exec xmixer

#------------------------------------------------------------------------------
#--------- Layers Settings

DestroyMenu Layers-Settings
AddToMenu Layers-Settings

  • “%mini.raise2.xpm%StaysOn&Top” Pick (CirculateHit) SetLayers StaysOnTop
  • “%mini.window.xpm%Stays&Put” Pick (CirculateHit) DestroyLayers
  • “%mini.lower2.xpm%StaysOn&Bottom” Pick (CirculateHit) SetLayers StaysOnBottom

#------------------------------------------------------------------------------
#--------- X setup Script

DestroyMenu XsetupScripts
AddToMenu XsetupScripts

  • “&Bell%mini.audiovol.xpm%” FvwmScript FvwmScript-BellSetup
  • “&KeyBoard%mini.keyboard.xpm%” FvwmScript FvwmScript-KeyboardSetup
  • “&Screen%mini.monitor.xpm%” FvwmScript FvwmScript-ScreenSetup
  • “&Mouse%mini.mouse.xpm%” FvwmScript FvwmScript-PointerSetup

#------------------------------------------------------------------------------
#--------- Edit config

#PREF 12
DestroyMenu Edit-Config
AddToMenu Edit-Config

  • “Edit .fvwm2rc%mini.edit.xpm%” Exec exec emacs $FVWM_USERDIR/.fvwm2rc
  • “Edit decorations%mini.edit.xpm%” Exec exec emacs $FVWM_USERDIR/decorations
  • “Edit globalfeel%mini.edit.xpm%” Exec exec emacs $FVWM_USERDIR/globalfeel
  • “Edit startup%mini.edit.xpm%” Exec exec emacs $FVWM_USERDIR/startup
  • “Edit styles%mini.edit.xpm%” Exec exec emacs $FVWM_USERDIR/styles
  • “Edit iconstyles%mini.edit.xpm%” Exec exec emacs $FVWM_USERDIR/iconstyles
  • “Edit functions%mini.edit.xpm%” Exec exec emacs $FVWM_USERDIR/functions
  • “Edit bindings%mini.edit.xpm%” Exec exec emacs $FVWM_USERDIR/bindings
  • “Edit menus%mini.edit.xpm%” Exec exec emacs $FVWM_USERDIR/menus
  • “Edit modules%mini.edit.xpm%” Exec exec emacs $FVWM_USERDIR/modules

#------------------------------------------------------------------------------
#--------- Reload config

DestroyMenu Reload-Config
AddToMenu Reload-Config

  • “Reload decorations%mini.turn.xpm%” Read decorations
  • “Reload globalfeel%mini.turn.xpm%” Read globalfeel
  • “Reload styles%mini.turn.xpm%” Read styles
  • “Reload iconstyles && menus%mini.turn.xpm%” ReloadIconStylesAndMenus
  • “Reload functions%mini.turn.xpm%” Read functions
  • “Reload bindings%mini.turn.xpm%” Read bindings
  • “Reload modules%mini.turn.xpm%” Read modules

#------------------------------------------------------------------------------
#--------- Load / Save As settings

DestroyMenu Load-Settings
AddToMenu Load-Settings

  • “Show &FVWM Settings%mini.fvwm.xpm%” ShowFvwmSettings
  • “Show Layers Settings%mini.window.xpm%” ShowLayers
  • “Show &X Settings%mini.x2.xpm%” ShowXSettings
  • “” Nop
  • “&Load Setting 1%mini.turn.xpm%” LoadSettings 1
  • “Load Setting &2%mini.turn.xpm%” LoadSettings 2
  • “Load Setting &3%mini.turn.xpm%” LoadSettings 3
  • “Load Setting &4%mini.turn.xpm%” LoadSettings 4
  • “Save Current As:” Title
  • “&Setting 1%mini.diskette.xpm%” SaveAsSettings 1
  • “Setting &2%mini.diskette.xpm%” SaveAsSettings 2
  • “Setting &3%mini.diskette.xpm%” SaveAsSettings 3
  • “Setting &4%mini.diskette.xpm%” SaveAsSettings 4

#------------------------------------------------------------------------------
#--------- Focus/Paging settings

DestroyMenu Focus-Settings
AddToMenu Focus-Settings

  • “&Sloppy Focus%mini.mouse.xpm%” Style * SloppyFocus
  • “&Click To Focus%mini.mouse.xpm%” Style * ClickToFocus
  • “&Focus Follows Mouse%mini.mouse.xpm%” Style * FocusFollowsMouse
  • “” Nop
  • “&Colormap Follows Mouse%mini.colors.xpm%” ColormapFocus FollowsMouse
  • “&Colormap Follows Focus%mini.colors.xpm%” ColormapFocus FollowsFocus
  • “” Nop
  • “&Full Paging ON%mini.maximize2.xpm%” EdgeScroll 100 100
  • “&All Paging OFF%mini.cross.xpm%” EdgeScroll 0 0
  • “&Horizontal Paging Only%mini.maximize-horiz.xpm%” EdgeScroll 100 0
  • “&Vertical Paging Only%mini.maximize-vert.xpm%” EdgeScroll 0 100
  • “&Partial Paging%mini.maximize2.xpm%” EdgeScroll 50 50
  • “&Full Paging && Edge Wrap%mini.maximize2.xpm%” EdgeScroll 100000 100000

#------------------------------------------------------------------------------
#--------- Mouse settings

DestroyMenu Mouse-Settings
AddToMenu Mouse-Settings

  • “Mouse &Slow%mini.mouse.xpm%” Exec xset m 1 1
  • “Mouse &Default%mini.mouse.xpm%” Exec xset m default
  • “Mouse &Fast%mini.cat.xpm%” Exec xset m 4 2
  • “Speedy &Gonzales%mini.cat.xpm%” Exec xset m 10 2

#------------------------------------------------------------------------------
#--------- Keyboard settings

DestroyMenu Keyboard-Settings
AddToMenu Keyboard-Settings

  • “&Auto-repeat on%mini.keyboard.xpm%” Exec xset r on
  • “Auto-repeat &off%mini.keyboard.xpm%” Exec xset r off

#------------------------------------------------------------------------------
#--------- Sound settings

DestroyMenu Bell-Settings
AddToMenu Bell-Settings

  • “&Bell on%mini.sound.xpm%” Exec xset b on
  • “Bell &off%mini.cross.xpm%” Exec xset b off
  • “Sound &card%mini.sound.xpm%” Exec exec xmixer

#------------------------------------------------------------------------------
#--------- X & screen settings

DestroyMenu X-Settings
AddToMenu X-Settings

  • “Back &Color%mini.colors.xpm” Popup Backcolor
  • “Back &Animation%mini.fractal.xpm%” Popup Background-Animation
  • “&Root Cursor Form%mini.xarchie.xpm%” FvwmForm FvwmForm-RootCursor
  • “&Video tuning%mini.monitor.xpm%” Exec exec xterm -T Xvidtune -e xvidtune
  • “&X configuration%mini.display.xpm%” Exec exec xterm -T Xconfig -e Xconfigurator

#--------- Background color

DestroyMenu Backcolor
AddToMenu Backcolor

  • “&Black%mini.bball.xpm%” Exec exec xsetroot -solid Black
  • “&Red%mini.bball.xpm%” Exec exec xsetroot -solid Red
  • “&Yellow%mini.bball.xpm%” Exec exec xsetroot -solid Yellow
  • “&Green%mini.bball.xpm%” Exec exec xsetroot -solid Green
  • “&Cyan%mini.bball.xpm%” Exec exec xsetroot -solid Cyan4
  • “&Blue%mini.bball.xpm%” Exec exec xsetroot -solid Blue
  • “&Magenta%mini.bball.xpm%” Exec exec xsetroot -solid Magenta
  • “&White%mini.bball.xpm%” Exec exec xsetroot -solid White
  • “&Blue decay%mini.bball.xpm%” Exec exec bggen 100 100 255 0 0 100 | xv -root -quit -
  • “&Rainbow%mini.bball.xpm%” Exec exec bggen red green blue | xv -root -quit -
  • “&Full Rainbow%mini.bball.xpm%” Exec exec bggen black red yellow green blue purple black | xv -root -quit -
  • “&Magenta decay%mini.bball.xpm%” Exec exec bggen blue magenta | xv -root -quit -

#--------- Background animation

DestroyMenu “Background-Animation”
AddToMenu “Background-Animation”

  • “&Braid%mini.rball.xpm%” Exec exec xlock -nice 10 -inroot -mode braid
  • “&Flame%mini.rball.xpm%” Exec exec xlock -nice 10 -inroot -mode flame
  • “&Grav%mini.rball.xpm%” Exec exec xlock -nice 10 -inroot -mode grav
  • “&Pyro%mini.rball.xpm%” Exec exec xlock -nice 10 -inroot -mode pyro
  • “&Qix%mini.rball.xpm%” Exec exec xlock -nice 10 -inroot -mode qix
  • “&Rock%mini.rball.xpm%” Exec exec xlock -nice 10 -inroot -mode rock
  • “&Slip%mini.rball.xpm%” Exec exec xlock -nice 10 -inroot -mode spiral
  • “&Spline%mini.rball.xpm%” Exec exec xlock -nice 10 -inroot -mode spline
  • “&Swarm%mini.rball.xpm%” Exec exec xlock -nice 10 -inroot -mode swarm
  • “&Worm%mini.rball.xpm%” Exec exec xlock -nice 10 -inroot -mode worm
  • “&Random%mini.rball.xpm%” Exec exec xlock -nice 10 -inroot -mode random

    Stop the animation in the background

  • “&Stop It%mini.cross.xpm%”
    Exec kill -9 $(ps aux | grep xlock | grep -v grep | awk ‘{print $2}’)

#------------------------------------------------------------------------------
#--------- Documents
#------------------------------------------------------------------------------

DestroyMenu Documents
AddToMenu Documents

  • “&Xman%mini.book1.xpm%” Exec exec xman
  • “&FVWM Home Page%mini.fvwm.xpm%” Exec exec mozilla http://www.fvwm.org/
  • “&FVWM Themes Home Page%mini.icons.xpm%” Exec exec mozilla http://fvwm-themes.sourceforge.net/
  • “&Sample 95 MINI-FAQ%mini.book1.xpm%” Exec exec xterm -bg white -fg black -g 80x35 -n “Sample-95 MINI-FAQ” -T “Sample-95 MINI-FAQ” -e less +?"-- Sample-95 MINI-FAQ --" $FVWM_USERDIR/.fvwm2rc
  • “FVWM &Man Pages%mini.book1.xpm%” Popup FvwmManPage
  • “” Nop
  • “&Browser%mini.folder.xpm%” Menu MenuBrowser
  • “Browser (&cached)%mini.folder.xpm%” Menu MenuBrowserCached
    AddToMenu Documents MissingSubmenuFunction FuncFvwmMenuDirectory
  • “&Root dir%mini.folder.xpm%” Popup /
  • “&Home dir%mini.folder.xpm%” Popup ~

DestroyMenu MenuBrowser
#PREF 1
AddToMenu MenuBrowser DynamicPopupAction Piperead ‘fvwm-menu-directory --reuse --name MenuBrowser --dir $HOME --special-dirs --exec-file ^“emacs” --xterm=" xterm -e" --icon-dir=mini.folder.xpm --icon-title=mini.term.xpm --icon-file=mini.file.xpm --icon-app=mini.hex.xpm --check-subdir’

DestroyMenu MenuBrowserCached
#PREF 1
AddToMenu MenuBrowserCached DynamicPopupAction Piperead ‘fvwm-menu-directory --all --reuse --name MenuBrowserCached --dir $HOME --special-dirs --exec-file ^“emacs” --xterm=" xterm -e" --icon-dir=mini.folder.xpm --icon-title=mini.term.xpm --icon-file=mini.file.xpm --icon-app=mini.hex.xpm --check-subdir’

DestroyFunc FuncFvwmMenuDirectory
#PREF 1
AddToFunc FuncFvwmMenuDirectory I PipeRead ‘fvwm-menu-directory --dir “$0” --exec-file ^“emacs” --xterm=" xterm -e" --icon-dir=mini.folder.xpm --icon-title=mini.term.xpm --icon-file=mini.file.xpm --icon-app=mini.hex.xpm --check-subdir’

#------------- FvwmManPage

DestroyFunc ViewManPage
AddToFunc ViewManPage

  • I Exec exec xterm -g 80x40 -e man $0

DestroyMenu FvwmManPage
AddToMenu FvwmManPage “FVWM Man Pages” Title

  • “%mini.book1.xpm%fvwm” ViewManPage fvwm
  • “%mini.book1.xpm%FvwmAnimate” ViewManPage FvwmAnimate
  • “%mini.book1.xpm%FvwmAuto” ViewManPage FvwmAuto
  • “%mini.book1.xpm%FvwmBacker” ViewManPage FvwmBacker
  • “%mini.book1.xpm%FvwmBanner” ViewManPage FvwmBanner
  • “%mini.book1.xpm%FvwmButtons” ViewManPage FvwmButtons
  • “%mini.book1.xpm%FvwmCommand” ViewManPage FvwmCommand
  • “%mini.book1.xpm%FvwmConsole” ViewManPage FvwmConsole
  • “%mini.book1.xpm%FvwmConsoleC.pl” ViewManPage FvwmConsoleC.pl
  • “%mini.book1.xpm%FvwmCpp” ViewManPage FvwmCpp
  • “%mini.book1.xpm%FvwmDebug” ViewManPage FvwmDebug
  • “%mini.book1.xpm%FvwmDragWell” ViewManPage FvwmDragWell
  • “%mini.book1.xpm%FvwmEvent” ViewManPage FvwmEvent
  • “%mini.book1.xpm%FvwmForm” ViewManPage FvwmForm
  • “%mini.book1.xpm%FvwmGtk” ViewManPage FvwmGtk
  • “%mini.book1.xpm%FvwmGtkDebug” ViewManPage FvwmGtkDebug
  • “%mini.book1.xpm%FvwmIconBox” ViewManPage FvwmIconBox
  • “%mini.book1.xpm%FvwmIconMan” ViewManPage FvwmIconMan
  • “%mini.book1.xpm%FvwmIdent” ViewManPage FvwmIdent
  • “%mini.book1.xpm%FvwmM4” ViewManPage FvwmM4
  • “%mini.book1.xpm%FvwmPager” ViewManPage FvwmPager
  • “%mini.book1.xpm%FvwmPerl” ViewManPage FvwmPerl
  • “%mini.book1.xpm%FvwmProxy” ViewManPage FvwmProxy
  • “%mini.book1.xpm%FvwmRearrange” ViewManPage FvwmRearrange
  • “%mini.book1.xpm%FvwmSave” ViewManPage FvwmSave
  • “%mini.book1.xpm%FvwmSaveDesk” ViewManPage FvwmSaveDesk
  • “%mini.book1.xpm%FvwmScript” ViewManPage FvwmScript
  • “%mini.book1.xpm%FvwmScroll” ViewManPage FvwmScroll
  • “%mini.book1.xpm%FvwmTaskBar” ViewManPage FvwmTaskBar
  • “%mini.book1.xpm%FvwmTheme” ViewManPage FvwmTheme
  • “%mini.book1.xpm%FvwmWharf” ViewManPage FvwmWharf
  • “%mini.book1.xpm%FvwmWinList” ViewManPage FvwmWinList
  • “%mini.book1.xpm%FvwmWindowMenu” ViewManPage FvwmWindowMenu
  • “” Nop
  • “%mini.book1.xpm%fvwm-config” ViewManPage fvwm-config
  • “%mini.book1.xpm%fvwm-perllib” ViewManPage fvwm-perllib
  • “%mini.book1.xpm%fvwm-root” ViewManPage fvwm-root
  • “%mini.book1.xpm%fvwm-bug” ViewManPage fvwm-bug
  • “%mini.book1.xpm%fvwm-convert-2.2” ViewManPage fvwm-convert-2.2
  • “%mini.book1.xpm%fvwm-convert-2.4” ViewManPage fvwm-convert-2.4
  • “%mini.book1.xpm%fvwm-convert-2.6” ViewManPage fvwm-convert-2.6
  • “” Nop
  • “%mini.book1.xpm%fvwm-menu-desktop” ViewManPage fvwm-menu-desktop
  • “%mini.book1.xpm%fvwm-menu-directory” ViewManPage fvwm-menu-directory
  • “%mini.book1.xpm%fvwm-menu-headlines” ViewManPage fvwm-menu-headlines
  • “%mini.book1.xpm%fvwm-menu-xlock” ViewManPage fvwm-menu-xlock

#------------------------------------------------------------------------------
#--------- ScreenSaver
#------------------------------------------------------------------------------

DestroyMenu Screen
AddToMenu Screen

  • “&Screensaver%mini.display.xpm%” Exec exec xlock -nolock -nice 19 -mode random
  • “Screen&lock%mini.lock.xpm%” Exec exec xlock -nice 19 -mode random
  • “” Nop #!E xlock
  • “&Screensaver%mini.display.xpm%” Popup MenuSSaver #!E xlock
  • “Sc&reen&lock%mini.lock.xpm%” Popup MenuSLock #!E xlock
  • “” Nop #!E xscreensaver
  • “(Re)start &XscreenSaver%mini.display.xpm%” Exec xscreensaver-command -exit ; exec xscreensaver -no-splash
  • “&Stop XscreenSaver%mini.cross.xpm%” Exec exec xscreensaver-command -exit
  • “XscreenSaver &Demo%mini.display.xpm%” Exec xscreensaver-command -exit ; exec xscreensaver; exec xscreensaver-command -demo
  • “” Nop #!E xscreensaver
  • “&Locked XscreenSaver%mini.lock.xpm%” Exec exec xscreensaver-command -lock
  • “&Activate XscreenSaver%mini.display.xpm%” Exec exec xscreensaver-command -activate

PipeRead ‘fvwm-menu-xlock -n MenuSSaver -t “Screensaver” -icon-item mini.bball.xpm – -nice 19 -nolock’ #!E xlock
PipeRead ‘fvwm-menu-xlock -n MenuSLock -t “Lock Screen” -icon-item mini.rball.xpm – -nice 19’ #!E xlock

#------------------------------------------------------------------------------
#--------- Restart
#------------------------------------------------------------------------------

DestroyMenu Restart
AddToMenu Restart “Restart Window Manager” Title

  • “&Restart Self%mini.turn.xpm%” Restart
  • “” Nop
  • “&fvwm-themes-start%mini.fvwm.xpm%” Restart fvwm-themes-start
  • “&fvwm%mini.fvwm.xpm%” Restart fvwm -s
  • “&fvwm2%mini.fvwm.xpm%” Restart fvwm2 -s
  • “&fvwm95%mini.fvwm.xpm%” Restart fvwm95 -s
  • “&AnotherLevel%mini.fvwm.xpm%” Restart AnotherLevel
  • “&AnotherLevelUp%mini.fvwm.xpm%” Restart AnotherLevelUp
  • “” Nop
  • “&afterstep%mini.windows.xpm%” Restart afterstep
  • “&blackbox%mini.windows.xpm%” Restart blackbox
  • “&enlightenment%mini.windows.xpm%” Restart enlightenment
  • “&flwm%mini.windows.xpm%” Restart flwm
  • “&icewm%mini.windows.xpm%” Restart icewm
  • “&kwm%mini.windows.xpm%” Restart kwm
  • “&mwm%mini.mwm.xpm%” Restart mwm
  • “&olvwm%mini.olwm.xpm%” Restart olvwm
  • “&sawfish%mini.windows.xpm%” Restart sawfish
  • “&sawmill%mini.windows.xpm%” Restart sawmill
  • “&scwm%mini.windows.xpm%” Restart scwm
  • “&twm%mini.twm.xpm%” Restart twm
  • “&uwm%mini.windows.xpm%” Restart uwm
  • “&wm2%mini.windows.xpm%” Restart wm2
  • “&wmaker%mini.windows.xpm%” Restart wmaker
  • “&wmx%mini.windows.xpm%” Restart wmx
  • “&xfwm%mini.windows.xpm%” Restart xfwm
  • “” Nop
  • “Just &xterm%mini.term.xpm%” Restart xterm

A bit dangerous in a menu

#+ “” Nop
#+ “Halt%mini.stop.xpm%” Exec exec shutdown -h now
#+ “Reboot%mini.lightbolt-full.xpm%” Exec exec shutdown -r now

#------------------------------------------------------------------------------
#------------- Windows Operations
#------------------------------------------------------------------------------

#-----------------------------------------------------------------------------

The “root” windows ops menu (Mouse 2)

DestroyMenu “Window”
AddToMenu “Window” “Window Operations” Title

  • “&Move%mini.move1.xpm%” Move
  • “&Resize%mini.resize3.xpm%” Resize
  • “(De)&Iconify%mini.iconify1.xpm%” Iconify
  • “(Un)M&aximize%mini.maximize1.xpm%” Maximize 100 100
  • “(Un)Max&wide%mini.maximize-horiz1.xpm%” Maximize 100 0
  • “(Un)Max&tall%mini.maximize-vert1.xpm%” Maximize 0 100
  • “(Un)&Shade%mini.shade1.xpm%” WindowShade
  • “(Un)S&tick%mini.stick1.xpm%” Stick
  • “R&aise%mini.raise2.xpm%” Raise
  • “&Lower%mini.lower2.xpm%” Lower
  • “” Nop
  • “&Delete%mini.cross.xpm” Delete
  • “&Close%mini.delete.xpm” Close
  • “&Destroy%mini.bomb.xpm%” Destroy
  • “” Nop
  • “Move to &Page%mini.move1.xpm%” Popup Move-window
  • “&Group Ops%mini.windows.xpm%” Popup WindowGroupOps
  • “&Window Style%mini.window.xpm%” Popup WindowStyle
  • “&Rearrange/Scroll%mini.windows.xpm%” Popup WinRearrange
  • “” Nop
  • “&Identify%mini.question.xpm%” Module FvwmIdent
  • “Switch &to…%mini.windows.xpm%” WindowList

#------------------------------------------------------------------------------

A trimmed down version of “Window Ops”, good for binding to decorations

DestroyMenu “Window-Ops2”
AddToMenu “Window-Ops2”

  • “&Move%mini.move1.xpm%” Move
  • “&Resize%mini.resize3.xpm%” Resize
  • “(De)&Iconify%mini.iconify1.xpm%” Iconify
  • “(Un)M&aximize%mini.maximize1.xpm%” Maximize 100 100
  • “(Un)Max&wide%mini.maximize-horiz1.xpm%” Maximize 100 0
  • “(Un)Max&tall%mini.maximize-vert1.xpm%” Maximize 0 100
  • “(Un)&Shade%mini.shade1.xpm%” WindowShade
  • “(Un)S&tick%mini.stick1.xpm%” Stick
    #+ “R&aiseLower%mini.raise2.xpm%” RaiseLower
  • “” Nop
  • “&Close%mini.delete.xpm” Close
  • “” Nop
  • “&Identify%mini.question.xpm%” Module FvwmIdent
  • “More&…%mini.window.xpm%” Menu Window This 0 0

#------------------------------------------------------------------------------

A trimmed down version of “Window Ops”, good for binding to TaskBar,

WinList … buttons

DestroyMenu “Window-Ops3”
AddToMenu “Window-Ops3”

  • “Move to &Page%mini.move1.xpm%” Popup Move-window
  • “&Group Ops%mini.windows.xpm%” Popup WindowGroupOps
  • “” Nop
  • “(De)&Iconify%mini.iconify1.xpm%” Iconify
  • “(Un)&Shade%mini.shade1.xpm%” WindowShade
  • “(Un)S&tick%mini.stick1.xpm%” Stick
  • “(Un)M&aximize%mini.maximize1.xpm%” Maximize 95 95
  • “%mini.window.xpm%Scroll&Bar (75%% scr)” Module FvwmScroll 75p 75p
  • “” Nop
  • “&Close%mini.delete.xpm” Close
  • “” Nop
  • “&Identify%mini.question.xpm%” Module FvwmIdent
  • “More&…%mini.window.xpm%” Menu Window This 0 0

#------------------------------------------------------------------------------

A “Move Window” menu

DestroyMenu “Move-Window”
AddToMenu “Move-Window” “Move to …” Title

  • ‘Page &1%mini.move1.xpm%’ MoveToPage 0 0
  • ‘Page &2%mini.move1.xpm%’ MoveToPage 1 0
  • ‘Page &3%mini.move1.xpm%’ MoveToPage 0 1
  • ‘Page &4%mini.move1.xpm%’ MoveToPage 1 1
  • ‘’ Nop
  • ‘&Fvwm%mini.move1.xpm%’ MoveToDesk 0 0
  • ‘&Devel%mini.move1.xpm%’ MoveToDesk 0 1
  • ‘&Internet%mini.move1.xpm%’ MoveToDesk 0 2
  • ‘&Misc%mini.move1.xpm%’ MoveToDesk 0 3

#------------------------------------------------------------------------------

A group version of WindowOps

DestroyMenu WindowGroupOps
AddToMenu WindowGroupOps “Group Ops” Title

  • “&Iconify%mini.iconify1.xpm%” Pick All ($c) Iconify on
  • “&DeIconify%mini.iconify1.xpm%” Pick All ($c) Iconify off
  • “&Shade%mini.shade1.xpm%” Pick All ($c) WindowShade on
  • “&UnShade%mini.shade1.xpm%” Pick All ($c) WindowShade off
  • “R&aise%mini.raise2.xpm%” Pick All ($c) Raise
  • “&Lower%mini.lower2.xpm%” Pick All ($c) Lower
  • “” Nop
  • “&Delete%mini.cross.xpm” Pick Delete
  • “&Close%mini.delete.xpm” Pick Close
  • “&Destroy%mini.bomb.xpm%” Pick Destroy
  • “&Quick move to …” Title
  • ‘Page &1%mini.move1.xpm%’ Pick All ($c) MoveToPage 0 0
  • ‘Page &2%mini.move1.xpm%’ Pick All ($c) MoveToPage 1 0
  • ‘Page &3%mini.move1.xpm%’ Pick All ($c) MoveToPage 0 1
  • ‘Page &4%mini.move1.xpm%’ Pick All ($c) MoveToPage 1 1
  • ‘’ Nop
  • ‘&Fvwm%mini.move1.xpm%’ Pick All ($c) MoveToDesk 0 0
  • ‘&Devel%mini.move1.xpm%’ Pick All ($c) MoveToDesk 0 1
  • ‘&Internet%mini.move1.xpm%’ Pick All ($c) MoveToDesk 0 2
  • ‘&Misc%mini.move1.xpm%’ Pick All ($c) MoveToDesk 0 3

DestroyMenu WindowStyle
AddToMenu WindowStyle

  • “%mini.window.xpm%Title&AtTop” Pick (CirculateHit) Style $n TitleAtTop
  • “%mini.window.xpm%&NoTitle” Pick (CirculateHit) Style $n NoTitle
  • “%mini.window.xpm%&Title” Pick (CirculateHit) Style $n NoTitle
  • “%mini.window.xpm%TitleAt&Bottom” Pick (CirculateHit) Style $n TitleAtBottom
  • “” Nop
  • “%mini.raise2.xpm%StaysOn&Top” Pick (CirculateHit) StyleAndRecapture $n StaysOnTop
  • “%mini.window.xpm%Stays&Put” Pick (CirculateHit) StyleAndRecapture $n StaysPut
  • “%mini.lower2.xpm%StaysOn&Bottom” Pick (CirculateHit) StyleAndRecapture $n StaysOnBottom
  • “” Nop
  • “%mini.window.xpm%&FvwmBorder” Pick (CirculateHit) Style $n FvwmBorder
  • “%mini.window.xpm%&MWMBorder” Pick (CirculateHit) Style $n MWMBorder
  • “%mini.window.xpm%&DepressableBorder” Pick (CirculateHit) Style $n DepressableBorder
  • “%mini.window.xpm%&FirmBorder” Pick (CirculateHit) Style $n FirmBorder
  • “%mini.window.xpm%&Handles” Pick (CirculateHit) Style $n Handles
  • “%mini.window.xpm%&NoHandles” Pick (CirculateHit) Style $n NoHandles
  • “%mini.window.xpm%BorderWidth &0” Pick (CirculateHit) Style $n BorderWidth 0
  • “%mini.window.xpm%BorderWidth &5” Pick (CirculateHit) Style $n BorderWidth 5
  • “%mini.window.xpm%HandleWidth &0” Pick (CirculateHit) Style $n HandleWidth 0
  • “%mini.window.xpm%HandleWidth &7” Pick (CirculateHit) Style $n HandleWidth 7
  • “” Nop
  • “%mini.resize3.xpm%&ResizeOpaque” Pick (CirculateHit) Style $n ResizeOpaque
  • “%mini.resize3.xpm%Resize&Outline” Pick (CirculateHit) Style $n ResizeOutline
  • “%mini.mouse.xpm%Sloppy&Focus” Pick (CirculateHit) Style $n SloppyFocus
  • “%mini.mouse.xpm%&ClickToFocus” Pick (CirculateHit) Style $n ClickToFocus
  • “%mini.mouse.xpm%&MouseFocus” Pick (CirculateHit) Style $n MouseFocus
  • “%mini.mouse.xpm%&NeverFocus” Pick (CirculateHit) Style $n NeverFocus

DestroyMenu WinRearrange
AddToMenu WinRearrange

  • “&Cascade%mini.windows.xpm%” FvwmRearrange -cascade -m 3 3 -incx 2
  • “Tile &horizontally%mini.windows.xpm%” FvwmRearrange -tile -h -m 2 2 98 98
  • “Tile &vertically%mini.windows.xpm%” FvwmRearrange -tile -m 2 2 98 98
  • “” Nop
  • “&ScrollBar (1/2 app)%mini.window.xpm%” Module FvwmScroll 2 2
  • “%mini.window.xpm%&Scroll&Bar (75%% scr)” Module FvwmScroll 75p 75p
  • “” Nop
  • “&Arrange Icons%mini.icons.xpm%” All (CurrentDesk Iconic) RecaptureWindow
  • “&Refresh Screen%mini.ray.xpm%” Refresh

#----------------------------------------------------------------------------

Use the winops menus styles for the “Windows Operations Menus”

Use it also for big menu

ChangeMenuStyle winops Window Window-Ops2 Window-Ops3 Move-Window WindowGroupOps WindowStyle WinRearrange Back-Solid Back-Gradient FvwmManPage MenuSSaver MenuSLock

#SEG modules
#-----------------------------------------------------------------------------#

11. Definitions used by the modules

(Alphabetic order is used, but the Form are at the end)

#-----------------------------------------------------------------------------#

#------------------------------------------------------------------------------
#------------------ FvwmBacker
#------------------------------------------------------------------------------

*FvwmBacker: Command(Desk 0, Page * *) -solid Blue
*FvwmBacker: Command(Desk 1, Page * *) -solid #7F4B7F
*FvwmBacker: Command(Desk 2, Page * *) -solid midnightblue
*FvwmBacker: Command(Desk 3, Page * *) -solid black

#------------------------------------------------------------------------------
#------------------ FvwmBanner
#------------------------------------------------------------------------------
Style FvwmBanner NoTitle, Sticky, StaysOnTop, WindowListSkip, CirculateSkip
*FvwmBannerTimeout 2

#------------------------------------------------------------------------------
#------------------ FvwmButtons: BarButtons
#------------------------------------------------------------------------------

Style BarButtons NoTitle, NoHandles, Sticky, WindowListSkip,
BorderWidth 4, CirculateSkip

DestroyModuleConfig BarButtons: *
BarButtons: Fore Black
BarButtons: Back #c3c3c3
BarButtons: Font "xft:sans-serif:Bold:pixelsize=10;--helvetica-bold-r-
-
-10-------*"

Geometry - really likes to pick its own size, but giving a position is OK

Warning: I’ve added a size geometry to avoid pbs if the fvwm_icons are

not in the image path ! Remove the size in this geometry especially if

you add buttons

*BarButtons: Geometry 120x445-5-84

Layout: specify rows or columns, not both

*BarButtons: Columns 2

#LAPTOP 1 Are you a laptop user ?
#*BarButtons: (2x1, Title “xapm”, Swallow(Kill) “xapm” “Exec exec xapm -geometry -1500-1500 -p”)

Define the buttons to use…

#PREF 3
*BarButtons: (1x2, Title FileMgr, Icon Xfm.xpm, Action ‘Exec exec xfm’)
*BarButtons: (1x2, Title terminal, Icon rterm2.xpm, Action ‘Exec exec xterm’)
*BarButtons: (1x2, Title editor, Icon lemacs.xpm, Action ‘Exec exec emacs’)
*BarButtons: (1x2, Title xv, Icon xv.xpm, Action ‘Exec exec xv’,
Action(Mouse 2) ‘Exec exec ee’,
Action(Mouse 3) ‘Exec exec gqview’)
*BarButtons: (1x2, Title Gimp, Icon gimp.xpm, Action ‘Exec exec gimp’,
Action(Mouse 2) ‘Exec exec xpaint’,
Action(Mouse 3) ‘Exec exec kiconedit’)
*BarButtons: (1x2, Title gview, Icon gv.xpm, Action ‘Exec exec ghostview’,
Action(Mouse 2) ‘Exec exec xdvi’,
Action(Mouse 3) ‘Exec exec xpdf’)
*BarButtons: (1x2, Title www, Icon nscape.xpm, Action ‘Exec exec netscape’,
Action(Mouse 2) ‘Exec exec vppp’,
Action(Mouse 3) ‘Exec exec xterm -geometry 80x30 -e mutt’)
*BarButtons: (1x2, Padding 0 0, Container(Padding 0 0, Frame 2, Columns 3))
*BarButtons: (Icon mini.move1.xpm, Action Move)
*BarButtons: (Icon mini.resize3.xpm, Action Resize)
*BarButtons: (Icon mini.iconify1.xpm, Action Iconify)
*BarButtons: (Icon mini.maximize1.xpm, Action Maximize 90 90)
*BarButtons: (Icon mini.shade1.xpm, Action WindowShade)
*BarButtons: (Icon mini.stick1.xpm, Action Stick)
*BarButtons: (Icon mini.cross.xpm, Action Delete)
*BarButtons: (Icon mini.bomb.xpm, Action Destroy)
*BarButtons: (Icon mini.question.xpm, Action Module FvwmIdent)
*BarButtons: (End)
*BarButtons: (1x2, Title “xload”, Swallow “xload” “Exec exec nice -16
xload -nolabel -update 4 -bg grey59 -hl grey70
-geometry -1500-1500”)
*BarButtons: (1x2, Title “xclock”, Swallow “xclock” “Exec
exec xclock -padding 0 -geometry -1500-1500”)
*BarButtons: (2x2, Swallow “FvwmPagerPager” ‘FvwmPager FvwmPagerPager * *’)

#------------------------------------------------------------------------------
#------------------ FvwmButtons: MiniButtons
#------------------------------------------------------------------------------

Style “MiniButtons” NoTitle, NoHandles, Sticky, WindowListSkip,
BorderWidth 0, CirculateSkip

DestroyModuleConfig MiniButtons*
*MiniButtons: Fore Black
*MiniButtons: Back #c0c0c0
*MiniButtons: Geometry -2+2
*MiniButtons: Rows 1
*MiniButtons: Padding 1 1
#PREF 3
*MiniButtons: - mini.term.xpm Exec exec xterm
*MiniButtons: - mini.filemgr.xpm Exec exec xfm
*MiniButtons: - mini.doc1.xpm Exec exec emacs
*MiniButtons: - mini.calc.xpm Exec exec xcalc
*MiniButtons: - mini.cd.xpm Exec exec xplaycd
*MiniButtons: - mini.audiovol.xpm Exec exec xmixer
*MiniButtons: - mini.happy.xpm Exec exec xmine
*MiniButtons: - mini.bomb.xpm Destroy

#------------------------------------------------------------------------------
#------------------ FvwmButtons: DeskerPanelButtons
#------------------------------------------------------------------------------

Style “DeskerPanelButtons” NoTitle, NoHandles, Sticky, WindowListSkip,
BorderWidth 0, CirculateSkip
#Style “DeskerPanelButtons” StayOnTop
DestroyModuleConfig DeskerPanelButtons: *
*DeskerPanelButtons: Fore Black
*DeskerPanelButtons: Back grey57
*DeskerPanelButtons: Geometry 12x79
*DeskerPanelButtons: Rows 1
*DeskerPanelButtons: Frame 1
*DeskerPanelButtons: Padding 0 0
#FAST 1
*DeskerPanelButtons: (Panel(right, steps 12, delay 0, position module top, indicator10) “FvwmDesker” ‘Module FvwmPager FvwmDesker 0 3’)
#SLOW 1
#*DeskerPanelButtons: (Panel(right, steps 0, position module top, indicator10) “FvwmDesker” ‘Module FvwmPager FvwmDesker 0 3’)

#------------------------------------------------------------------------------
#------------------ FvwmButtons: WinMakerAppButtons & WinMakerAppPanelCd
#------------------------------------------------------------------------------
Style “WinMakerApp*” NoTitle, NoHandles, BorderWidth 0, Sticky,
WindowListSkip, CirculateSkip
DestroyModuleConfig WinMakerAppButtons: *

#-------------------------------------

Buttons:

We use “hands panel”, the advantage is that we use the applet

in the panel only when we need it: Button 3 kill the panel

*WinMakerAppButtons: Geometry +0+120
*WinMakerAppButtons: Columns 1
*WinMakerAppButtons: Back #c0c0c0
*WinMakerAppButtons: Fore black
*WinMakerAppButtons: (Frame 1, Size 64 64,
Swallow “wmjmail” ‘Exec exec wmjmail’, Action(Mouse 1)
‘MyPanelButtons “WinMakerAppPanelMail” $right $top’,
Action(Mouse 3) ‘All (WinMakerAppPanelMail) Close’)
*WinMakerAppButtons: (Frame 1, Size 64 64,
Swallow “wmppp” ‘Exec exec wmppp’ Action(Mouse 1)
‘MyPanelButtons “WinMakerAppPanelPPP” $right $top’,
Action(Mouse 3) ‘All (WinMakerAppPanelPPP) Close’)
*WinMakerAppButtons: (Frame 1, Size 64 64,
Swallow “wmmount” ‘Exec exec wmmount -s’, Action(Mouse 1)
‘MyPanelButtons “WinMakerAppPanelCd” $right $top’,
Action(Mouse 3) ‘All (WinMakerAppPanelCd) Close’)

#-----------------

The Mail Panel

*WinMakerAppPanelMail: Rows 1
*WinMakerAppPanelMail: Back #c0c0c0
*WinMakerAppPanelMail: Fore black
*WinMakerAppPanelMail: (Frame 1, Size 64 64,
Swallow “wmCalClock” ‘Exec exec wmCalClock’)
*WinMakerAppPanelMail: (Frame 1, Size 64 64,
Swallow “wmglobe” ‘Exec exec wmglobe’)
*WinMakerAppPanelMail: (Frame 1, Size 64 64,
Swallow “wmMoonClock” ‘Exec exec wmMoonClock’)

#-----------------

The PPP Panel

*WinMakerAppPanelPPP: Rows 1
*WinMakerAppPanelPPP: Back #c0c0c0
*WinMakerAppPanelPPP: Fore black
*WinMakerAppPanelPPP: (Frame 1, Size 64 64,
Swallow “wminet” ‘Exec exec wminet’)
*WinMakerAppPanelPPP: (Frame 1, Size 64 64,
Swallow “wmsysmon” ‘Exec exec wmsysmon’)

#-----------------

The Cd Panel

*WinMakerAppPanelCd: Rows 1
*WinMakerAppPanelCd: Back #c0c0c0
*WinMakerAppPanelCd: Fore black
*WinMakerAppPanelCd: (Frame 1, Size 64 64,
Swallow “wmmixer” ‘Exec exec wmmixer -s’)
*WinMakerAppPanelCd: (Frame 1, Size 64 64,
Swallow “wmcdplay” ‘Exec exec wmcdplay -s’)

#------------------------------------------------------------------------------
#------------------ FvwmEvent
#------------------------------------------------------------------------------

DestroyModuleConfig FvwmEvent: *

replace rplay by a sound player that can play .au sound file

*FvwmEvent: Cmd "Exec exec rplay "

*FvwmEvent: StartDelay 3
*FvwmEvent: Delay 1

*FvwmEvent: startup “/usr/share/sounds/gong.au”
*FvwmEvent: add_window “/usr/share/sounds/wipe.au”
*FvwmEvent: destroy_window “/usr/share/sounds/pook.au”
*FvwmEvent: iconify “/usr/share/sounds/clong.au”
*FvwmEvent: deiconify “/usr/share/sounds/clong.au”
*FvwmEvent: windowshade “/usr/share/sounds/slide.au”
*FvwmEvent: dewindowshade “/usr/share/sounds/slide.au”
*FvwmEvent: new_page “/usr/share/sounds/slide.au”
*FvwmEvent: new_desk “/usr/share/sounds/slide.au”

#------------------------------------------------------------------------------
#------------------ FvwmGtk for GNOME menus
#------------------------------------------------------------------------------

*FvwmGtk: IconSize 22 22
#G_SM_G 1
#*FvwmGtk: Destroy “gnome-sys”
#G_SM_G 1
#PipeRead “fvwm-menu-desktop --desktop gnome-sys --install-prefix /usr --type gtk --enable-mini-icons”
#G_RHM_G 2
#*FvwmGtk: Destroy “gnome-redhat”
#PipeRead “fvwm-menu-desktop --desktop gnome-redhat --type gtk --enable-mini-icons”
#G_UM_G 2
#*FvwmGtk: Destroy “gnome-user”
#PipeRead “fvwm-menu-desktop --desktop gnome-user --type gtk --enable-mini-icons”

#------------------------------------------------------------------------------
#------------------ IconBox
#------------------------------------------------------------------------------
Style “FvwmIconBox” NoTitle, NoHandles, Sticky, WindowListSkip, CirculateSkip

DestroyModuleConfig FvwmIconBox: *
FvwmIconBox: Back #c0c0c0
FvwmIconBox: Fore Black
FvwmIconBox: IconHiBack SlateBlue
FvwmIconBox: IconHiFore white
FvwmIconBox: Geometry +0-0
FvwmIconBox: MaxIconSize 48x48
FvwmIconBox: Font "xft:sans-serif:Bold:pixelsize=12;--helvetica-bold-r-
-
-12-
-
-
-
---*"
*FvwmIconBox: SortIcons IconName
#*FvwmIconBox: SortIcons ResClass
*FvwmIconBox: Padding 10
*FvwmIconBox: FrameWidth 0 0
*FvwmIconBox: Lines 6
*FvwmIconBox: SBWidth 11
*FvwmIconBox: Placement Left Top
*FvwmIconBox: HideSC Horizontal
*FvwmIconBox: SetWMIconSize
*FvwmIconBox: HilightFocusWin
*FvwmIconBox: Resolution Desk
*FvwmIconBox: UseSkipList

mouse bindings

*FvwmIconBox: Mouse 1 Click DeiconifyFocusAndRaise
*FvwmIconBox: Mouse 1 DoubleClick DeiconifyFocusAndWarp
*FvwmIconBox: Mouse 2 Click Iconify
*FvwmIconBox: Mouse 3 DoubleClick Iconify off
*FvwmIconBox: Mouse 3 Click Menu Window-Ops3 c+0 -101m
*FvwmIconBox: Mouse 3 DoubleClick FvwmIdent

Key bindings

*FvwmIconBox: Key r RaiseLower
*FvwmIconBox: Key space Iconify
*FvwmIconBox: Key d Close

FvwmIconBox built-in functions

*FvwmIconBox: Key n Next
*FvwmIconBox: Key p Prev
*FvwmIconBox: Key h Left
*FvwmIconBox: Key j Down
*FvwmIconBox: Key k Up
*FvwmIconBox: Key l Right

animation

*FvwmIconBoxNoIconAction SendToModule FvwmAnimate animate

#------------------------------------------------------------------------------
#------------------ IconMan
#------------------------------------------------------------------------------
Style “FvwmIconMan” NoTitle, NoHandles, Sticky, WindowListSkip, CirculateSkip

DestroyModuleConfig FvwmIconMan: *

nbr de manager

*FvwmIconMan: nummanagers 2
#global, desk, or page
#*FvwmIconMan: Resolution page
FvwmIconMan: Resolution global
#FvwmIconMan: Resolution desk
FvwmIconMan: background #c0c0c0
FvwmIconMan: foreground Black
FvwmIconMan: plainbutton up Black #c0c0c0
FvwmIconMan: selectbutton down Black #c0c0c0
FvwmIconMan: focusbutton up white SlateBlue
FvwmIconMan: focusandselectbutton down white SlateBlue
FvwmIconMan: iconbutton down Black grey51
FvwmIconMan: font "xft:sans-serif:Medium:pixelsize=12;--times-bold-r-
-
-12-
-
-
-
-
-
-
"
*FvwmIconMan: followfocus true
*FvwmIconMan: usewinlist true
*FvwmIconMan: sort name
*FvwmIconMan: drawicons always
*FvwmIconMan: 2 title “Icon Man”
#PREF 4
*FvwmIconMan: 1 title " emacs windows"
*FvwmIconMan: 1 iconname “FvwmIconMan: emacs”
*FvwmIconMan: 1 format “%i”
*FvwmIconMan: 1 show resource=*macs
*FvwmIconMan: 2 managergeometry 1x0+0-0
*FvwmIconMan: 1 managergeometry 1x0+260-0
*FvwmIconMan: 1 buttongeometry 200x22
*FvwmIconMan: 2 buttongeometry 250x22

action

*FvwmIconMan: action Mouse 1 N sendcommand DeiconifyFocusAndRaise
*FvwmIconMan: action Mouse 2 N sendcommand Iconify
*FvwmIconMan: action Mouse 3 N sendcommand "Menu Window-Ops3 c+0 -101m "
*FvwmIconMan: action Key Left N gotobutton Left, select
*FvwmIconMan: action Key Right N gotobutton Right, select
*FvwmIconMan: action Key Up N gotobutton Up, select
*FvwmIconMan: action Key Down N gotobutton Down, select
*FvwmIconMan: action Key q A quit
*FvwmIconMan: action Key i A sendcommand Iconify
*FvwmIconMan: action Key g A sendcommand IconManGlobal
*FvwmIconMan: action Key p A sendcommand IconManPage
*FvwmIconMan: action Key d A sendcommand IconManDesk

animation

*FvwmIconMan: NoIconAction “SendToModule FvwmAnimate animate”

#------------------------------------------------------------------------------
#------------------ Identify
#------------------------------------------------------------------------------
Style “FvwmIdent” Sticky, NoButton 2, NoButton 4, NoButton 6

FvwmIdent: Back Blue4
FvwmIdent: Fore Yellow
FvwmIdent: Font ""xft:sans-serif:Medium;-adobe-times-medium-r--
-14-
------

#------------------------------------------------------------------------------
#------------------ FvwmPager: Swallowed by ButtonBar
#------------------------------------------------------------------------------
Style “FvwmPagerPager” NoTitle, NoHandles, Sticky, WindowListSkip, CirculateSkip

DestroyModuleConfig FvwmPagerPager: *
FvwmPagerPager: UseSkipList
FvwmPagerPager: Back grey60
FvwmPagerPager: Fore black
FvwmPagerPager: Font "xft:monospace:Bold:pixelsize=10;-adobe-helvetica-bold-r--
-10-
-
-----*
FvwmPagerPager: Hilight white
FvwmPagerPager: MiniIcons
FvwmPagerPager: Balloons
FvwmPagerPager: BalloonFore black
FvwmPagerPager: BalloonBack bisque
FvwmPagerPager: BalloonFont "xft:monospace:Medium:pixelsize=10;--fixed-medium-r-
-
-10-
-
-
----"
FvwmPagerPager: Geometry 319x69+5000+5000
FvwmPagerPager: WindowColors white grey51 white SlateBlue
FvwmPagerPager: Label 0 Fvwm
FvwmPagerPager: Label 1 Development
FvwmPagerPager: Label 2 Internet
FvwmPagerPager: Label 3 Misc
FvwmPagerPager: SmallFont "xft:sans-serif:Medium:pixelsize=8;--fixed-medium-r-
-
-8-
-
-
-
---*"

#------------------------------------------------------------------------------
#------------------ FvwmPager: FvwmDesker, the panel of StartPagerButtons
#------------------------------------------------------------------------------
Style “FvwmDesker” NoTitle, NoHandles, Sticky, WindowListSkip, CirculateSkip

DestroyModuleConfig FvwmDesker: *
FvwmDesker: UseSkipList
FvwmDesker: Back grey60
FvwmDesker: Fore black
FvwmDesker: Font "xft:monospace:Bold:pixelsize=10;--helvetica-bold-r-
-
-10-
------"
FvwmDesker: Hilight white
FvwmDesker: Geometry 319x69+5000+5000
FvwmDesker: MiniIcons
FvwmDesker: Balloons
FvwmDesker: BalloonFore black
FvwmDesker: BalloonBack bisque
FvwmDesker: BalloonFont "xft:monospace:Medium:pixelsize=10;--fixed-medium-r-
-
-10-
-
-
-
---"
FvwmDesker: Label 0 Fvwm
FvwmDesker: Label 1 Development
FvwmDesker: Label 2 Internet
FvwmDesker: Label 3 Misc
FvwmDesker: SmallFont "xft:sans-serif:Medium:pixelsize=8;--fixed-medium-r-
-
-8-
-
-
----"

#------------------------------------------------------------------------------
#------------------ FvwmScript
#------------------------------------------------------------------------------

FvwmScript: DefaultFont "xft:sans-serif:Medium:pixelsize=12;-adobe-helvetica-bold-r---12-------"
*FvwmScript: DefaultFore black
*FvwmScript: DefaultBack grey85
*FvwmScript: DefaultHilight grey100
*FvwmScript: DefaultShadow grey55

#------------------------------------------------------------------------------
#------------------ FvwmTaskBar
#------------------------------------------------------------------------------

Style “FvwmTaskBar” NoTitle, NoHandles, Sticky, WindowListSkip,
CirculateSkip, TitleAtBottom

Note: Title at bottom is for shading.

FvwmTaskBar: Geometry +0-0
FvwmTaskBar: Fore Black
FvwmTaskBar: Back #c0c0c0
FvwmTaskBar: IconFore Black
FvwmTaskBar: IconBack grey51
FvwmTaskBar: Font "xft:sans-serif:Medium:pixelsize=12;-adobe-times-medium-r--
-14-
-
-
-
---"
FvwmTaskBar: SelFont "xft:sans-serif:Bold:pixelsize=12;-adobe-times-bold-r--
-14-------"
FvwmTaskBar: StatusFont "xft:sans-serif:Medium:pixelsize=12;-fixed-medium-r-
--12-------"
*FvwmTaskBar: Action Click1 DeiconifyFocusAndRaise
*FvwmTaskBar: Action Click2 Iconify
*FvwmTaskBar: Action Click3 Menu Window-Ops3 c+0 -101m
*FvwmTaskBar: UseSkipList
*FvwmTaskBar: AutoStick
*FvwmTaskBar: StartName Start
*FvwmTaskBar: StartMenu StartMenu mouse -100p -100m
*FvwmTaskBar: StartIcon mini.penguin.xpm
*FvwmTaskBar: ShowTips
*FvwmTaskBar: ShowTransients
#*FvwmTaskBar: HighlightFocus
*FvwmTaskBar: AutoHide
*FvwmTaskBar: DeskOnly
*FvwmTaskBar: NoIconAction SendToModule FvwmAnimate animate

#------------------------------------------------------------------------------
#------------------ FvwmWharf
#------------------------------------------------------------------------------

Style “FvwmWharf” NoTitle, NoHandles, Sticky, WindowListSkip,
BorderWidth 2, CirculateSkip

DestroyModuleConfig FvwmWharf: *
*FvwmWharf: Animate
*FvwmWharf: AnimateMain
*FvwmWharf: Geometry -2-50
*FvwmWharf: Columns 1
*FvwmWharf: Bgcolor Grey
#*FvwmWharf: ForceSize
*FvwmWharf: FullPush

*FvwmWharf: TextureType 1
*FvwmWharf: TextureColor WhiteSmoke DarkGrey

*FvwmWharf X arrows2.xpm Folder
*FvwmWharf kill rbomb2.xpm Close
*FvwmWharf Recycler Jrecycle.xpm Restart
*FvwmWharf Exit exit.xpm FvwmForm FvwmForm-QuitVerify
*FvwmWharf xlock Jlock.xpm Exec exec xlock -nice 10 -mode random
*FvwmWharf ~Folder
#PREF 3
*FvwmWharf term rterm2.xpm Exec exec xterm
*FvwmWharf editor lemacs.xpm Exec exec emacs
*FvwmWharf filemgr Xfm.xpm Exec exec xfm

*FvwmWharf Y arrows2.xpm Folder
*FvwmWharf netscape nscape.xpm Exec exec netscape
*FvwmWharf xview xv.xpm Exec exec xv
*FvwmWharf gimp gimp.xpm Exec exec gimp
*FvwmWharf GV gv.xpm Exec exec ghostview
*FvwmWharf ~Folder

*FvwmWharf xclock nil MaxSwallow “xclock” xclock -padding 0 -bg white
*FvwmWharf xload nil MaxSwallow “xload”
xload -nolabel -update 5 -bg grey51 -geometry -1500-1500
*FvwmWharf pager nil MaxSwallowModule “FvwmPagerPager” FvwmPager FvwmPagerPager * *

#------------------------------------------------------------------------------
#------------------ FvwmWinList
#------------------------------------------------------------------------------
Style “FvwmWinList” NoTitle, Sticky, WindowListSkip, CirculateSkip

DestroyModuleConfig FvwmWinList: *
FvwmWinList: Back #c3c3c3
FvwmWinList: Fore Black
FvwmWinList: FocusBack SlateBlue
FvwmWinList: FocusFore white
FvwmWinList: IconBack grey51
FvwmWinList: IconFore Black
FvwmWinList: Font "xft:sans-serif:Medium:pixelsize=12;-adobe-helvetica-bold-r--
-12-
-
-
-
-
--"
*FvwmWinList: Action Click1 DeiconifyFocusAndRaise
*FvwmWinList: Action Click2 Iconify
*FvwmWinList: Action Click3 Menu Window-Ops3 c+0 -101m
*FvwmWinList: UseSkipList
*FvwmWinList: ShowCurrentDesk
*FvwmWinList: MinWidth 180
*FvwmWinList: MaxWidth 250
*FvwmWinList: Geometry +0-0
*FvwmWinList: NoIconAction SendToModule FvwmAnimate animate

#SEG END
#-----------------------------------------------------------------------------#

THAT’S ALL FOLKS!!

#-----------------------------------------------------------------------------#

– Sample-95 MINI-FAQ –

* Why doesn’t this FAQ contain my question?

* What are the default bindings?

* Some (mini-)icons are missing in menus and in some buttons!

* Does Sample-95 support themes?

* Can I use Sample-95 with GNOME?

* How can I load saved settings before starting FVWM?

* Can I use WindowMaker and AfterStep applets with FVWM?

* Who wrote this configuration file?

----------------------------------------------------------------------------

* Why doesn’t this FAQ contain my question?

Maybe because the answer is in the beginning of the configuration file

(i.e., this file!), in the FVWM FAQ or in the FVWM man pages.

----------------------------------------

* What are the default bindings?

Mouse bindings:

--------------

Mouse 1 on the root window: main menu

Mouse 2 on the root window: window operations menu

Mouse 3 on the root window: Window List of all normal applications

Ctrl-Mouse 3 on the root window: Window List of all skipped applications

Alt-Mouse x inside a window: as Mouse x on the root window

Shift-Alt-Mouse 3 inside a window: Raise or Lower

If you have built the config for gnome-session:

Shift-Mouse x on the root window gives the corresponding “GNOME button”

Mouse 1 on the title: Raise, Move for a drag, shade for a double click

Mouse 1 on the borders: Raise, Resize for a drag, shade for a double click

Mouse 1 on an icon: Move, Raise on one click, deiconify for a double

Alt-Mouse 1 on an icon; Raise all the icons

Ctrl-Mouse 1 on the borders: As mouse 1 on the title

Mouse 2 on the title or the borders: window operations menu

Mouse 2 on an icon: deiconify

Mouse 3 on the title/borders: Raise or Lower

Mouse 3 on an icon: The “modules/icons” window operations menu

Window Buttons:

--------------

- Left button:

Mouse 1: Window operation menu, double click: close

Mouse 2: Group operations menu

Mouse 3: Quick Move window menu

- Close button (right button)

Mouse 1: Close

Mouse 2: Close all the windows with the same class

Mouse 3: Destroy

- Maximize button (2nd right button)

Mouse 1: Full Maximize

Mouse 2: Maximize Horizontally

Mouse 3: Maximize Vertically

- Iconify button (3rd right button)

Mouse 1: Iconify

Mouse 2: Iconify all the windows with the same class

Mouse 3: Shade all the windows with the same class

Key bindings (anywhere):

------------

Shift-Left/Right/Up/Down: scroll Left/Right/Up/Down by 1 page

Alt-Left/Right/Up/Down: scroll Left/Right/Up/Down by 1/10 page

Shift-Ctrl-Left/Right/Up/Down: move the pointer by 1O% of a page

Alt-Ctrl-Left/Right/Up/Down: move the pointer by 1% of a page

Alt-Ctrl-PageUp/PageDown: scroll by one desktop page

Shift-Alt-F1: Main menu

Shift-Alt-F2: Window operations menu

Shift-Alt-F3: WindowList

Shift-Alt-F4: Close

Shift-Alt-F5: RaiseLower

Shift-Alt-F6: Raise all Icons

Shift-Alt-F7: Move

Shift-Alt-F8: Resize

Shift-Alt-F9: Iconify

Shift-Alt-F10: Maximize

Shift-Alt-F11: Identify

Shift-Alt-F12: Console

Alt-Tab released at once: previous (normal) window

Alt-Tab: WindowList of all normal windows and warp to the selected window

when released

Ctrl-Alt-Tab: WindowList of all skipped windows

Stroke bindings:

---------------

You need to have FVWM compiled with stroke support (these bindings

are defined only in this case) and libstroke installed.

Mouse button 3 is used (this button must be pressed during the stroke),

no modifiers are needed when you start your mouse motion on the root

window and you must use the Alt modifier if you start your mouse motion

on a window (you cannot start your motion on a window title bar or frame).

The mouses motion:

A | from the top to the bottom: your preferred terminal

A | from the bottom to the top: your prefered editor

A / from the bottom to the top: your prefered file manager

A C from the top: xcalc

A N (from the bottom): netscape

A clockwise box from the top left: FvwmForm-QuitVerify

Add more yourself!

----------------------------------------

* Some (mini-)icons are missing in menus and in buttons!

If you have no mini(-icons) then either your ImagePath does not contain

the directory of the fvwm_icons or you are using a RedHat/Mandrake/… rpm

version of fvwm-icons which uses mini- in the place of mini. for

mini-icons name. If only some mini(-icons) are missing, then you are using

a too old version of fvwm_icons.

----------------------------------------

* Does Sample-95 support themes?

No. But, it is possible to hack the configuration to have an “elementary”

themes engine. The basic idea is to use FvwmTheme to propagate the colors

and to replace “Read decorations” by “Read theme” in .fvwm2rc where theme

is a symbolic link to a theme. A theme will be a file which look like

decorations plus the FvwmTheme configuration commands. Other technical

functions are needed as a function for switching between themes. This is

left to your own pleasure! Doing elaborated FVWM configurations is one of

the better games under UNIX.

If you want a powerful themes engine do not use Sample-95, it is not the

aim of this configuration. There are a powerful themes engine which is

under fast development: fvwm-themes (http://fvwm-themes.sourceforge.net/).

----------------------------------------

* Can I use Sample-95 with GNOME?

Yes. You “need” FVWM compiled with GNOME support and it is preferable to

run FVWM under gnome-session. Also, do not forget that you have to set

FVWM_USERDIR, so start the gnome-session as

env FVWM_USERDIR=“your FVWM_USERDIR” gnome-session

Of course, it is preferable to set the “build a file for gnome-session”

option of the Setup95 script. You may use the option “Try a Stays Put panel”

to put the panel in the same layer than the normal windows, but you may

have to leave GNOME/FVWM and start again X to avoid problems.

Note that under session, Sample-95 does not load your “X settings” by

default (GNOME has its own method). Moreover, read the next question for

using a different setting when you use GNOME (you may also use the

Session(Init/Restart)Function functionality, see the startup file).

One thing that you can add to your configuration file is:

GnomeShowDesk x

where x is the number of desks you want to see in the GNOME pager at

start (if not the GNOME pager is dynamic).

Also, for leaving GNOME you must use GNOME or you must “QuitSession” for

just exiting or “Exec exec save-session --kill” for saving and exiting.

----------------------------------------

* How can I load saved settings before starting FVWM?

Say, you want to use setting 1 under a normal FVWM session, setting 2

under a gnome-session and setting 3 under a normal FVWM session but the

shell test FOO is true. Then, your .xinitrc/.xsession file can look

as follows (where $1 is the “first” argument given by startx, or by kdm or

gdm …).

case $1 in

fvwm)

F=“your FVWM_USERDIR”

if FOO; Then $X=“3”; else $X=1; fi;

for i in $F/.FvwmAnimate $F/.FvwmForm $F/.fvwm-layers \

~/.xinitrc-fvwm $F/.FvwmBaseConfig \ $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 /bin/cp $i-$X $i;

done;

fvwm

;;

gnome)

F=“your FVWM_USERDIR”

for i in $F/.FvwmAnimate $F/.FvwmForm $F/.fvwm-layers \

~/.xinitrc-fvwm $F/.FvwmBaseConfig \ $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 /bin/cp $i-2 $i;

done;

env FVWM_USERDIR=“your FVWM_USERDIR” gnome-session

;;

… other cases …

esac

----------------------------------------

* Can I use WindowMaker and AfterStep applets with FVWM?

Yes most WM and AS applets are FVWM compliant. Moreover, sample-95 provides

a FvwmButtons for you called WinMakerAppButtons. Of course, you have to

edit the configuration of this buttons to put your preferred applets. Note

that you have an applets panel under the 3 first applets. These panels are

special: Mouse 1 (on the background of the applet) start the panel (or only

map it if it is already started) if it is not out. If the panel is out,

Mouse 1 unmaps it (but the panel applets are alive). The special thing is

that Mouse 3 kills the panel: this can save your cpu.

----------------------------------------

* Who wrote this configuration file?

The starting point is “the” fvwm95 configuration file. Then, Dominik

did some work on it and in particular so that it worked fine with

fvwm-2.3.x. Later, olicha spent a lot of time with it, wrote the Setup95

Script and rewrote all the “Settings” stuff. Some ideas came from

fvwm-themes (thanks to the fvww-themes workers, and in particular migo).

Probably, some others fvwm-workers have added improvement but did not take

the time to update this answer.

[/code]

So that’s the function that gets called. Pointless. It does nothing other than mess things up. Get rid of it.

The reason why you’re seeing both the FvwmIconMan (that’s the correct name for it – not IconBox which is something else entirely different) for the one you want and the Emacs windows is because further down in your config you have an entire bunch of lines which start like this:

*fvwmiconman: ....
*fvwmiconman: ....

Now, the way FVWM parses this is that it will read all those lines in exactly as specified. Then StartFunction gets called once all the lines have been read in, which in your case actually starts FvwmIconMan. That’s OK, but the use of an extra function to do that is useless. So, first step: Sort out StartFunction such that you just have this:

DestroyFunc StartFunction
AddToFunc   StartFunction
+ I Module FvwmIconMan

That’s it. The style line can be put with the other list of Style lines, and the *FvwmIconBox line can be removed entirely. Now to your FvwmIconMan config.

*FvwmIconMan: nummanagers 2

There’s your culprit – that says that FvwmIconMan will be tracking two instances of itself – those managers (separate instances of FvwmIconMan essentially) are delimited by referring to them as ‘1’ or ‘2’. So you want to trim it down such that you have:

#global, desk, or page
*FvwmIconMan: Resolution global
*FvwmIconMan: background  #c0c0c0
*FvwmIconMan: foreground Black
*FvwmIconMan: plainbutton up Black #c0c0c0
*FvwmIconMan: selectbutton down  Black #c0c0c0
*FvwmIconMan: focusbutton up white SlateBlue
*FvwmIconMan: focusandselectbutton down white SlateBlue
*FvwmIconMan: iconbutton down Black grey51
*FvwmIconMan: font  "xft:sans-serif:Medium:pixelsize=12;-*-times-bold-r-*-*-12-*-*-*-*-*-*-*"
*FvwmIconMan: followfocus true
*FvwmIconMan: usewinlist true
*FvwmIconMan: sort name
*FvwmIconMan: drawicons always
*FvwmIconMan: title           "Icon Man"
*FvwmIconMan: managergeometry 1x0+0-0
*FvwmIconMan: buttongeometry 250x22
# action
*FvwmIconMan: action    Mouse    1 N sendcommand DeiconifyFocusAndRaise
*FvwmIconMan: action    Mouse    2 N sendcommand Iconify
*FvwmIconMan: action    Mouse    3 N sendcommand "Menu Window-Ops3 c+0 -101m "
*FvwmIconMan: action    Key    Left N gotobutton Left, select
*FvwmIconMan: action    Key    Right N gotobutton Right, select
*FvwmIconMan: action    Key    Up N gotobutton Up, select
*FvwmIconMan: action    Key    Down N gotobutton Down, select
*FvwmIconMan: action    Key    q A quit
*FvwmIconMan: action    Key    i A sendcommand Iconify
*FvwmIconMan: action    Key    g A sendcommand IconManGlobal
*FvwmIconMan: action    Key    p A sendcommand IconManPage
*FvwmIconMan: action    Key    d A sendcommand IconManDesk
# animation
*FvwmIconMan: NoIconAction "SendToModule FvwmAnimate animate"

And as one last aside – don’t base your FVWM config on the FVWM-95 one – it’s old, uses old syntax and old options some of which have been renamed or obsoleted.

– Thomas Adam

Perfect! It now works just as it should. Thank you very much!

That sounds like excellent advice. If I can ask one more favor, do you know of a better example “bare-bones” .fvwm2rc file that I could use and experiment with?

Again, thank you for your time and assistance!

Leslie

Just look on these forums under the Screenshots and Config settings…

– Thomas Adam

Besides looking there there are some specific configs I would recommend because I know they are very well documented.
[list]
[]Taviso’s config[/:m]
[]Thomas Adam’s config, of which a newer version apparntly is locate here for now.[/:m][/list:u]
There are also some guides and HOWTOs that might be very interesting to read and that I try to keep track of here it might also be a good idea to visit the wiki currently located here until the domain trouble gets sorted out.