########
#
# .fvwmrc 
# A really fancy conf. for the really faboulous fvwm window manager.
# (included a W95bar emulator (optional))
# by Damjan Lango, 1995
# Lightly modified by Davide Barbieri 1996
#
# This conf is based and inspired on the following conf. files:
# sample.fvwmrc and 4Dwm.fvwmrc wich come with fvwm
# and .fvwmrc wich emulates m$W95 look found on the M$ hate-page.
# and maybe some other from the .fvwmrc collection.
#
# USAGE: make a link in dir /usr/lib/X11/fvwm
# cd /usr/lib/X11/fvwm
# ln -s GoodStuff W95Stuff
# then install icons for W95 and check the IconPath and PixmapPath
# one icon is used also by MenuStuff - Menu_xterm.xpm
# if you want to enable/disable W95 emulation search any W95 string
# and comment/uncomment as you like.
#
# (Damjan.Lango@snet.fer.uni-lj.si)  (http://ana.fer.uni-lj.si/~langod/)
#
#######

# Unfortunately, order does matter in this file
# The correct order for inserting configurations is:
# 1. Colors
# 2. Assorted configuration paramters such as ClickToFocus, or MWMBorders
# 3. Path setup (ModulePath, PixmapPath, IconPath)
# 4. Style settings, including the default style Style "*" ...
# 5. InitFunction and ResetFunction definitions.
# 6. Other Functions. Functions cannot be forward referenced from
#       other functions, but they can be backward referenced.
# 7. Menus definitions. Same caveats about forward referencing
# 8. Key and Mouse Bindings.
# 9. Module options.
# The order of steps 5, 6, and 7 is not critical, as long as there are
# no forward references to functions or menus.
# If you get it wrong, the most common problem is that color or font settings
# are ignored

###########################################################################
# set up the colors
#
# OK some people like bright clear colors on their window decorations.
# These people, I guess would mostly be from nice sunny/good weather places
# line California.
#
#StdForeColor 		Black
#StdBackColor		LightSkyBlue
#HiForeColor 		yellow
#HiBackColor		PeachPuff1
#PagerBackColor		BlanchedAlmond

# Me, I'm from Upstate New York, and live in New Hampshire, so I prefer
# these dark muddy colors...

# this is used for non-selected windows, menus, and the panner
StdForeColor 		Black
#StdBackColor 		#60a0c0
#W95:
StdBackColor 		grey

# this is used for the selected window
#HiForeColor 		Black
#HiBackColor 		#c06077
#W95:
HiForeColor 		White
#HiBackColor 		#102896
HiBackColor 		#6060c0

PagerForeColor		orchid
PagerBackColor		#5c54c0

StickyForeColor		Black
StickyBackColor		#60c0a0

# Menu colors
MenuForeColor           Black
MenuBackColor           grey
MenuStippleColor        SlateGrey

############################################################################
# Now the fonts - one for menus, another for window titles, another for icons
#Font		-adobe-helvetica-medium-r-*-*-14-*-*-*-*-*-*-*
#Font		-*-times-medium-i-*-*-*-140-*-*-*-*-*-*
#Font		-*-helvetica-medium-o-*-*-12-*-*-*-*-*-*-*
#Font		-adobe-helvetica-bold-o-*-*-12-*-*-*-*-*-*-*
#WindowFont	-adobe-helvetica-bold-r-*-*-12-*-*-*-*-*-*-*
#IconFont	-adobe-helvetica-medium-r-*-*-11-*-*-*-*-*-*-*
#IconFont	fixed
Font		-*-helvetica-bold-*-*-*-12-*-*-*-*-*-*-*
WindowFont	-*-helvetica-bold-r-*-*-12-*-*-*-*-*-*-*
#IconFont	-*-helvetica-bold-r-*-*-12-*-*-*-*-*-*-*
# for W95 it might be better a medium font not bold:
IconFont	-*-helvetica-medium-r-*-*-12-*-*-*-*-*-*-*

###########################################################################
# Set up the major operating modes
#
########################      FOCUS STUFF     ##############################
# Set windows to auto-raise after 750 milliseconds if you like it.
# Autoraise can sometimes obscure pop-up windows. Performance is now
# similar to olvwm's auto-raise feature.
#AutoRaise 750

# Normally, we'll be in focus-follows mouse mode, but uncomment this 
# for mwm-style click-to-focus
# W95 has click-to focus too.
ClickToFocus
#SloppyFocus

########################      ICON STUFF     ##############################
# Auto Place Icons is a nice feature....
# This creates two icon boxes, one on the left side, then one on the
# bottom. Leaves room in the upper left for my clock and xbiff,
# room on the bottom for the Pager.
#IconBox -150 90 -5 -140
#IconBox 5 -140 -140 -5
#IconBox -70 1 -1 -140
#IconBox 130 5 600 150

#W95:
#one for Waste basket:
IconBox +10 +200 +50 +250
#W95: use this IconBox if you want to emulate the W95bar completely.
IconBox +299 -30 +800 -1
# if the toolbar is full, icons will be placed above the bar,
# but you will have to resize it manually.
IconBox +299 -58 +800 -28
#and don't use any Icons - only text!
#(look at the bottom in the W95Stuff on how to do this.)

IconBox +5 +410 +90 -100
IconBox +5 -100 -10 -5
IconBox +80 -5 -100 +200

# If you uncomment this, and make sure that the WindowList is bound to
# something, it works pretty much like an icon manager.
#SuppressIcons

# StubbornIcons makes icons de-iconify into their original position on the
# desktop, instead of on the current page.
#StubbornIcons

# With AutoPlacement, icons will normally place themselves underneath active
# windows. This option changes that.
#StubbornIconPlacement

# If you want ALL you icons to follow you around the desktop (Sticky), try
# this
StickyIcons

#### Motif Window Manager MWM emulation ####
MWMFunctionHints
MWMHintOverride
MWMDecorHints
MWMMenus
MWMBorders
#MWMButtons

########################      MISCELLANEOUS STUFF     #######################
# If you don't like the default 150 msec click delay for the complex functions
# change this and uncomment it.
#ClickTime 150
#ClickTime 200
#ClickTime 50

# OpaqueMove has a number (N) attached to it (default 5).
# if the window occupies less than N% of the screen, 
# then opaque move is used. 0 <= N <= 100
OpaqueMove 90
#OpaqueMove 30
#OpaqueResize

# Give focus to clients even if they don't want focus.
# If there might be some problems with old apps comment this:
Lenience

# flip by whole pages on the edge of the screen.
EdgeScroll 100 100

# A modest delay before flipping pages seems to be nice...
# I thresh in a 50 pixel Move-resistance too, just so people
# can try it out.
#EdgeResistance 250 50

