SimpleQuestion: How to remove the pager withTheclock&mai

SimpleQuestion: How to remove the pager withTheclock&mail
at the beginning of the startup of fvwm ?
and have a smaller pager with only the 4 or 6 desk (I have a 2*2 for one desk)

Thank you very much,

Best regards,

Patrick

Well, you’re probably referring to FvwmTaskBar (as that’s the only thing that has both a clock and a mail indicator in it by default) in which case you’ll have something that looks like this in your StartFunction, defined in your fvwm config file:

+ I Module FvwmTaskBar

Should you see such a line, comment it out.

Look at the ‘DesktopSize’ command, as well as the way in which you invoke your FvwmPager.

– Thomas Adam

This file is copied to a new user’s FVWM_USERDIR by FvwmForm-Setup form.

This file contains the commands fvwm reads while starting.

EdgeResistance 0 0
EdgeScroll 50 50
ClickTime 0

DeskTopSize 2x2
MenuStyle * fvwm, Foreground maroon, Background grey60, Greyed grey40
MenuStyle * Font -adobe-times-bold-r---14-------*

ColormapFocus FollowsMouse

default Styles:

make sure these fonts exist on your system:

Style * Font -adobe-times-bold-r---12-------*
Style * IconFont -adobe-times-bold-r---12-------*
Style * HilightFore black, HilightBack palevioletred
Style * BorderWidth 7, HandleWidth 7
Style * Icon unknown1.xpm, Color lightgrey/dimgrey
Style * MWMFunctions, MWMDecor, HintOverride
Style * DecorateTransient, NoPPosition
Style * IconBox 0 -10 -280 -1
Style * FocusFollowsMouse
Style * TileCascadePlacement

ludo add to menu

Irix-5.2 like pager

Style “FvwmPager” Handles, NoTitle
*FvwmPagerGeometry 120x40-1-1
*FvwmPagerFore Black
*FvwmPagerBack LightGray
*FvwmPagerHilight Yellow
*FvwmPagerLabel 0 Global

Styles for various Fvwm modules:

Style Fvwm* NoTitle, Sticky, WindowListSkip
Style Fvwm* BorderWidth 2, CirculateSkipIcon, CirculateSkip
Style FvwmPager ClickToFocus
Style FvwmBanner StaysOnTop
Style FvwmButtons Icon toolbox.xpm, ClickToFocus

Styles for your common terminal emulator programs.

xterms and rxvts in a separate icon box:

Style XTerm Icon xterm.xpm, SloppyFocus, IconBox -70 1 -1 -140
Style rxvt Icon term.xpm, SloppyFocus, IconBox -70 1 -1 -140
Style rxvt MWMBorder, MWMButtons

Styles for various common programs:

Style *lock NoTitle, NoHandles, Sticky, WindowListSkip, ClickToFocus
Style xbiff NoTitle, Sticky, WindowListSkip, ClickToFocus
Style xcalc Icon xcalc.xpm, NoButton 2,ClickToFocus
Style xmh Icon mail1.xpm, NoIconTitle,StickyIcon
Style xmh NoButton 2
Style xman Icon xman.xpm, ClickToFocus
Style xmag Icon mag_glass.xpm, ClickToFocus
Style xgraph Icon graphs.xpm, ClickToFocus
Style xmosaic Color Green/Yellow, ClickToFocus

ludo add to menu

AddToMenu “System”

  •   "Are you sure to logout ? " Title 
    
  •   ""      Nop
    
  •   "Restart" Restart
    
  •   "Quit"  Quit
    

ludo

DestroyFunc WindowMoveControl
AddToFunc WindowMoveControl

  • M Move

Mouse 1 W M Function WindowMoveControl

ludo add to menu

AddToFunc “Resize-or-Raise” “M” Resize

  •          "M" Raise
    
  •          "C" Raise
    
  •          "D" RaiseLower
    

some simple default key bindings:

Key Next A SCM Next [] Focus
Key Prior A SCM Prev [
] Focus

some simple default mouse bindings:

for the root window:

Mouse 1 R A Menu MenuFvwmRoot Nop
Mouse 2 R A Menu MenuFvwmWindowOps Nop
Mouse 3 R A WindowList

for the title bar buttons:

Mouse 0 1 A Menu MenuFvwmWindowOps2 Close
Mouse 0 2 A FuncFvwmMaximize
Mouse 0 4 A Iconify

for other parts of the window/borders/icons:

Mouse 1 F A FuncFvwmResizeOrRaise
Mouse 1 TS A FuncFvwmMoveOrRaise

