# This file contains the commands fvwm reads while starting. # EdgeResistance 250 10 EdgeScroll 100 100 ClickTime 750 # root window background color, corsor, and load screensaver Exec exec xscreensaver& Exec exec xsetroot -solid darkslateblue -fg white -cursor_name arrow # Desktop and Menu DeskTopSize 1x1 MenuStyle * fvwm, Foreground black Background grey60, Greyed grey40 MenuStyle * Font -adobe-helvetica-medium-r-*-*-12*-*-*-*-*-*-* ColormapFocus FollowsMouse # default Styles: # make sure these fonts exist on your system: Style * Font -adobe-helvetica-medium-r-*-*-10-*-*-*-*-*-*-* Style * IconFont -adobe-helvetica-bold-r-*-*-10-*-*-*-*-*-*-* Style * HilightFore black, HilightBack lightgrey Style * BorderWidth 3, HandleWidth 3 Style * Icon unknown1.xpm, Color lightgrey/dimgrey Style * MWMFunctions, MWMDecor, HintOverride Style * DecorateTransient, NoPPosition Style * IconBox 0 -10 -280 -1 Style * SmartPlacement, RandomPlacement Style * ClickToFocus Style * MouseFocusClickRaises # Window Title bars TitleStyle Active (HGradient 128 2 royalblue4 50 royalblue3 50 royalblue) TitleStyle Inactive grey ######################## Key Bindings ######################################## # mouse bindings : control the effect of mouse clicks on window components # for the title bar buttons - more ore less microsoft windows style: Mouse 0 2 A Delete Mouse 0 4 A Maximize Mouse 0 6 A Iconify # for the root window: Mouse 1 R A Menu MenuFvwmRoot Nop Mouse 2 R A Menu MenuFvwmWindowOps Nop Mouse 3 R A WindowList # for other parts of the window/borders/icons: Mouse 1 F A FuncFvwmResizeOrRaise Mouse 1 TS A FuncFvwmMoveOrRaise Mouse 1 I A FuncFvwmMoveOrIconify Mouse 2 I A Iconify Mouse 2 FST A Menu MenuFvwmWindowOps2 Nop Mouse 3 TSIF A RaiseLower ######################## Initialization Functions ############################ AddToFunc StartFunction + I Module FvwmTaskBar ######################## Menus ################### Read /etc/X11/fvwm/menudefs.hook Quiet Read menudefs.hook Quiet DestroyMenu MenuFvwmRoot AddToMenu MenuFvwmRoot "$[gt.Start Menu]" Title + "Calculator" Exec exec xcalc + "Open Office" Exec exec openoffice + "" Nop + "Browser" Exec exec firefox + "Messenger" Exec exec gaim + "Movie / DVD " Exec exec totem + "" Nop + "testing - restart fvwm" Restart + "testing - xterm" Exec exec xterm + "" Nop + "Log off" Quit **************************$ sample functions ************************ # These are from the default fvwm 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 ConfigFvwmTaskBar