# I like to use a large virtual screen and move from page to page with the
# pager.
EdgeResistance 10000 0

# Change some Cursors.
# I hate the way the default arrow in menu looks - it reminds me of times
# when I still had Xaw (Xaw3d is much better!)
# 6=MENU 58=hand1
Cursor 6 58

########################      WINDOW PLACEMENT     #######################
# RandomPlacement prevents user interaction while placing windows:
# W95:
RandomPlacement

# SmartPlacement makes new windows pop-up in blank regions of screen 
# if possible, or falls back to random or interactive placement.
SmartPlacement

# With SmartPlacement, windows will normally place themselves over icons. 
# Uncomment this to change that.
StubbornPlacement

# NoPPosition instructs fvwm to ignore the PPosition field in window 
# geometry hints. Emacs annoyingly sets PPosition to (0,0)!
NoPPosition


########################      DECORATIONS     #######################
# If you want decorated transient windows, uncomment this:
#DecorateTransients

###########################################################################
# Set up the virtual desktop and pager

#set the desk top size in units of physical screen size
DeskTopSize 2x2

# and the reduction scale used for the panner/pager
#DeskTopScale 36
DeskTopScale 30

# Use the Fvwm Pager
#Pager -5 -5

##########################################################################
# Module path and paths to the icons
#
# ModulePath is a colon-separated list, just like regular unix PATH
#ModulePath /usr/lib/X11/fvwm:/u/langod/lib/fvwm/Modules
#PixmapPath /usr/include/X11/pixmaps/:/usr/local/pixmaps:/u/langod/lib/fvwm/icons:/u/langod/lib/fvwm/icons/W95
#IconPath   /usr/include/X11/bitmaps/:/usr/local/bitmaps:/u/langod/lib/fvwm/icons:/u/langod/lib/fvwm/icons/W95
ModulePath /usr/lib/X11/fvwm
PixmapPath /usr/include/X11/pixmaps/:/usr/local/pixmaps:/home/pixmaps
IconPath   /usr/include/X11/bitmaps/:/usr/local/bitmaps

# Modules, which should be spawned during initialization.
# obsolete use initfunction
#Module W95Stuff

############################################################################
# Set the decoration styles and window options
# 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.

# These commands should command before any menus or functions are defined,
# and before the internal pager is started.

# change the default width.
Style "*" BorderWidth 3, HandleWidth 7
#Style "*" Color Black/#60a0c0,Icon unknown1.xpm

Style "Fvwm*"       NoTitle, Sticky, WindowListSkip
Style "Fvwm Pager"  StaysOnTop
Style "FvwmBanner"  StaysOnTop
Style "GoodStuff"   NoTitle, NoHandles, Sticky, BorderWidth 0
Style "FvwmWinList" NoTitle, NoHandles, Sticky, BorderWidth 4
Style "FvwmIconBox" NoTitle, NoHandles, Sticky, BorderWidth 4
Style "MenuStuff"      NoTitle, NoHandles, Sticky, BorderWidth 3
Style "*lock"       NoTitle, NoHandles, Sticky, 
Style "xbiff"       NoTitle,            Sticky, 
Style "Maker"       StartsOnDesk 1
Style "matlab"      StartsOnDesk 3
Style "signal"      StartsOnDesk 3 
Style "xmh"         StartsOnDesk 2
Style "xeyes"       StaysOnTop

WindowListSkip GoodStuff
WindowListSkip Fvwm*
WindowListSkip MenuStuff
WindowListSkip *lock

CirculateSkip GoodStuff
CirculateSkip Fvwm*
CirculateSkip MenuStuff
CirculateSkip *lock

### Define some Icons:

Icon "tkinfo"		 xman.xpm
Icon "xxgdb*"		 xdbx.xpm
Icon "*Stuff"		 toolbox.xpm
Icon "GoodStuff"	 toolbox.xpm
# FvwmPager must not have an icon because the icon is a pager too.
#Icon "Fvwm*"		 toolbox.xpm
Icon "rxvt"		 term.xpm
Icon "xterm"		 rterm.xpm
Icon "*xterm*"		 rterm.xpm
Icon "xcalc"		 xcalc.xpm
Icon "xbiff"		 mail2.xpm
Icon "xlogo"		 xlogo32
Icon "xedit"		 xedit.xpm
Icon "xpaint"		 xpaint.xpm
Icon "editres"		 editres.xpm
Icon "xman"		 xman.xpm
Icon "xmag"		 mag_glass.xpm
Icon "xmh"		 mail2.xpm
Icon "ghostview"	 ghostview.xpm
Icon "xtmix"		 xtmix.xpm

Icon "xvgr"		 graphs.xpm
Icon "matlab"		 math4.xpm
Icon "xgraph"		 graphs.xpm
Icon "Waste"		waste.xpm

#
#ButtonStyle 1 50x22
#ButtonStyle 2 50x50
#ButtonStyle 4 22x22
# Change the Maximize and iconify buttons to up and down triangles.
#ButtonStyle : 2 4 50x35@1 65x65@0 35x65@0 50x35@1
#ButtonStyle : 4 4 50x65@1 35x35@1 65x35@1 50x65@0

# this draws the standard 'minus' but three times - like a menu.
# white lines: 9 25x74@1  25x60@1 75x60@1 25x60@1  25x42@1 75x42@1 25x42@1  25x26@1 75x26@1
# black lines: 9 75x26@0  75x40@0 25x40@0 75x40@0  75x58@0 25x58@0 75x58@0  75x74@0 25x74@0
ButtonStyle : 1 18 25x74@1  25x60@1 75x60@1 25x60@1  25x42@1 75x42@1 25x42@1  25x26@1 75x26@1    75x26@0  75x39@0 25x39@0 75x39@0  75x58@0 25x58@0 75x58@0  75x74@0 25x74@0
# This draws an 'X':
ButtonStyle : 3 13 20x30@1 30x20@1 50x40@1 70x20@1 80x30@1 60x50@0 80x70@1 70x80@0 50x60@0 30x80@0 20x70@0 40x50@1 20x30@0

# W95 buttons from right to left:
# an X (close):
ButtonStyle : 2 13 20x30@1 30x20@1 50x40@1 70x20@1 80x30@1 60x50@0 80x70@1 70x80@0 50x60@0 30x80@0 20x70@0 40x50@1 20x30@0
# maximize:
ButtonStyle 4 60x60
# minimize:
ButtonStyle : 6 5 20x80@1 20x60@1 80x60@1 80x80@0 20x80@0


#############################################################################

# Stuff to do at start-up

Function "InitFunction"
	Exec	"I"	xsetroot -solid "#266294"      