Mouse 1 WFST M FuncFvwmMoveOrRaise
#Mouse 1 WFST 12 FuncFvwmMoveOrRaise

#Mouse 1 I A FuncFvwmMoveOrIconify

Mouse 2 W A Iconify
Mouse 2 I A Iconify
Mouse 2 FST A Menu MenuFvwmWindowOps2 Nop

Mouse 3 TSIF A RaiseLower

#Mouse 3 FST 1 FuncFvwmResizeOrRaise
#Mouse 3 FST 12 FuncFvwmResizeOrRaise

#Mouse 3 W M Resize direction SE WarpToBorder
DestroyFunc WindowLudoResize
AddToFunc WindowLudoResize

  • M Resize direction SE WarpToBorder

Mouse 3 W M Function WindowLudoResize

Mouse 3 I A Move
Mouse 1 I A Iconify
Mouse 1 I M Move

ludo keys

Key Left A M Desk -1 0
#Key Left A 1 Desk -1 0
Key Right A M Desk 1 0
#Key Right A 1 Desk 1 0

Key F10 A N FocusAndDeiconify Netscape:*

######################## Initialization Functions ############################
AddToFunc StartFunction

  • I Module FvwmAnimate
  • I Module FvwmBanner
  • I Module FvwmButtons

AddToFunc InitFunction

  • I exec xsetroot -mod 2 2 -fg rgb:55/40/55 -bg rgb:70/50/70

For some SM-s (like gnome-session) there is an internal background setter.

AddToFunc SessionInitFunction

  • I Nop

######################## Menus ###################
Read /etc/X11/fvwm/menudefs.hook Quiet
Read menudefs.hook Quiet

DestroyMenu MenuFvwmRoot
AddToMenu MenuFvwmRoot “$[gt.Root Menu]” Title

  •                   "&1. XTerm"             Exec exec xterm
    
  •                   "&2. Rxvt"              Exec exec rxvt
    
  •                   ""              Nop
    
  •                   "&D. Debian Menu"             Popup "/Debian"
    
  •                   ""              Nop
    
  •                   "&R. $[gt.Remote Logins]"     Popup MenuFvwmLogins
    
  •                   ""              Nop
    
  •                   "&U. $[gt.Utilities]"         Popup MenuFvwmUtilities
    
  •                   ""              Nop
    
  •                   "&M. $[gt.Fvwm Modules]"      Popup MenuFvwmModules
    
  •                   "&W. $[gt.Fvwm Window Ops]"   Popup MenuFvwmWindowOps
    
  •                   "&S. $[gt.Fvwm Config Ops]"   Popup MenuFvwmConfig
    
  •                   ""              Nop
    
  •                   "&F. $[gt.Refresh Screen]"   Refresh
    
  •                   "&C. $[gt.Recapture Screen]" Recapture
    
  •                   ""              Nop
    
  •                   "&X. $[gt.Exit Fvwm]" Popup MenuFvwmQuitVerify
    

DestroyMenu MenuFvwmUtilities
AddToMenu MenuFvwmUtilities “$[gt.Utilities]” Title

  •                   "&T. Top"       Exec exec xterm -T Top -n Top -e top
    
  •                   "&C. Calculator" Exec exec xcalc
    
  •                   "&M. Xman"      Exec exec xman
    
  •                   "&G. Xmag"      Exec exec xmag
    
  •                   "&R. Editres"   Exec exec editres
    
  •                   ""              Nop
    
  •                   "&E. XEmacs"    Exec exec xemacs
    
  •                   "&A. Xmh Mail"  FuncFvwmMailXmh xmh "-font fixed"
    
  •                   ""              Nop
    
  •                   "&L. XLock"     Exec exec xlock -mode random
    
  •                   ""              Nop
    
  •                   "&D. $[gt.Reset X defaults]" Exec xrdb -load $HOME/.Xdefaults
    

DestroyMenu MenuFvwmConfig
AddToMenu MenuFvwmConfig “$[gt.Fvwm Config Ops]” Title

  • “&S. $[gt.Sloppy Focus]” FuncFvwmFocusPolicyChange SloppyFocus
  • “&C. $[gt.Click To Focus]” FuncFvwmFocusPolicyChange ClickToFocus
  • “&F. $[gt.Focus Follows Mouse]” FuncFvwmFocusPolicyChange FocusFollowsMouse
  • “” Nop
  • “&1. $[gt.Colormap Follows Mouse]” ColormapFocus FollowsMouse
  • “&2. $[gt.Colormap Follows Focus]” ColormapFocus FollowsFocus
  • “” Nop
  • “&3. $[gt.Full Paging ON]” EdgeScroll 100 100
  • “&4. $[gt.All Paging OFF]” EdgeScroll 0 0
  • “&5. $[gt.Horizontal Paging Only]” EdgeScroll 100 0
  • “&6. $[gt.Vertical Paging Only]” EdgeScroll 0 100
  • “&7. $[gt.Partial Paging]” EdgeScroll 50 50
  • “&8. $[gt.Full Paging && Edge Wrap]” EdgeScroll 100000 100000

The window Ops menus exhibit a different HotKey style.

There are 2 versions of the WindowOps Menu, meant to be bound to different

things. Here is the “common” part:

DestroyFunc FuncFvwmWindowCommon
AddToFunc FuncFvwmWindowCommon

  • I AddToMenu $0 “$[gt.&Move]” Move
  • I AddToMenu $0 “$[gt.&Resize]” Resize
  • I AddToMenu $0 “$[gt.R&aise]” Raise
  • I AddToMenu $0 “$[gt.&Lower]” Lower
  • I AddToMenu $0 “$[gt.(De)&Iconify]” Iconify
  • I AddToMenu $0 “$[gt.(Un)&Stick]” Stick
  • I AddToMenu $0 “$[gt.(Un)Ma&ximize]” Maximize
  • I AddToMenu $0 “” Nop
  • I AddToMenu $0 “$[gt.&Delete]” Delete
  • I AddToMenu $0 “$[gt.&Close]” Close
  • I AddToMenu $0 “$[gt.Destroy]” Destroy
  • I AddToMenu $0 “” Nop

First windowops menu, bound to:

mouse 2 on root

Root menu

DestroyMenu MenuFvwmWindowOps
AddToMenu MenuFvwmWindowOps “$[gt.Window Ops]” Title
FuncFvwmWindowCommon MenuFvwmWindowOps

  • “$[gt.Re&fresh Window]” RefreshWindow

Second windowops menu, bound to:

any mouse on titlebar button 1

mouse 2 on frame, side or titlebar

DestroyMenu MenuFvwmWindowOps2
AddToMenu MenuFvwmWindowOps2
FuncFvwmWindowCommon MenuFvwmWindowOps2

  • Scroll&Bar Module FvwmScroll 2 2
  • “&$[gt.Print]” FuncFvwmPrint
  • “$[gt.Print Re&verse]” FuncFvwmPrintReverse

3 different ways to log on, take your pick:

DestroyFunc FuncFvwmRloginXterm
AddToFunc FuncFvwmRloginXterm
I Exec xterm -name $0 -title “$USER @ $0” -e rlogin $0
DestroyFunc FuncFvwmRloginRxvt
AddToFunc FuncFvwmRloginRxvt
I Exec rxvt -name $0 -n $0 -title $USER@$0 -e rlogin $0
DestroyFunc FuncFvwmRloginRshRxvt
AddToFunc FuncFvwmRloginRshRxvt
I Exec Exec rsh $0 rxvt -display $HOSTDISPLAY

be sure to fill these in with your correct machine names:

DestroyMenu MenuFvwmLogins
AddToMenu MenuFvwmLogins

  • &dopey FuncFvwmRloginXterm dopey
  • &snoopy FuncFvwmRloginXterm snoopy
  • s&ignal Exec rxterm signal

DestroyMenu MenuFvwmModules
AddToMenu MenuFvwmModules “$[gt.Fvwm Modules]” Title

  • “&1. $[gt.Control Animation]” Popup MenuFvwmAnimate
  • “&B. Button-Bar” Module FvwmButtons
  • “&O. IconBox” FuncFvwmConfigureIconBox
  • “&F. Forms” Popup MenuFvwmForms
  • “&I. Identify” Module FvwmIdent
  • “&M. IconMan” Module FvwmIconMan
  • “&N. Banner” Module FvwmBanner
  • “&C. Console” Module FvwmConsole
  • “&P. Pager” Module FvwmPager 0 0
  • “&2. Pager (2 $[gt.desks])” Module FvwmPager 0 1
  • “&R. Backer” Module FvwmBacker
  • “&S. ScrollBar” Module FvwmScroll 50 50
  • “&T. FvwmTaskBar” Module FvwmTaskBar
  • “&U. AutoRaise” Module FvwmAuto 200 Raise Nop
  • “&W. WinList” Module FvwmWinList
  • “&X. $[gt.Stop Module Menu]” Popup MenuFvwmStopModule