#	Exec	"I"	if [ -e ~/windows95.jpg ]; then xv -root -max -quit ~/windows95.jpg ; fi
#	Module	"I"	FvwmBanner
#	Exec	"I"	xpmroot /usr/include/X11/pixmaps/fvwm.xpm &
#	Module	"I"	GoodStuff
#W95:
	Module	"I"	W95Stuff
	Wait	"I"	W95Stuff
# W95: a nice useless waste - basket:
	Exec	"I"	xlogo -iconic -name Waste &	
#	Module	"I"	FvwmPager 0 3
	Exec	"I"	exec color_xterm -geometry 80x24+80+1 -sb -ls -T "DOS 7.0" &
#	Exec	"I"	exec xterm -geometry 80x24+80+1 -sb -ls &
#	Wait	"I"	color_xterm
#	Desk	"I"	0 2
#	Exec	"I"	exec xmh -font fixed -geometry 507x750+0+0 &
#	Wait	"I"	xmh
#	Desk 	"I"	0 0
EndFunction

Function "RestartFunction"
	Exec	"I"	xsetroot -solid "#266294"      
#W95:
	Module	"I"	W95Stuff
	Wait	"I"	W95Stuff
#	Module	"I"	GoodStuff
#	Module	"I"	FvwmPager 0 3
EndFunction


############################################################################
# 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 RaiseLower if you double 
# click
Function "Move-or-Raise"
	Move 		"Motion"
	Raise		"Click"
#	RaiseLower	"DoubleClick" 
EndFunction

Function "Move-or-RaiseLower"
	Move 		"Motion"
	RaiseLower	"Click"
#	RaiseLower	"DoubleClick" 
EndFunction

# This one maximizes vertically if you click (leaving room for the GoodStuff bar 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.
Function "Maximize"
	Maximize	"Click" 100 96
#	Maximize	"DoubleClick" 100 100
EndFunction

# 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
Function "Move-or-Lower"
	Move 		"Motion"
	Lower		"Motion"
	Lower		"Click"
	RaiseLower	"DoubleClick"
EndFunction

# This one moves or (de)iconifies:
Function "Move-or-Iconify"
	Move 		"Motion"
	Iconify		"Click"
#	Iconify		"DoubleClick"
EndFunction

# This one resizes the window if you drag the mouse,
# only raises the window if you click
Function "Resize-or-Raise"
	Resize 		"Motion"
#	Raise		"Motion"
	Raise		"Click"
#	RaiseLower	"DoubleClick"
EndFunction

Function "Resize-or-RaiseLower"
	Resize 		"Motion"
#	RaiseLower	"Motion"
	RaiseLower	"Click"
#	RaiseLower	"DoubleClick"
EndFunction

Function "Delete-or-Close"
	Delete 	"Click"
	Close  "DoubleClick"
EndFunction


# This is provided as a hint only.
# Move to a known page on the desktop, then start an application in a 
# known location. Could also switch to a known desktop, I guess
#Function "abs_coord"
#	GoToPage "Immediate"	1,1
#	Exec	"Immediate"	exec xcalc -geometry +100+100&
#EndFunction


##############################################################################
#now define the menus - defer bindings until later

# This defines the most common window operations
Popup "WindowOps"
	Title		"Window Ops"
	Function	"Move" 		Move-or-Raise
	Function 	"Resize" 	Resize-or-Raise
	Raise   	"Raise"
	Lower   	"Lower"
	Iconify 	"Iconify" 
	Function 	"(Un)Maximize"	Maximize
	Nop     	""
	Stick		"(Un)Stick"
	Module		"ScrollBar" 	FvwmScroll 2 2
	WindowList	"Window List"
	Nop     	""
	Delete  	"Delete"
	Close	  	"Close"
EndPopup

# This defines the iconified window operations
Popup "IconOps"
	Title		"Icon Ops"
	Function	"Move" 		Move-or-Raise
	Raise   	"Raise"
	Lower   	"Lower"
	Iconify 	"Restore" 
	Stick		"(Un)Stick"
	Nop     	""
	Delete  	"Delete"
	Close	  	"Close"
EndPopup

### Called from "Desktop"

# A menu of various and sundry background graphics.
PopUp "Background"
	Title	"Tiles:"
	Exec	"MIT Logo"	exec xsetroot -bg skyblue -fg skyblue4 -bitmap /usr/include/X11/bitmaps/mensetmanus &
	Exec	"MIT White"	exec xsetroot -bg White -fg LightSkyBlue -bitmap /usr/include/X11/bitmaps/mensetmanus &
	Exec	"Escher Knots"	exec xsetroot -bg LightSkyBlue -fg Black -bitmap /usr/include/X11/bitmaps/escherknot &
	Exec	"X Logo"	exec xsetroot -bg skyblue -fg Black -bitmap /usr/include/X11/bitmaps/xlogo64 &
	Exec	"X Snow"	exec xsetroot -bg skyblue -fg White -bitmap /usr/include/X11/bitmaps/xsnow &
	Exec	"Mona Lisa"	exec xv -quit -root /usr/include/X11/pixmaps/mona_lisa.xpm &
	Nop	""
	Title	"Colors:"
        Exec    "nice blue"	exec xsetroot -solid "#266294"
        Exec    "steel blue"	exec xsetroot -solid steelblue
        Exec    "sky blue"	exec xsetroot -solid skyblue4
        Exec    "royal blue"	exec xsetroot -solid royalblue4
        Exec    "aqua marine"	exec xsetroot -solid aquamarine4
        Exec    "grey"		exec xsetroot -solid grey20
        Exec    "black"		exec xsetroot -solid black
	Nop	""
	Title	"Animated:"
# you will need xearth 1.0 to use -markerfile
        Exec    "XEarth"	(killall xroach xantfarm xfishtank xearth; killall -9 xearth) 2>/dev/null; if [ ! -e ~/.xearthrc ]; then xearth -showmarkers > ~/.xearthrc; fi; exec xearth -pos "fixed 47.5 13.75" -gamma 1.5 -markerfile ~/.xearthrc &
        Exec    "Fish Tank"	(killall xroach xantfarm xfishtank xearth; killall -9 xearth) 2>/dev/null; exec xfishtank -C 150 &
        Exec    "Ant Farm"	(killall xroach xantfarm xfishtank xearth; killall -9 xearth) 2>/dev/null; exec xantfarm -num 50 -c 100 &
	Exec	"X-Roaches"	(killall xroach xantfarm xfishtank xearth; killall -9 xearth) 2>/dev/null; exec xroach &
        Exec    "Kill anims"	(killall xroach xantfarm xfishtank xearth; killall -9 xearth) 2>/dev/null
EndPopUp

Popup "Screensaver"
        Title   "Screensaver"
        Exec    "Random"	exec xlock -nolock -nice 0 -mode random &
	Nop	""
        Exec    "Bat" 	 	exec xlock -nolock -nice 0 -mode bat &
        Exec    "Blank" 	exec xlock -nolock -nice 0 -mode blank &
	Exec	"Blot" 		exec xlock -nolock -nice 0 -mode blot &
        Exec    "Bob"   	exec xlock -nolock -nice 0 -mode bob &
	Exec	"Bounce" 	exec xlock -nolock -nice 0 -mode bounce &
        Exec    "Flame" 	exec xlock -nolock -nice 0 -mode flame &
        Exec    "Galaxy" 	exec xlock -nolock -nice 0 -mode galaxy &
	Exec	"Grav" 		exec xlock -nolock -nice 0 -mode grav &
	Exec	"Helix" 	exec xlock -nolock -nice 0 -mode helix &
        Exec    "Hop"   	exec xlock -nolock -nice 0 -mode hop   &
	Exec	"Hyper" 	exec xlock -nolock -nice 0 -mode hyper &
	Exec	"Kaleid" 	exec xlock -nolock -nice 0 -mode kaleid &
        Exec    "Life"  	exec xlock -nolock -nice 0 -mode life   &
        Exec    "Life3d"  	exec xlock -nolock -nice 0 -mode life3d   &
	Exec	"Maze" 		exec xlock -nolock -nice 0 -mode maze &
        Exec    "Pyro"  	exec xlock -nolock -nice 0 -mode pyro &
        Exec    "Qix"   	exec xlock -nolock -nice 0 -mode qix &
	Exec	"Rect" 		exec xlock -nolock -nice 0 -mode rect &
	Exec	"Rock" 		exec xlock -nolock -nice 0 -mode rock &
        Exec    "Rotor" 	exec xlock -nolock -nice 0 -mode rotor &
	Exec	"Sphere" 	exec xlock -nolock -nice 0 -mode sphere &
	Exec	"Spline" 	exec xlock -nolock -nice 0 -mode spline &
        Exec    "Swarm" 	exec xlock -nolock -nice 0 -mode swarm &
        Exec    "Wator"  	exec xlock -nolock -nice 0 -mode wator &
        Exec    "Worm"  	exec xlock -nolock -nice 0 -mode worm &
	Exec	"World"	 	exec xlock -nolock -nice 0 -mode world &
EndPopup

Popup "Screenlock"
        Title   "Lock Screen"
        Exec    "Random"	exec xlock -nice 0 -mode random &
	Nop	""
        Exec    "Bat" 	 	exec xlock -nice 0 -mode bat &
        Exec    "Blank" 	exec xlock -nice 0 -mode blank &
	Exec	"Blot" 		exec xlock -nice 0 -mode blot &
        Exec    "Bob"   	exec xlock -nice 0 -mode bob &
	Exec	"Bounce" 	exec xlock -nice 0 -mode bounce &
        Exec    "Flame" 	exec xlock -nice 0 -mode flame &
        Exec    "Galaxy" 	exec xlock -nice 0 -mode galaxy &
	Exec	"Grav" 		exec xlock -nice 0 -mode grav &
	Exec	"Helix" 	exec xlock -nice 0 -mode helix &
        Exec    "Hop"   	exec xlock -nice 0 -mode hop   &
	Exec	"Hyper" 	exec xlock -nice 0 -mode hyper &
	Exec	"Kaleid" 	exec xlock -nice 0 -mode kaleid &
        Exec    "Life"  	exec xlock -nice 0 -mode life   &
        Exec    "Life3d"  	exec xlock -nice 0 -mode life3d   &
	Exec	"Maze" 		exec xlock -nice 0 -mode maze &
        Exec    "Pyro"  	exec xlock -nice 0 -mode pyro &
        Exec    "Qix"   	exec xlock -nice 0 -mode qix &
	Exec	"Rect" 		exec xlock -nice 0 -mode rect &
	Exec	"Rock" 		exec xlock -nice 0 -mode rock &
        Exec    "Rotor" 	exec xlock -nice 0 -mode rotor &
	Exec	"Sphere" 	exec xlock -nice 0 -mode sphere &
	Exec	"Spline" 	exec xlock -nice 0 -mode spline &
        Exec    "Swarm" 	exec xlock -nice 0 -mode swarm &
        Exec    "Wator"  	exec xlock -nice 0 -mode wator &
        Exec    "Worm"  	exec xlock -nice 0 -mode worm &
	Exec	"World"	 	exec xlock -nice 0 -mode world &
EndPopup

# Provides a list of modules to fire off
Popup "Modules"
	Title	"Modules"
	Module	"GoodStuff"	GoodStuff
	Module  "Window List"	FvwmWinList
	Module	"Icon Box"	FvwmIconBox
	Module	"File Manager"	FvwmFileMgr
	Module	"Identify"	FvwmIdent
	Module	"Clean-Up"	FvwmClean
	Module  "Save Desktop"	FvwmSave
	Module  "Pager"         FvwmPager 0 3
	Module	"Scroll"	FvwmScroll
	Module	"Audio"		FvwmAudio
	Module	"Backer"	FvwmBacker
	Module	"Banner"	FvwmBanner
	Nop	""
	Module	"W95Stuff"	W95Stuff
EndPopup

PopUp	"WindowManagers"
	Restart "twm (Tab)"		/usr/bin/X11/twm
	Restart "ctwm (Tab3D)"		/usr/bin/X11/ctwm
	Restart "mwm (Motif)" 		/usr/bin/X11/mwm
	Restart "gwm (Generic)"		/usr/bin/X11/gwm
#	Restart "gwm (Motif)" 		/usr/bin/X11/gwm-mwm
	Restart	"olwm (Open Look)"	/usr/openwin/bin/olwm
	Restart "olvwm (OL virtual)"	/usr/openwin/bin/olvwm
	Restart "bowman (NeXT)"		/usr/bin/X11/bowman
# useful for hacking:
#	Restart "xterm"			/usr/bin/X11/xterm
EndPopUp

### Called from "Apps"

PopUp	"Editors"
	Title	"X Editors"
	Exec    "XEdit"	exec xedit &
	Exec    "NEdit"	exec nedit &
	Exec    "XCoral"	exec xcoral &
#	Exec    "aXe"	exec axe &
#	Exec    "xwb"	exec xwb &
#	Exec    "xwe"	exec xwe &
	Exec    "XWPE"	exec xpwe &
        Exec    "OL Edit"	exec textedit &
	Exec	"IDoc"		exec doc &
	Nop	""
	Title	"Tty Editors"
        Exec    "vi"	exec xterm -T Vi -n vi -e vi &
        Exec    "jed"	exec xterm -T jed -n jed -e jed &
        Exec    "joe"	exec xterm -T joe -n joe -e joe &
        Exec    "jove"	exec xterm -T jove -n jove -e jove &
        Exec    "$EDITOR"	exec xterm -T $EDITOR -n $EDITOR -e $EDITOR &