DestroyMenu MenuFvwmStopModule
AddToMenu MenuFvwmStopModule “$[gt.Stop Fvwm Modules]” Title

  • “&B. $[gt.Stop] Button-Bar” KillModule FvwmButtons
  • “&O. $[gt.Stop] IconBox” KillModule FvwmIconBox
  • “&M. $[gt.Stop] IconMan” KillModule FvwmIconMan
  • “&P. $[gt.Stop] Pager” KillModule FvwmPager
  • “&R. $[gt.Stop] Backer” KillModule FvwmBacker
  • “&S. $[gt.Stop] ScrollBar” KillModule FvwmScroll
  • “&T. $[gt.Stop] FvwmTaskBar” KillModule FvwmTaskBar
  • “&U. $[gt.Stop] AutoRaise” KillModule FvwmAuto
  • “&W. $[gt.Stop] WinList” KillModule FvwmWinList

DestroyMenu MenuFvwmForms
AddToMenu MenuFvwmForms

  • “&C. Capture” Module FvwmForm FvwmForm-Capture
  • “&D. Form Defaults” Module FvwmForm FvwmForm-Form
  • “&R. Rlogin” Module FvwmForm FvwmForm-Rlogin
  • “&P. RootCursor” Module FvwmForm FvwmForm-RootCursor
  • “&S. Setup” Module FvwmForm FvwmForm-Setup
  • “&T. Talk Form” Module FvwmForm FvwmForm-Talk
  • “&Q. QuitVerify” Module FvwmForm FvwmForm-QuitVerify

Configure and start using an iconbox on the fly

DestroyFunc FuncFvwmConfigureIconBox
AddToFunc FuncFvwmConfigureIconBox

  • I Module FvwmIconBox
  • I Style * NoIcon

DestroyMenu MenuFvwmQuitVerify
AddToMenu MenuFvwmQuitVerify “$[gt.Really Quit Fvwm?]” Title

  • “&Q. $[gt.Yes, Really Quit]” Quit
  • “” Nop
  • “&R. $[gt.Restart]” Restart
  • “” Nop
  • “&T. $[gt.Start] twm” Restart twm
  • “&C. $[gt.Start] ctwm” Restart ctwm
  • “&2. $[gt.Start] tvtwm” Restart tvtwm
  • “&V. $[gt.Start] vtwm” Restart vtwm
  • “&M. $[gt.Start] mwm” Restart mwm
  • “&O. $[gt.Start] olwm” Restart /usr/openwin/bin/olwm
  • “” Nop
  • “&X. $[gt.Just an Xterm]” Restart xterm -n ‘“X Console”’ -T ‘“X Console”’
  • “” Nop
  • “&N. $[gt.No, Don’t Quit]” Nop

######################## Sample Functions ##########################

DestroyFunc FuncFvwmMailXmh
AddToFunc FuncFvwmMailXmh

  • I Next [$0] Iconify false
  • I Next [$0] Focus
  • I None [$0] Exec $0 $1

DestroyFunc FuncFvwmMoveOrRaise
AddToFunc FuncFvwmMoveOrRaise

  • I Raise
  • M Move
  • D Lower

DestroyFunc FuncFvwmMaximize
AddToFunc FuncFvwmMaximize

  • M Maximize 0 100
  • H Maximize 0 100
  • C Maximize 0 80
  • D Maximize 100 100

DestroyFunc FuncFvwmMoveOrIconify
AddToFunc FuncFvwmMoveOrIconify

  • I Raise
  • M Move
  • D Iconify

DestroyFunc FuncFvwmResizeOrRaise
AddToFunc FuncFvwmResizeOrRaise

  • I Raise
  • M Resize
  • D Lower

DestroyFunc FuncFvwmPrint
AddToFunc FuncFvwmPrint

  • I Raise
  • I Exec xdpr -id $w

DestroyFunc FuncFvwmPrintReverse
AddToFunc FuncFvwmPrintReverse

  • I Raise
  • I Exec xdpr 1/2 -h -rv -id $w

DestroyFunc FuncFvwmFocusPolicyChange
AddToFunc FuncFvwmFocusPolicyChange

  • I Style * $0
  • I Recapture

Read config files for modules:

read ConfigFvwmBacker
read ConfigFvwmButtons
read ConfigFvwmIconBox
read ConfigFvwmIconMan
read ConfigFvwmIdent
read ConfigFvwmPager
read ConfigFvwmScroll
read ConfigFvwmTaskBar
read ConfigFvwmWinList