#        Exec    "GNU Emacs"	exec emacs &
#        Exec    "XEmacs"	exec xemacs &
#        Exec    "Lucid Emacs"	exec lemacs &
EndPopUp

### Called from "Tools"

# All sorts of different time pieces
PopUp "Clocks"
	Title	"Clocks"
	Exec	"Analog Clock"	exec xclock -analog &
	Exec	"Digital Clock"	exec xclock -digital &
	Exec	"Round Clock"	exec oclock &
	Exec	"Calendar"	exec ical &	
EndPopUp

# Menu of silly things every X setup should have
PopUp "Toys"
	Title	"Toys"
        Exec    "Xlogo"         exec xlogo &
	Exec	"X-Eyes"	exec xeyes &
	Nop	""
	Title	"Demos"
	Exec	"Ideal Gases"	exec xgas &
        Exec    "ico"		exec ico &
        Exec    "Xtacy"		exec xtacy &
EndPopUp

### Called from "System"

PopUp "Status"
	Title	"Status"
	Exec	"xload"		exec xload -update 5 &
	Exec	"xmemuse"	exec xmemuse -update 5 -scale 0 &
	Exec	"xosview"	exec xosview &
	Exec	"xsysinfo"	exec xsysinfo &
EndPopUp

PopUp "Config"
	Title	"Config"
	Exec	"xvidtune"	exec xterm -T "X Video Tune" -n xvidtune -e xvidtune &
	Exec	".fvwmrc"	exec xterm -T .fvwmrc -n .fvwmrc -e vi ~/.fvwmrc &
	Exec	".Xdefaults"	exec xterm -T .Xdefaults -n .Xdefaults -e vi ~/.Xdefaults &
	Exec	".profile"	exec xterm -T .profile -n .profile -e vi ~/.profile &
EndPopUp

PopUp "NetUpDown"
	Title	"Net Control"
	Exec	"Net UP"	exec xterm -geometry 80x10 -T Net_Up -n Net_Up -e net_up &
        Exec    "Net Down"	exec xterm -geometry 40x8 -T Net_Down -n Net_Down -e net_down &
EndPopUp

Popup "Quit-Verify"
	Title	"Really Quit?"
	Quit	"YES, Quit"
	Nop	""
	Nop	"NO, Don't Quit"
EndPopup


### Here are the top-level menus hanging off MenuStuff.

Popup "Shells"
        Title   "Shells"
        Exec    "Xterm"		exec xterm -sb -ls &
        Exec    "Color Xterm"	exec color_xterm -sb -ls &
        Exec    "Color Rxvt"	exec rxvt -font 7x14 -ls &
	Nop	""
        Exec    "Big Xterm"	exec xterm -sb -ls -fn 10x20 &
        Exec    "Big Color Xterm"	exec color_xterm -sb -ls -fn 10x20 &
        Exec    "Big Color Rxvt"	exec rxvt -font 10x20 -ls &
	Nop	""
        Exec    "X3270"		exec x3270 &
        Exec    "root xterm"	exec xterm -sb -ls -T Root -n Root -e su - &
EndPopup

PopUp	"Desktop"
	Title	"Desktop"
	WindowList	"Window List"
	PopUp	"Window Ops"		WindowOps
	PopUp	"Set Background"	Background
	PopUp	"Screen Saver"		Screensaver
        Popup   "Lock Display"		Screenlock
	PopUp	"Modules"		Modules
	PopUp	"Window Managers"	WindowManagers
	Close	"Close Window"
	Restart "Restart Desktop"	fvwm
	Refresh	"Refresh Screen"
EndPopUp

PopUp	"Apps"
	Title	"Applications"
	PopUp	"Text Edit"	Editors
	Nop	""
        Exec    "XV"            exec xv &
        Exec    "Ghostview"     exec ghostview &
#	Exec	"IDraw"		exec idraw &
        Exec    "Xpaint"        exec xpaint &
        Exec    "Xfig"          exec xfig &
        Exec    "Xfractint"     exec rxvt -font 7x14 -e xfractint map=chroma &
	Exec	"X Spreadsheet"	exec xspread &
        Exec    "Seyon"         exec seyon -modem /dev/modem &
        Exec    "Workman"       exec workman &
        Exec    "FileManager"	exec xfilemanager &
        Exec    "Xfm"           exec xfm &
EndPopUp

PopUp	"Tools"
	Title	"Tools"
	Exec	"Manual Pages"	exec xman &
	Exec	"Info Pages"	exec tkinfo &
	PopUp	"Clocks"	Clocks
	Exec	"Calculator"	exec xcalc &
	Exec	"Clipboard"	exec xclipboard &
	Exec	"XBiff"		exec xbiff &
        Exec    "Resource Edit"	exec editres &
        Exec    "Font Select"	exec xfontsel &
        Exec    "bitmap"	exec bitmap &
        Exec    "pixmap"	exec bitmap &
        Exec    "XDebug"	exec xxgdb &
#	Exec	"xconsole"	exec xconsole &
        Exec    "XMag"		exec xmag &
#        Exec    "Grab"		exec xgrab &
        Exec    "Dump Screen"	exec xwd -out ~/screen_dump.xwd &
        Exec    "UnDump"	exec xwud -in ~/screen_dump.xwd &
        Exec    "Color Map"     exec xcmap &
EndPopUp

PopUp "Games"
	Title	"Games"
	Exec	"DOOM"		exec xdoom &
	Exec	"Abuse"		exec xabuse &
	Exec	"Koules"	exec xkoules &
	Exec	"Maelstrom"	exec Maelstrom &
	Nop	""
	PopUp	"Toys"		Toys
	Exec	"GnuChess"	exec #xboard &
	Exec	"Lander"	exec xlander &
        Exec    "Spider"        exec spider &
        Exec    "Xmahjongg"     exec xmahjongg &
        Exec    "Xtetris"       exec xtetris &
        Exec    "Xhextris"      exec xhextris &
        Exec    "XJewel"	exec xjewel &
        Exec    "Xvier"         exec xvier &
	Exec	"Puzzles"	exec xpuzzle &
        Exec    "Xbombs"        exec xbombs &
EndPopUp

PopUp	"Network"
	Title "Network"
	Exec	"Netscape"	exec netscape &
	Exec	"Arena"		exec arena &
#	Exec	"Mosaic"	exec mosaic &
#	Exec	"Chimera"	exec chimera &
	Exec	"News"		exec xterm -T News -n News -e tin -rn &
	Exec	"Mail"		exec xterm -T Mail -n Mail -e elm &
	Exec	"ircII"		exec xterm -T ircII -n ircII -e irc &
	Exec	"zIRCon"	exec zircon &
	Exec	"Telnet"	exec xterm -T telnet -n telnet -e telnet &
	Exec	"FTP"		exec xterm -T FTP -n FTP -e ftp &
	Exec	"NC FTP"	exec xterm -T NCFTP -n NCFTP -e ncftp &
#	Exec	"Xftp"		exec xftp &
#	Exec	"ftptool"	exec ftptool &
#	Exec	"XArchie"	exec xarchie &
EndPopUp

PopUp	"System"
	Title "System
	Exec	"Audio Control"	exec xtmix &
	Exec	"Lock Terminal"	exec xlock -mode random &
	Restart "Restart Desktop"	fvwm
	Nop	""
	PopUp	"Status"	Status
	Nop	""
	PopUp	"Configure"	Config
	Nop	""
	PopUp	"Network"	NetUpDown
	Nop	""
	PopUp	"Quit"	Quit-Verify
EndPopUp

### and here goes the root menu (mouse button 1 on root)

PopUp "MainMenu"
	Title	"Main"
	PopUp	"Shells"	Shells
	PopUp	"Desktop"	Desktop
	PopUp	"Apps"		Apps
	PopUp	"Tools"		Tools
	PopUp	"Games"		Games
	PopUp	"Network"	Network
	PopUp	"System"	System
EndPopUp

PopUp "RootMenu"
	Title	"FVWM"
	Exec	"Color Xterm"	exec color_xterm -sb -ls &
	Exec	"Xterm"		exec xterm -sb -ls &
	Exec	"XV"		exec xv &
	PopUp	"Main"		MainMenu	
	Nop	""
	CirculateUp	"Shuffle Up"
	CirculateDown	"Shuffle Down"
	PopUp	"Window Ops"	WindowOps
	Nop	""
	Exec	"Screen Saver"	exec xlock -nolock -nice 0 -mode random &
	Exec	"Lock Display"	exec xlock -nice 0 -mode random &
	Refresh	"Refresh All"
	Restart	"Restart"	fvwm
	Nop	""
	PopUp	"Quit fvwm"	Quit-Verify
EndPopUp

#############################################################################
# A few more functions - couldn't be defined earlier because of pop-up menus
# This creates a motif-ish sticky menu for the title-bar window-ops pop-up
# Menu acts like normal twm menu if you just hold the button down,
# but if you click instead, the menu stays up, motif style
Function "WindowOps-or-Close"
	PopUp 	"Click"		WindowOps
	PopUp	"Motion"	WindowOps
# Motif would add
	Close  "DoubleClick"  
EndFunction

Function "WindowOpsFun"
	PopUp 	"Click"		WindowOps
	PopUp	"Motion"	WindowOps
EndFunction

Function "IconOpsFun"
	PopUp 	"Click"		IconOps
	PopUp	"Motion"	IconOps
EndFunction

Function "RootMenuFun"
	PopUp	"Click"		RootMenu
	PopUp	"Motion"	RootMenu
EndFunction

Function "WindowListFun"
	WindowList	"Click"	
	WindowList	"Motion"
EndFunction

Function "RaiseLower-or-WindowOps"
	RaiseLower	"Click"
	PopUp	"Motion"	WindowOps
EndFunction

Function "WindowOps-or-Move"
	PopUp	"Click"	WindowOps
	Move	"Motion"
EndFunction


##############################################################################
# This defines the mouse bindings

# First, for the mouse in the root window
# Button 1 gives the Root 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-control-0 combination you want!

#     Button	Context Modifi 	Function
Mouse 1 	R   	A       PopUp "RootMenu"
Mouse 2 	R       A       WindowList
Mouse 3 	R    	A      	PopUp "WindowOps"
# use these if you want that the menu stays popped up when you click.
#Mouse 1 	R   	A       Function "RootMenuFun"
#Mouse 2 	R       A       Function "WindowListFun"
#Mouse 3 	R    	A      	Function "WindowOpsFun"
# winlist as a module:
#Mouse 2 	R    	A      	Module "winlist" FvwmWinList transient

# Now the title bar buttons
# Any button in the left title-bar button gives the window ops menu
# Any button in the right title-bar button Iconifies the window
# Any button in the rightmost title-bar button maximizes
# Note the use of "Mouse 0" for AnyButton.

#     Button	Context Modifi 	Function
#Mouse 0 	1    	A      	Function "WindowOps-or-Close"
#Mouse 0 	2    	A     	Function "Maximize"
#Mouse 0 	3    	A     	Function "Delete-or-Close"
#Mouse 0 	4    	A     	Iconify
#W95:
Mouse 0		1    	A      	Function "WindowOps-or-Close"
Mouse 0		2    	A     	Function "Delete-or-Close"
Mouse 0		4    	A     	Function "Maximize"
Mouse 0		6    	A     	Iconify

# Now the rest of the frame
# Here I invoke my complex functions for Move-or-lower, Move-or-raise,
# and Resize-or-Raise. 
# Button 1 in the corner pieces, with any modifiers, gives resize or raise
# Button 1 in the title, sides, or icon, w/ any modifiers, gives move or raise
Mouse 1		T	A	Function "Move-or-Raise"
Mouse 1		FS	A	Function "Resize-or-Raise"
Mouse 1 	I	A	Function "Move-or-Iconify"

# Button 2 in the corners, sides, or title-bar gives the window ops menu
#Mouse 2	FST	A	Function "WindowOpsFun"
Mouse 2		FST	A	Function "WindowOps-or-Move"
Mouse 2 	I	A	Function "IconOpsFun"

# Button 3 anywhere in the decoration (except the title-bar buttons)
# does a raise-lower
Mouse 3		TSFI	A	Function "Move-or-RaiseLower"
#Mouse 3	TSFI	A	Function "RaiseLower-or-WindowOps"
# 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       M       RaiseLower

###########################################################################
# Now some keyboard shortcuts.

# Arrow Keys
# press arrow + control anywhere, and scroll by 1 page
#    Key 	Context Modifi 	Function
#Key Left	A	C	Scroll -100 +0
#Key Right	A	C	Scroll +100 +0
#Key Up		A	C	Scroll +0   -100
#Key Down	A	C	Scroll +0   +100

# press arrow + meta 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 shift arrow + control anywhere, and move the pointer by 1% of a page
Key Left	A	SC	CursorMove -1 0
Key Right	A	SC	CursorMove +1 +0
Key Up		A	SC	CursorMove +0   -1
Key Down	A	SC	CursorMove +0   +1

# press shift arrow + meta 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