You’re still not making your question very clear.

[…]

Assuming FvwmTaskBar is what you’re talking about, commenting out this line, should help.

– Thomas Adam

1/I finally managed :
it removed the banner

thank you very much,

2/I also have another question. … .how to remove the 6 desks to only 2 …?

(i am sorry, i am newbie,.)

With my best regards,

Patrick


This file is copied to a new user’s FVWM_USERDIR by FvwmForm-Setup form.

This file contains the commands fvwm reads while starting.

EdgeResistance 0 0
EdgeScroll 50 50
ClickTime 0

DeskTopSize 2x2
MenuStyle * fvwm, Foreground maroon, Background grey60, Greyed grey40
MenuStyle * Font -adobe-times-bold-r---14-------*

ColormapFocus FollowsMouse

default Styles:

make sure these fonts exist on your system:

Style * Font -adobe-times-bold-r---12-------*
Style * IconFont -adobe-times-bold-r---12-------*
Style * HilightFore black, HilightBack palevioletred
Style * BorderWidth 7, HandleWidth 7
Style * Icon unknown1.xpm, Color lightgrey/dimgrey
Style * MWMFunctions, MWMDecor, HintOverride
Style * DecorateTransient, NoPPosition
Style * IconBox 0 -10 -280 -1
Style * FocusFollowsMouse
Style * TileCascadePlacement

ludo add to menu

Irix-5.2 like pager

Style “FvwmPager” Handles, NoTitle
*FvwmPagerGeometry 120x40-1-1
*FvwmPagerFore Black
*FvwmPagerBack LightGray
*FvwmPagerHilight Yellow
*FvwmPagerLabel 0 Global

Styles for various Fvwm modules:

Style Fvwm* NoTitle, Sticky, WindowListSkip
Style Fvwm* BorderWidth 2, CirculateSkipIcon, CirculateSkip
Style FvwmPager ClickToFocus
Style FvwmBanner StaysOnTop
Style FvwmButtons Icon toolbox.xpm, ClickToFocus

Styles for your common terminal emulator programs.

xterms and rxvts in a separate icon box:

Style XTerm Icon xterm.xpm, SloppyFocus, IconBox -70 1 -1 -140
Style rxvt Icon term.xpm, SloppyFocus, IconBox -70 1 -1 -140
Style rxvt MWMBorder, MWMButtons

Styles for various common programs:

Style *lock NoTitle, NoHandles, Sticky, WindowListSkip, ClickToFocus
Style xbiff NoTitle, Sticky, WindowListSkip, ClickToFocus
Style xcalc Icon xcalc.xpm, NoButton 2,ClickToFocus
Style xmh Icon mail1.xpm, NoIconTitle,StickyIcon
Style xmh NoButton 2
Style xman Icon xman.xpm, ClickToFocus
Style xmag Icon mag_glass.xpm, ClickToFocus
Style xgraph Icon graphs.xpm, ClickToFocus
Style xmosaic Color Green/Yellow, ClickToFocus

ludo add to menu

AddToMenu “System”

  •   "Are you sure to logout ? " Title 
    
  •   ""      Nop
    
  •   "Restart" Restart
    
  •   "Quit"  Quit
    

ludo add to menu

AddToFunc “Resize-or-Raise” “M” Resize

  •          "M" Raise
    
  •          "C" Raise
    
  •          "D" RaiseLower
    

some simple default key bindings:

Key Next A SCM Next [] Focus
Key Prior A SCM Prev [
] Focus

some simple default mouse bindings:

for the root window:

Mouse 1 R A Menu MenuFvwmRoot Nop
Mouse 2 R A Menu MenuFvwmWindowOps Nop
Mouse 3 R A WindowList

for the title bar buttons:

Mouse 0 1 A Menu MenuFvwmWindowOps2 Close
Mouse 0 2 A FuncFvwmMaximize
Mouse 0 4 A Iconify

for other parts of the window/borders/icons:

Mouse 1 F A FuncFvwmResizeOrRaise
Mouse 1 TS A FuncFvwmMoveOrRaise

Mouse 1 WFST M FuncFvwmMoveOrRaise
#Mouse 1 WFST 12 FuncFvwmMoveOrRaise

#Mouse 1 I A FuncFvwmMoveOrIconify

Mouse 2 W A Iconify
Mouse 2 I A Iconify
Mouse 2 FST A Menu MenuFvwmWindowOps2 Nop