# Keyboard accelerators
Key F1		A	M	Popup "RootMenu"
Key F2		A	M	Popup "WindowOps"
#Key F3		A	M	Module "WindowList" FvwmWinList 
Key F3		A	M	WindowList
#Key F4		A	M	Iconify
Key F4		A	M	Close
Key F5		A	M	Move
Key F6		A	M	Resize
Key F7		A	M	CirculateUp
Key F8		A	M	CirculateDown

#Page Up/Dapge Down keys are used to scroll by one desktop page
# in any context, press page up/down + control
# in root context, just pressing page up/down is OK
# 
# I prefer the non-wrapping scroll. These are for example purposes only
Key Next	A       C       Scroll 100000 0
Key Next	R       N       Scroll 100000 0  
Key Prior	A       C       Scroll -100000 0
Key Prior	R       N       Scroll -100000 0

# W95: some m$window$ key emulation:
Key Tab		A	MS	CirculateUp
Key Tab		A	M	CirculateDown
#Key Tab		A	M	Warp
Key space	W	M	Popup "WindowOps"

############################################################################
############################################################################
#Definitions used by the modules

###################### GoodStuff button-bar ################################
# Colors
*GoodStuffFore Black
*GoodStuffBack #908090

# Font
*GoodStuffFont -adobe-helvetica-bold-r-*-*-10-*-*-*-*-*-*-*
# Geometry - really likes to pick its own size, but giving a position is OK
*GoodStuffGeometry -1+10

# Layout: specify rows or columns, not both
*GoodStuffColumns 1

# Define the buttons to use.....
*GoodStuff Kill    rbomb.xpm    Destroy

# xterm or rxvts on remote machines can be done like this
# Output re-direction is csh style, not sh style
# You will want to substitute your own hosts here!

*GoodStuff Local   rterm.xpm   Exec "xterm" exec xterm -sb -ls &
*GoodStuff Dopey   rterm.xpm   Exec "dopey" rsh dopey "exec xterm -T dopey -display $HOSTDISPLAY </dev/null >&/dev/null & "&
#*GoodStuff Grumpy  rterm.xpm   Exec "grumpy" rsh grumpy "exec xterm -T grumpy -display $HOSTDISPLAY </dev/null >&/dev/null & "&
#*GoodStuff Snoopy  rterm.xpm   Exec "snoopy" rsh snoopy "exec xterm -T snoopy -display $HOSTDISPLAY </dev/null >&/dev/null & "&
*GoodStuff Xcalc   rcalc.xpm   Exec "Calculator" xcalc &
#*GoodStuff mail    mail2.xpm    Exec "xmh" xmh &

#*GoodStuff Paging  clamp.xpm   TogglePage
*GoodStuff -	0		Swallow "G_xclock" xclock -name G_xclock -bg \#908090 -geometry -1500-1500 -padding 0 &
*GoodStuff -	0		Swallow "G_xbiff" xbiff -name G_xbiff -bg "#908090" -fg black -geometry 45x45-1-1 &
*GoodStuff Raise   Up    	Popup "WindowOps"
*GoodStuff Paging  clamp.xpm	TogglePage
*GoodStuff Desk-0  desk.xpm    Desk 0 0
*GoodStuff Desk-1  desk.xpm    Desk 0 1
*GoodStuff Desk-2  desk.xpm    Desk 0 2
*GoodStuff Desk-3  desk.xpm    Desk 0 3


######################### No Clutter ########################################
# I only wrote NoClutter as a simple test case, but maybe some big sites like
# universities really have usage problems (too many open windows)....
# Time delays are in seconds.
*FvwmNoClutter 3600 Iconify 1
*FvwmNoClutter 86400 Delete
*FvwmNoCLutter 172800 Destroy

########################## Window-Identifier ###############################
# Just choose colors and a fonts
*FvwmIdentBack MidnightBlue
*FvwmIdentFore Yellow
*FvwmIdentFont -adobe-helvetica-medium-r-*-*-12-*-*-*-*-*-*-*

########################### Pager #########################################
*FvwmPagerBack #908090
*FvwmPagerFore #484048
#*FvwmPagerFont -adobe-helvetica-bold-r-*-*-10-*-*-*-*-*-*-*
*FvwmPagerFont none
*FvwmPagerHilight #cab3ca
*FvwmPagerGeometry -1-1
*FvwmPagerLabel 0 Misc
*FvwmPagerLabel 1 FrameMaker
*FvwmPagerLabel 2 Mail
*FvwmPagerLabel 3 Matlab
*FvwmPagerSmallFont 5x8
#*FvwmPagerSmallFont none

########################## FvwmWinList ##################################
*FvwmWinListBack #908090
*FvwmWinListFore Black
*FvwmWinListFont -adobe-helvetica-bold-r-*-*-10-*-*-*-*-*-*-*
*FvwmWinListAction Click1 Iconify -1,Focus
*FvwmWinListAction Click2 Iconify
*FvwmWinListAction Click3 Module "FvwmIdent" FvwmIdent
*FvwmWinListUseSkipList
*FvwmWinListGeometry +1-1

############ Set Up Backgrounds for different desktops. #################
*FvwmBackerDesk 0 xsetroot -solid steelblue
*FvwmBackerDesk 1 xsetroot -solid midnightblue
*FvwmBackerDesk 2 xsetroot -solid aquamarine
*FvwmBackerDesk 3 xsetroot -bg skyblue -fg White -bitmap /usr/include/X11/bitmaps/xsnow &