Mouse 3 TSIF A RaiseLower

Mouse 3 WFST 1 FuncFvwmResizeOrRaise
Mouse 3 WFST 12 FuncFvwmResizeOrRaise

Mouse 3 I A Move
Mouse 1 I A Iconify
Mouse 1 I M Move

ludo keys

Key Left A M Desk -1 0
#Key Left A 1 Desk -1 0
Key Right A M Desk 1 0
#Key Right A 1 Desk 1 0

Key F10 A N FocusAndDeiconify Netscape:*

######################## Initialization Functions ############################
AddToFunc StartFunction

  • I Module FvwmAnimate
  • I Module FvwmBanner
  • I Module FvwmButtons

AddToFunc InitFunction

  • I exec xsetroot -mod 2 2 -fg rgb:55/40/55 -bg rgb:70/50/70

For some SM-s (like gnome-session) there is an internal background setter.

AddToFunc SessionInitFunction

  • I Nop

######################## Menus ###################
Read /etc/X11/fvwm/menudefs.hook Quiet
Read menudefs.hook Quiet

DestroyMenu MenuFvwmRoot
AddToMenu MenuFvwmRoot “$[gt.Root Menu]” Title

  •                   "&1. XTerm"             Exec exec xterm
    
  •                   "&2. Rxvt"              Exec exec rxvt
    
  •                   ""              Nop
    
  •                   "&D. Debian Menu"             Popup "/Debian"
    
  •                   ""              Nop
    
  •                   "&R. $[gt.Remote Logins]"     Popup MenuFvwmLogins
    
  •                   ""              Nop
    
  •                   "&U. $[gt.Utilities]"         Popup MenuFvwmUtilities
    
  •                   ""              Nop
    
  •                   "&M. $[gt.Fvwm Modules]"      Popup MenuFvwmModules
    
  •                   "&W. $[gt.Fvwm Window Ops]"   Popup MenuFvwmWindowOps
    
  •                   "&S. $[gt.Fvwm Config Ops]"   Popup MenuFvwmConfig
    
  •                   ""              Nop
    
  •                   "&F. $[gt.Refresh Screen]"   Refresh
    
  •                   "&C. $[gt.Recapture Screen]" Recapture
    
  •                   ""              Nop
    
  •                   "&X. $[gt.Exit Fvwm]" Popup MenuFvwmQuitVerify
    

DestroyMenu MenuFvwmUtilities
AddToMenu MenuFvwmUtilities “$[gt.Utilities]” Title

  •                   "&T. Top"       Exec exec xterm -T Top -n Top -e top
    
  •                   "&C. Calculator" Exec exec xcalc
    
  •                   "&M. Xman"      Exec exec xman
    
  •                   "&G. Xmag"      Exec exec xmag
    
  •                   "&R. Editres"   Exec exec editres
    
  •                   ""              Nop
    
  •                   "&E. XEmacs"    Exec exec xemacs
    
  •                   "&A. Xmh Mail"  FuncFvwmMailXmh xmh "-font fixed"
    
  •                   ""              Nop
    
  •                   "&L. XLock"     Exec exec xlock -mode random
    
  •                   ""              Nop
    
  •                   "&D. $[gt.Reset X defaults]" Exec xrdb -load $HOME/.Xdefaults
    

DestroyMenu MenuFvwmConfig
AddToMenu MenuFvwmConfig “$[gt.Fvwm Config Ops]” Title

  • “&S. $[gt.Sloppy Focus]” FuncFvwmFocusPolicyChange SloppyFocus
  • “&C. $[gt.Click To Focus]” FuncFvwmFocusPolicyChange ClickToFocus
  • “&F. $[gt.Focus Follows Mouse]” FuncFvwmFocusPolicyChange FocusFollowsMouse
  • “” Nop
  • “&1. $[gt.Colormap Follows Mouse]” ColormapFocus FollowsMouse
  • “&2. $[gt.Colormap Follows Focus]” ColormapFocus FollowsFocus
  • “” Nop
  • “&3. $[gt.Full Paging ON]” EdgeScroll 100 100
  • “&4. $[gt.All Paging OFF]” EdgeScroll 0 0
  • “&5. $[gt.Horizontal Paging Only]” EdgeScroll 100 0
  • “&6. $[gt.Vertical Paging Only]” EdgeScroll 0 100
  • “&7. $[gt.Partial Paging]” EdgeScroll 50 50
  • “&8. $[gt.Full Paging && Edge Wrap]” EdgeScroll 100000 100000

The window Ops menus exhibit a different HotKey style.

There are 2 versions of the WindowOps Menu, meant to be bound to different

things. Here is the “common” part:

DestroyFunc FuncFvwmWindowCommon
AddToFunc FuncFvwmWindowCommon

  • I AddToMenu $0 “$[gt.&Move]” Move
  • I AddToMenu $0 “$[gt.&Resize]” Resize
  • I AddToMenu $0 “$[gt.R&aise]” Raise
  • I AddToMenu $0 “$[gt.&Lower]” Lower
  • I AddToMenu $0 “$[gt.(De)&Iconify]” Iconify
  • I AddToMenu $0 “$[gt.(Un)&Stick]” Stick
  • I AddToMenu $0 “$[gt.(Un)Ma&ximize]” Maximize
  • I AddToMenu $0 “” Nop
  • I AddToMenu $0 “$[gt.&Delete]” Delete
  • I AddToMenu $0 “$[gt.&Close]” Close
  • I AddToMenu $0 “$[gt.Destroy]” Destroy
  • I AddToMenu $0 “” Nop

First windowops menu, bound to:

mouse 2 on root

Root menu

DestroyMenu MenuFvwmWindowOps
AddToMenu MenuFvwmWindowOps “$[gt.Window Ops]” Title
FuncFvwmWindowCommon MenuFvwmWindowOps

  • “$[gt.Re&fresh Window]” RefreshWindow

Second windowops menu, bound to:

any mouse on titlebar button 1

mouse 2 on frame, side or titlebar

DestroyMenu MenuFvwmWindowOps2
AddToMenu MenuFvwmWindowOps2
FuncFvwmWindowCommon MenuFvwmWindowOps2

  • Scroll&Bar Module FvwmScroll 2 2
  • “&$[gt.Print]” FuncFvwmPrint
  • “$[gt.Print Re&verse]” FuncFvwmPrintReverse

3 different ways to log on, take your pick:

DestroyFunc FuncFvwmRloginXterm
AddToFunc FuncFvwmRloginXterm
I Exec xterm -name $0 -title “$USER @ $0” -e rlogin $0
DestroyFunc FuncFvwmRloginRxvt
AddToFunc FuncFvwmRloginRxvt
I Exec rxvt -name $0 -n $0 -title $USER@$0 -e rlogin $0
DestroyFunc FuncFvwmRloginRshRxvt
AddToFunc FuncFvwmRloginRshRxvt
I Exec Exec rsh $0 rxvt -display $HOSTDISPLAY

be sure to fill these in with your correct machine names:

DestroyMenu MenuFvwmLogins
AddToMenu MenuFvwmLogins

  • &dopey FuncFvwmRloginXterm dopey
  • &snoopy FuncFvwmRloginXterm snoopy
  • s&ignal Exec rxterm signal

DestroyMenu MenuFvwmModules
AddToMenu MenuFvwmModules “$[gt.Fvwm Modules]” Title

  • “&1. $[gt.Control Animation]” Popup MenuFvwmAnimate
  • “&B. Button-Bar” Module FvwmButtons
  • “&O. IconBox” FuncFvwmConfigureIconBox
  • “&F. Forms” Popup MenuFvwmForms
  • “&I. Identify” Module FvwmIdent
  • “&M. IconMan” Module FvwmIconMan
  • “&N. Banner” Module FvwmBanner
  • “&C. Console” Module FvwmConsole
  • “&P. Pager” Module FvwmPager 0 0
  • “&2. Pager (2 $[gt.desks])” Module FvwmPager 0 1
  • “&R. Backer” Module FvwmBacker
  • “&S. ScrollBar” Module FvwmScroll 50 50
  • “&T. FvwmTaskBar” Module FvwmTaskBar
  • “&U. AutoRaise” Module FvwmAuto 200 Raise Nop
  • “&W. WinList” Module FvwmWinList
  • “&X. $[gt.Stop Module Menu]” Popup MenuFvwmStopModule

DestroyMenu MenuFvwmStopModule
AddToMenu MenuFvwmStopModule “$[gt.Stop Fvwm Modules]” Title

  • “&B. $[gt.Stop] Button-Bar” KillModule FvwmButtons
  • “&O. $[gt.Stop] IconBox” KillModule FvwmIconBox
  • “&M. $[gt.Stop] IconMan” KillModule FvwmIconMan
  • “&P. $[gt.Stop] Pager” KillModule FvwmPager
  • “&R. $[gt.Stop] Backer” KillModule FvwmBacker
  • “&S. $[gt.Stop] ScrollBar” KillModule FvwmScroll
  • “&T. $[gt.Stop] FvwmTaskBar” KillModule FvwmTaskBar
  • “&U. $[gt.Stop] AutoRaise” KillModule FvwmAuto
  • “&W. $[gt.Stop] WinList” KillModule FvwmWinList