############ FvwmIconBox ###################################
# Make no icon to be shown in root window by spcifying
# (1) "SuppressIcons" if PRUNE is defined in configure.h, or
# (2) "Style "*" NoIcon" if PRUNE is defined.
#SuppressIcons
#Style   "*"     NoIcon
*FvwmIconBoxIconBack    #cfcfcf
*FvwmIconBoxIconHiFore  black
*FvwmIconBoxIconHiBack  LightSkyBlue
*FvwmIconBoxBack        #5f9ea0
#*FvwmIconBoxFore       blue
*FvwmIconBoxGeometry    1x5+1+363
*FvwmIconBoxMaxIconSize 40x40
*FvwmIconBoxFont        -adobe-helvetica-medium-r-*-*-12-*-*-*-*-*-*-*
*FvwmIconBoxSortIcons
*FvwmIconBoxPadding     3
*FvwmIconBoxLines       6
*FvwmIconBoxPlacement   Top Left
#*FvwmIconBoxPixmap     fvwm.xpm
#*FvwmIconBoxHideSC     Horizontal
#
# mouse bindings
#
*FvwmIconBoxMouse       1       Click           RaiseLower
*FvwmIconBoxMouse       1       DoubleClick     Iconify
*FvwmIconBoxMouse       2       Click           Iconify -1, Focus
*FvwmIconBoxMouse       3       Click           Module "FvwmIdent" FvwmIdent
#
# Key bindings
#
*FvwmIconBoxKey         r       RaiseLower
*FvwmIconBoxKey         space   Iconify
*FvwmIconBoxKey         d       Close
#
# FvwmIconBox built-in functions
#
*FvwmIconBoxKey         n       Next
*FvwmIconBoxKey         p       Prev
*FvwmIconBoxKey         h       Left
*FvwmIconBoxKey         j       Down
*FvwmIconBoxKey         k       Up
*FvwmIconBoxKey         l       Right
#
# Icon file spcifications
#
*FvwmIconBox	"*Man*"		xman.xpm
*FvwmIconBox	"*man*"		xman.xpm
*FvwmIconBox	"*info*"	xman.xpm
*FvwmIconBox	"*Info*"	xman.xpm
*FvwmIconBox	"*menu*"	toolbox.xpm
*FvwmIconBox	"*Menu*"	toolbox.xpm
*FvwmIconBox	"xxgdb*"	xdbx.xpm
*FvwmIconBox	"GoodStuff"	toolbox.xpm
*FvwmIconBox	"rxvt"		term.xpm
#*FvwmIconBox	"xterm"		xterm.xpm, Color black/grey
*FvwmIconBox	"xterm"		rterm.xpm
*FvwmIconBox	"xcalc"		xcalc.xpm
*FvwmIconBox	"xbiff"		mail2.xpm
*FvwmIconBox	"xlogo"		xlogo32
*FvwmIconBox	"xedit"		xedit.xpm
*FvwmIconBox	"xpaint"	xpaint.xpm
*FvwmIconBox	"editres"	editres.xpm
*FvwmIconBox	"xman"		xman.xpm
*FvwmIconBox	"xmag"		mag_glass.xpm
*FvwmIconBox	"xmh"		mail2.xpm
*FvwmIconBox	"ghostview"	ghostview.xpm

*FvwmIconBox	"xvgr"		graphs.xpm
*FvwmIconBox	"matlab"	math4.xpm
*FvwmIconBox	"xgraph"	graphs.xpm


################ Audio ########################

#*FvwmAudioPlayCmd /usr/bin/X11/demos/auplay
#      This determines the independent audio player program that will actually play the sounds. If
#      the play command is set to builtin-rplay then the builtin rplay support will be used. For
#      example: 
#      *FvwmAudioPlayCmd builtin-rplay
#*FvwmAudioDir /usr/lib/sounds
#      Specifies the directory to look for the audio files. This option is ignored when rplay is used. 
#*FvwmAudioDelay 5
#      Specifies that sound events will only be played if they occur at least 5 seconds after the
#      previous event. Sounds events that occur during the delay period are ignored. This option is
#      useful if you don't want several sounds playing at the same time. The default delay is 0 which
#      disables the audio delay. 
#*FvwmAudioRplayHost hostname
#      Specifies what host the sounds will play on. The hostname can also be an environment
#      variable such as $HOSTDISPLAY. This option is only valid with builtin rplay support. 
#*FvwmAudioRplayPriority 0
#      Specifies what priority will be assigned to the sounds when they are played. This option is only
#      valid with builtin rplay support. 
#*FvwmAudioRplayVolume 127
#      Specifies what volume will be assigned to the sounds when they are played. This option is
#      only valid with builtin rplay support. 
#
*FvwmAudio startup TaDa.au
*FvwmAudio shutdown Elvis_Left.au
*FvwmAudio unknown doh.au
*FvwmAudio add_window drip.au
*FvwmAudio raise_window swoosh.au
*FvwmAudio lower_window swoosh.au
*FvwmAudio focus_change boing.au
*FvwmAudio destroy_window explosion.au
*FvwmAudio iconify ploop.au
*FvwmAudio deiconify ploop.au
*FvwmAudio toggle_paging fwop.au
*FvwmAudio new_page beam_trek.au
*FvwmAudio new_desk beam_trek.au
*FvwmAudio configure_window huh.au
*FvwmAudio window_name beep.au
*FvwmAudio icon_name beep.au
*FvwmAudio res_class beep.au
*FvwmAudio res_name beep.au
*FvwmAudio end_windowlist twang.au

###################### W95Stuff button-bar ################################

#  with this, Icons won't be drawn - only text!
#  use this in combination with the W95 IconBox
#  (look at the begining of this file).
Style "*x*" Icon void64.xpm
Style "*a*" Icon void64.xpm
Style "*e*" Icon void64.xpm
Style "*i*" Icon void64.xpm
Style "*o*" Icon void64.xpm
Style "*u*" Icon void64.xpm
Style "*"   Icon void64.xpm
#Style "*" Color Black/Grey

#  If you won't use this no-icons trick you might want to have the
#  default unknown icon be 'winico.xpm'
#Style "*"   Icon winico.xpm
Style "Waste" Icon waste.xpm

Style "W95Stuff"	NoIcon, NoTitle, NoHandles, Sticky, BorderWidth 2
Style "W95Stuff"	Color White/Black
#Style "W95Stuff"	StaysOnTop

# Colors
*W95StuffFore Black
#*W95StuffBack #c3c3c3
*W95StuffBack Gray
# Font
*W95StuffFont -adobe-helvetica-bold-r-*-*-10-*-*-*-*-*-*-*
# Geometry - really likes to pick its own size, but giving a position is OK
*W95StuffGeometry 1024x26+1-1
# Layout: specify rows or columns, not both
*W95StuffRows 1
# Define the buttons to use.....
*W95Stuff - W95start.xpm	PopUp "MainMenu"
*W95Stuff - W95diskdrive.xpm	Exec "File Manager" xfm -filemgr &
*W95Stuff - W95apps.xpm		Exec "xfm" xfm -appmgr &
#*W95Stuff - W95file.xpm 	Exec "color_xterm" color_xterm -e mc &
*W95Stuff - W95xterm.xpm	Exec "xterm" xterm -sb -ls &
#*W95Stuff(7x1) - 0		Lower
*W95Stuff(7x1) DoubleClick-here-to-show-icons 0		Lower
*W95Stuff(2x1) - 0 		Swallow "W95_xclock" xclock -name W95_xclock -digital -fn '-*-helvetica-medium-r-*-*-10-*-*-*-*-*-*-*' -geometry -1500-1500 &
*W95Stuff - 0			Swallow "W95_xload"  xload -name W95_xload -update 4 -jumpscroll 1 -nolabel -bg gray -geometry -1500-1500 &
#*W95Stuff - 0			Swallow "W95_xeyes"  xeyes -name W95_xeyes -geometry -1500-1500 &
#*W95Stuff - 0			SwallowModule "FvwmPager" FvwmPager 0
#*W95Stuff - satlite2.xpm	Exec "Netscape" netscape &
#*W95Stuff - fldprmpt.xpm	PopUp "Shells"  Shells