DestroyMenu MenuFvwmForms
AddToMenu MenuFvwmForms

  • “&C. Capture” Module FvwmForm FvwmForm-Capture
  • “&D. Form Defaults” Module FvwmForm FvwmForm-Form
  • “&R. Rlogin” Module FvwmForm FvwmForm-Rlogin
  • “&P. RootCursor” Module FvwmForm FvwmForm-RootCursor
  • “&S. Setup” Module FvwmForm FvwmForm-Setup
  • “&T. Talk Form” Module FvwmForm FvwmForm-Talk
  • “&Q. QuitVerify” Module FvwmForm FvwmForm-QuitVerify

Configure and start using an iconbox on the fly

DestroyFunc FuncFvwmConfigureIconBox
AddToFunc FuncFvwmConfigureIconBox

  • I Module FvwmIconBox
  • I Style * NoIcon

DestroyMenu MenuFvwmQuitVerify
AddToMenu MenuFvwmQuitVerify “$[gt.Really Quit Fvwm?]” Title

  • “&Q. $[gt.Yes, Really Quit]” Quit
  • “” Nop
  • “&R. $[gt.Restart]” Restart
  • “” Nop
  • “&T. $[gt.Start] twm” Restart twm
  • “&C. $[gt.Start] ctwm” Restart ctwm
  • “&2. $[gt.Start] tvtwm” Restart tvtwm
  • “&V. $[gt.Start] vtwm” Restart vtwm
  • “&M. $[gt.Start] mwm” Restart mwm
  • “&O. $[gt.Start] olwm” Restart /usr/openwin/bin/olwm
  • “” Nop
  • “&X. $[gt.Just an Xterm]” Restart xterm -n ‘“X Console”’ -T ‘“X Console”’
  • “” Nop
  • “&N. $[gt.No, Don’t Quit]” Nop

######################## Sample Functions ##########################

DestroyFunc FuncFvwmMailXmh
AddToFunc FuncFvwmMailXmh

  • I Next [$0] Iconify false
  • I Next [$0] Focus
  • I None [$0] Exec $0 $1

DestroyFunc FuncFvwmMoveOrRaise
AddToFunc FuncFvwmMoveOrRaise

  • I Raise
  • M Move
  • D Lower

DestroyFunc FuncFvwmMaximize
AddToFunc FuncFvwmMaximize

  • M Maximize 0 100
  • H Maximize 0 100
  • C Maximize 0 80
  • D Maximize 100 100

DestroyFunc FuncFvwmMoveOrIconify
AddToFunc FuncFvwmMoveOrIconify

  • I Raise
  • M Move
  • D Iconify

DestroyFunc FuncFvwmResizeOrRaise
AddToFunc FuncFvwmResizeOrRaise

  • I Raise
  • M Resize
  • D Lower

DestroyFunc FuncFvwmPrint
AddToFunc FuncFvwmPrint

  • I Raise
  • I Exec xdpr -id $w

DestroyFunc FuncFvwmPrintReverse
AddToFunc FuncFvwmPrintReverse

  • I Raise
  • I Exec xdpr 1/2 -h -rv -id $w

DestroyFunc FuncFvwmFocusPolicyChange
AddToFunc FuncFvwmFocusPolicyChange

  • I Style * $0
  • I Recapture

Read config files for modules:

read ConfigFvwmBacker
read ConfigFvwmButtons
read ConfigFvwmIconBox
read ConfigFvwmIconMan
read ConfigFvwmIdent
read ConfigFvwmPager
read ConfigFvwmScroll
read ConfigFvwmTaskBar
read ConfigFvwmWinList

Are they desks, or pages? You want two desks of two pages perhaps?

DesktopSize 2x2

… that command tells FVWM how many pages there will be in a desk. As to how you have more than one desk (if that’s what you also want) then one way you can do that is to give them a name, as in the following commands:

DestopName 0 Main DesktopName 1 Apps

Depending on how your FvwmPager is setup, that should then display both desks.

[… snip rest of your config — there was no need for you to repost it. In future, if you could upload any lengthy documents like that to a webserver of some kind, that would be more preferrable…]

– Thomas Adam