# Settings Misc's

# HilightColor   black bisque3
HilightColor yellow darkred
#HilightColor Wheat SlateBlue4
ClickTime 150

WindowFont  "--bernhard modern-bold-r-normal--*-*-*-*-*-*-iso8859-1"
## "-adobe-new century schoolbook-bold-*-*-*-14-140-*-*-*-*-iso8859-1"
## WindowFont "--postcrypt-medium-r-normal--13-130-0-0-p-0-iso8859-1"
## "--matura mt script capitals-semibold-r-normal--13-130-75-75-p-87-iso8859-1"

IconFont  "-adobe-new century schoolbook-*-*-*-*-10-100-*-*-*-*-iso8859-1"

# Button Stylss
ButtonStyle 1 Pixmap mini.iconify.xpm

ButtonStyle 2 Pixmap mini.maximize.xpm mini.lower.xpm

ButtonStyle 3 Pixmap mini.xman.xpm mini.checkmark.xpm

ButtonStyle 4 Pixmap mini.iconify.xpm

ButtonStyle 5 Pixmap mini.bomb.xpm

TitleStyle Centered Flat

MenuStyle   black   #A0A0A0 #982834 "--nimbus roman no9 l-bold-r-normal--0-0-0-0-p-0-iso8859-1" fvwm

# These Fonts are PS-Fonts. Not on Standard Distributions.
## "-adobe-new century schoolbook-medium-r-normal-*-14-140-*-*-*-*-iso8859-*" fvwm
## --bernhard modern-bold-r-normal--*-*-*-*-*-*-iso8859-1

 

OpaqueMoveSize 60
DeskTopSize 2x2
EdgeScroll 100 100
EdgeResistance 250 50

# Setting up needed Paths...
ModulePath /usr/X11R6/lib/X11/fvwm2
IconPath /usr/X11R6/include/X11/bitmaps
PixmapPath /usr/X11R6/include/X11/3dpixmaps

#=============================================================================
# Backups of already Working Styles Here only !!!
# Style "*" IconBox 5 -65 -380 -5, RandomPlacement, BorderWidth 2, SloppyFocus
#=============================================================================

# Styles
# Some General definitions for all Applications.
Style "*" ForeColor Wheat, StickyIcon, HintOverride
Style "*" BackColor SlateBlue4, SmartPlacement, NoPPosition, DecorateTransient
Style "*" IconBox 5 5 65 -5, RandomPlacement, BorderWidth 2, SloppyFocus
Style "*" MWMButtons, MWMDecor, MWMBorder

# Fvem Specific Stff
Style "Fvwm"		Icon toolbox_3d.xpm, NoHandles, Sticky, \
			StaysOnTop, ClickToFocus, WindowListSkip
Style "Fvwm*"		UseStyle Fvwm
Style "FvwmPager"  	UseStyle Fvwm
Style "FvwmBanner" 	UseStyle Fvwm
Style "FvwmButtons"  	UseStyle Fvwm, BorderWidth 3, WindowListSkip, \
			Icon Multiview.xpm, Color black/grey, NoTitle
Style "FvwmIconMan" 	UseStyle Fvwm, HandleWidth 5, Handles, BorderWidth 5, \
			NoTitle
Style "FvwmIconBox" 	UseStyle Fvwm, BorderWidth 2, Icon Multiview.xpm, \
			Color black/grey
Style "FvwmIdent"  	UseStyle Fvwm, Icon Multiview.xpm

# Some usefull Stuff
Style "*Packages"       NoIconTitle, Icon install_3d.xpm
Style "Query of*"       NoIconTitle, Icon disk_info_3d.xpm

# RedHat Stuff
Style "Control-panel"   Icon pick_3d.xpm
Style "Fstool"          UseStyle Control-panel
Style "Helptool"        UseStyle Control-panel
Style "Netcfg"          UseStyle Control-panel
Style "Timetool"        UseStyle Control-panel
Style "usercfg"         UseStyle Control-panel
Style "Tksysv"          UseStyle Control-panel

# Definition of System-Info Styles
Style "System"		NoHandles, Sticky, WindowListSkip, \
			ClickToFocus
Style "*lock"		UseStyle System
Style "XSysinfo"	UseStyle System
Style "xmem"		UseStyle System, Icon xload.next.xpm
Style "xload"		UseStyle System, Icon lambda.xpm
Style "xbiff"       	UseStyle System, Icon Mail2.xpm
Style "xconsole"    	UseStyle System, Icon note.next.xpm, Title
Style "XConsole"    	UseStyle System, Icon note.next.xpm, Title
Style "Console"     	UseStyle System, Icon note.next.xpm, Title
Style "Linux Console"	UseStyle System, Icon note.next.xpm, Title
Style  "mfsm"		UseStyle System, Icon disk_info_3d.xpm, Title


# Defining Style for everything looking like an NXTerm
Style  "NXTerm"      	Icon Shell2.linux.xpm, Title, Color black/grey, \
			IconBox 5 -65 -720 -5
Style  "xterm"       	UseStyle NXTerm
Style  "Xterm"       	UseStyle NXTerm
Style  "color_xterm" 	UseStyle NXTerm
Style  "nxterm"      	UseStyle NXTerm

# Defining Style for everything looking like a Motif Xterm and a Ansiterm
Style  "mxterm"      	Icon Shell2.xpm, Title, Color black/grey, \
			IconBox 5 -65 -720 -5
Style  "MXTerm"      	UseStyle mXTerm
Style  "rxvt"        	UseStyle mXTerm
Style  "XTerm-ansi"  	UseStyle mXTerm
Style  "ansi_xterm"  	UseStyle mXTerm

# Defining a Style for Mailers
Style  "Mail"		Icon Mail2.xpm
Style  "xmh"	     	Icon Mail2.xpm
Style  "Exmh"       	Icon Mail2.xpm
Style  "exmh"       	Icon Mail2.xpm
Style  "messages"   	Icon Mail2.xpm
Style  "ML"		UseStyle Mail
Style  "ml"		UseStyle Mail
Style  "lview"		UseStyle Mail
Style  "log"		Icon note.next.xpm
Style  "read"		Icon spreadsheet_3d.xpm
Style  "compose"	Icon texwrite.next.xpm
Style  "composeOptions"	Icon tools3_3d.xpm
Style  "netconf"	Icon netdn.xpm
Style  "prefs"		Icon prefs_3d.xpm

# Some misc Styles. unique for eache Application
Style "xarchie"      	Icon xarchie.xpm, StartsOnDesk 1
Style "xgopher"      	Icon xgopher.xpm, StartsOnDesk 1
Style  "xedit"       	Icon TextEditor.xpm
Style  "textedit"    	Icon TextEditor.xpm
Style  "xditview"    	Icon TextEditor.xpm
Style  "xdvi"        	Icon xdvi.next.xpm
Style  "XDvi"        	Icon xdvi.next.xpm
Style  "xfig"	     	Icon CAD.xpm
Style  "xmgr"		Icon CAD.xpm
Style  "xpaint"	     	Icon Paint.xpm
Style  "Canvas"	     	Icon Paint2.xpm
Style  "Ftptool"     	Icon ftp_3d.xpm
Style  "XFtp"        	Icon ftp_3d.xpm
Style  "XDir"		Icon disks_3d.xpm
Style  "xcalc"       	Icon calc.next.xpm
Style  "Xman"	     	Icon PrefsDock.xpm
Style  "TkMan"	     	Icon manpage_blue_3d.xpm
Style  "man"	     	Icon manpage_blue_3d.xpm
Style  "hman"	     	Icon manpage_blue_3d.xpm
Style  "HMan"	     	Icon manpage_blue_3d.xpm
Style  "AsWedit"	Icon html_3d.xpm
Style  "Ddd"		Icon debug_3d.xpm
Style  "xmag"	     	Icon mag.next.xpm
Style  "emacs-x"     	Icon emacs_3d.xpm
Style  "Emacs"	     	Icon emacs_3d.xpm
Style  "Ghostview"   	Icon cadview.next.xpm
Style  "GV"          	Icon cadview.next.xpm
Style  "xditview"    	Icon TextEditor.xpm
Style  "xftp"	     	Icon ftp_3d.xpm
Style  "NCftp"	     	Icon ftp_3d.xpm
Style  "Xtetris"     	Icon Tetris.xpm
Style  "Seyon"	     	Icon DFUe.xpm
Style  "IRC"	     	Icon DFUe.xpm
Style  "xv"	     	Icon xv.color.xpm, NoHandles
Style  "xli"	     	Icon ImageProcessing2.xpm, NoHandles
Style  "*.gif"	     	Icon ImageProcessing2.xpm, NoHandles
Style  "*.jpg"	     	Icon ImageProcessing2.xpm, NoHandles
Style  "xcoloredit"  	Icon ImageProcessing2.xpm, NoHandles
Style  "ez"	     	Icon WordProcessing.xpm
Style  "help"	     	Icon PrefsDock.xpm
Style  "ReadNews"   	Icon News.xpm
Style  "Knews"	     	Icon News.xpm
Style  "Appointment" 	Icon calendar.next.xpm
Style  "Wp" 		Icon DTP.xpm
Style  "xcoloredit"	Icon Paint4.xpm
Style  "typescript"	Icon TextEditor.xpm
Style  "server"		Icon TextEditor.xpm
Style  "0*"		Icon TextEditor.xpm
Style  "Axinfo"		Icon PrefsDock.xpm
Style  "Xtt"		Icon TextEditor.xpm
Style  "*doom*"		NoTitle, NoHandles, BorderWidth 1
Style  "XDosEmu"	Icon C.xpm
Style  "Faxview.tcl"	Icon FAX.xpm
Style  "viewfax"	Icon FAX.xpm
Style  "Plan"		StartsOnDesk 1, Icon calendar.next.xpm
Style  "plan"		StartsOnDesk 1, Icon calendar.next.xpm
Style  "Xinvest"	StartsOnDesk 1, Icon money_3d.xpm
Style  "Xvnews"		StartsOnDesk 1
Style  "Grok"		StartsOnDesk 1, Icon Database.xpm
Style  "XMmix"		Icon xmix.xpm
Style  "XMixer"		Icon xmix.xpm
Style  "xmixer"		Icon xmix.xpm
Style  "NEdit"		Icon TextEditor.xpm
Style  "xmcd"		Icon CompactDisc.xpm, NoTitle
Style  "XMcd"		Icon CompactDisc.xpm, NoTitle
Style  "XPlaycd"	Icon CompactDisc.xpm
Style  "xplaycd"	Icon CompactDisc.xpm
Style  "xless"		Icon Reader.xpm
Style  "moxfm" 		NoTitle, Icon FileManager.xpm
Style  "file window" 	Icon FileManager.xpm
Style  "mount table" 	NoTitle, Icon FileManager.xpm
Style  "Netscape"	Icon netscape.color.xpm
Style  "Navigator"	Icon netscape.color.xpm
Style  "Arena"		Icon web.next.xpm
Style  "Browser"	Icon web.next.xpm
Style  "Mosaic"		Icon mosaic_3d.xpm
Style  "doced"		Icon DTP.xpm
Style  "Doced"		Icon DTP.xpm
Style  "Control-panel"	Icon sysinfo_3d.xpm
Style  "control-panel"	Icon sysinfo_3d.xpm
Style  "netcfg"		Icon network_3d.xpm
Style  "usercfg"	Icon at_work_3d.xpm
Style  "fstool"		Icon disk_server_3d.xpm
Style  "helptool"	Icon icon_help_3d.xpm
Style  "tksysv" 	Icon Optimizer.xpm
Style  "printtool"      Icon Printing.xpm
Style  "xwp"		Icon word_processor_3d.xpm
Style  "Wp60"		Icon word_processor_3d.xpm
Style  "XPovPreview"	Icon Viewer.xpm
Style  "xpovpreview"	Icon Viewer.xpm
Style  "XAnim"	        Icon film_3d.xpm, NoHandles
Style  "Gimp"		Icon Viewer.xpm, NoHandles
Style  "imageWin"	Icon Multiview.xpm, NoHandles
Style  "MC"		Icon disks_3d.xpm

# these have to go at the End, otherwise theyll carry some different Styles !
Style "rsh*" 		Icon netdup1.xpm
Style  "ReadMail"   	Icon Mail2.xpm

# If you Want to use the FvwmIconBox, uncomment the Following line and 
# Enable it in the Autostart Location.
# Style     "*"  NoIcon

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

# Stuff to do at start-up

AddToFunc "InitFunction" "I" Module FvwmButtons
+              "I" Exec exec xconsole -geometry 692x137+68+0 -notify -verbose -file /dev/xconsole &
+              "I" Exec exec xmixer &
+              "I" Exec exec nxterm -ls -geometry 80x25+0+180 -sl 1000 -e /bin/bash -login &
+              "I" Module FvwmAudio
+              "I" Module FvwmIconMan
+              "I" Wait nxterm
+              "I" Desk 1
+              "I" Scroll +100 +0
+              "I" Exec exec grok phone &
+              "I" Wait grok
+              "I" Scroll +0 +100
+              "I" Exec exec pland
+              "I" Exec exec plan &
+              "I" Wait plan
+              "I" Desk 0
+              "I" Scroll -100 -100


AddToFunc "RestartFunction" "I" Module FvwmButtons
+              "I" Module FvwmAudio
+              "I" Module FvwmIconMan

############################################################################
# Now define some handy complex functions
# This one moves the window if you drag the mouse,
# raises it if you click, and put it in the upper-left corner of the
# screen if you double click
AddToFunc "Move-or-Raise" "M" Move
+               "C" Raise
+               "D" Move 0 0
# This one moves the window if you drag the mouse,
# and lowers it if you click
AddToFunc "Move-or-Lower" "M" Move
+               "C" Lower
# This one resizes the window if you drag the mouse,
# and raises it if you click
AddToFunc "Resize-or-Raise" "M" Resize
+               "C" Raise
# This one maximizes vertically if you click, or does a full maximization
# if you double click
AddToFunc "Maximize-Vert-or-Full" "C" Maximize 0 100
+               "D" Maximize 100 100

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

# Apps Menu will fire up some other Programms
AddToMenu Apps-X "*editres_3d.xpm*" Title
+              "%mini.xv.color.xpm%XV..." Exec exec /usr/X386/bin/xv &
+              "%mini.calc.next.xpm%Xcalculator..." Exec exec xcalc &
+              "%mini.mag.next.xpm%Xmag..." Exec exec xmag &
+              "%mini.mag.next.xpm%Clipboard..." Exec exec xclipboard &

# Provides a list of modules to fire off
AddToMenu Module-Popup "*plugin_3d.xpm*" Title
+		"%mini.window3d.xpm%FvwmConfig" Module FvwmConfig
+              "%mini.window3d.xpm%FvwmIconMan" Module FvwmIconMan
+              "%mini.window3d.xpm%FvwmAudio" Module FvwmAudio
+	       "%mini.window3d.xpm%FvwmAuto" Module FvwmAuto 750
+              "%mini.window3d.xpm%FvwmBacker" Module FvwmBacker
+              "%mini.window3d.xpm%FvwmButtons" Module FvwmButtons
+              "%mini.window3d.xpm%FvwmCpp" Module FvwmCpp
+              "%mini.window3d.xpm%FvwmForm" Module FvwmForm
+              "%mini.window3d.xpm%FvwmIconBox" Module FvwmIconBox
+              "%mini.window3d.xpm%FvwmIdent" Module FvwmIdent
+              "%mini.window3d.xpm%FvwmM4" Module FvwmM4
+              "%mini.window3d.xpm%FvwmPager" Module FvwmPager 0 1
+              "%mini.window3d.xpm%FvwmPrompt" Module FvwmPrompt
+              "%mini.window3d.xpm%FvwmSave" Module FvwmSave
+              "%mini.window3d.xpm%FvwmSaveDesk" Module FvwmSaveDesk
+              "%mini.window3d.xpm%FvwmScroll" Module FvwmScroll
+              "%mini.window3d.xpm%FvwmTalk" Module FvwmTalk
+              "%mini.window3d.xpm%NoClutter" Module FvwmClean
+              "%mini.window3d.xpm%FvwmWinList" Module FvwmWinList

#Communication Tools
AddToMenu Comm "*netdn.xpm*" Title
+              "%mini.xarchie.xpm%Xarchie..." Exec exec xarchie &
+              "%mini.ftp_3d.xpm%ftpTool..." Exec exec xftp &
+              "%mini.ftp_3d.xpm%NCftp..." Exec exec NCftp &
+              "%mini.DFUe.xpm%Irc..." Exec exec IRC Smurphy stardust &
+              "%mini.Mail2.xpm%Xmh..." Exec exec xmh -bg bisque3 -fn 9x15 &
+              "%mini.DFUe.xpm%Seyon..." Exec exec seyon -modem /dev/ttyS1 &
+              "%mini.News.xpm%Xvnews..." Exec exec xvnews &
+	       "%mini.FAX.xpm%Faxview..." Exec faxview.tcl &

#Motif Tools
AddToMenu Motif "*tools2_3d.xpm*" Title
+              "%mini.Mail2.xpm%ml..." Exec exec ml &
+              "%mini.xmix.xpm%Xmmix..." Exec exec xmmix &
+              "%mini.FileManager.xpm%MoXFM..." Exec exec moxfm >/dev/console 2>&1
+              "%mini.disks_3d.xpm%Xdir..." Exec exec xdir &
+              "%mini.ftp_3d.xpm%Xftp..." Exec exec xftp &
+              "%mini.Opus.xpm%Mfsm..." Exec exec mfsm -a &
+              "%mini.CompactDisc.xpm%Xmcd..." Exec exec xmcd &
+              "%mini.money_3d.xpm%Xinvest..." Exec exec Xinvest &
+              "%mini.calendar.next.xpm%Plan..." Exec exec plan &
+              "%mini.Database.xpm%Grok..." Exec exec grok	&
+              "%mini.TextEditor.xpm%nedit..." Exec exec nedit &
+              "%mini.manpage_blue_3d.xpm%HMan..." Exec exec hman &
+              "%mini.CAD.xpm%xmgr..." Exec exec xmgr &
+              "%mini.debug_3d.xpm%Ddd..." Exec exec ddd &
+		"" nop
+              "%mini.TextEditor.xpm%asWedit..." Exec exec asWedit &
+              "%mini.netscape.color.xpm%Netscape..." Exec exec netscape &
+              "%mini.mosaic_3d.xpm%Mosaic..." Exec exec Mosaic &


# CAD programms
AddToMenu CAD-Apps "*CAD2.xpm*" Title
+              "%mini.CAD.xpm%SISCAD-P..." Exec exec rxvt -sl 300 -T "SISCAD-P Log" -e /usr/bin/siscadp -d &
+              "%mini.Multiview.xpm%Gimp..." Exec exec gimp &
+              "%mini.CAD.xpm%XtexCad..." Exec exec Xtexcad &
+              "%mini.Paint.xpm%Xpaint..." Exec exec xpaint &
+              "%mini.CAD.xpm%Xfig..." Exec exec xfig &
+              "%mini.CAD.xpm%xmgr..." Exec exec xmgr &
+              "%mini.CAD.xpm%tgif..." Exec exec tfig &
+              "%mini.Drawing.xpm%Xpixmap..." Exec exec pixmap &
+              "%mini.Drawing.xpm%Xbitmap..." Exec exec bitmap &

#Toys in X
AddToMenu Toys "*Game.xpm*" Title
+              "%mini.Game.xpm%Xearth..." Exec exec xearth -pos "sunrel 45 25" &
+              "%mini.Game.xpm%Xfishtank..." Exec exec xfish &
+              "%mini.Moviemaker2.xpm%rclock..." Exec exec rclock -ic -bg bisque3 &
+              "%mini.Game.xpm%Xmoontool..." Exec exec xmoontool &
+              "%mini.Game.xpm%Oneko..." Exec exec oneko &
+              "%mini.Game.xpm%Xswarm..." Exec exec xswarm -r -x -V -s 16 -A 7 -S 20 &
+              "%mini.Game.xpm%Xwarp..." Exec exec xwarp &
+              "%mini.Game.xpm%Xteddy..." Exec exec xteddy &

#Games
AddToMenu Xgames "*Game2.xpm*" Title
+              "%mini.Tetris.xpm%Xtetris..." Exec exec xtetris &
+              "%mini.Game.xpm%Xsolitair..." Exec exec xsol &
+              "%mini.Game.xpm%PacMan..." Exec exec xchomp &
+              "%mini.crossfire.xpm%Crossfire..." Exec exec crossfire -xpm &
+              "%mini.Game.xpm%Lander..." Exec exec xlander &



# Editing SystemTools
AddToMenu System-Configuration "*sysinfo_3d.xpm*" Title
+              "%mini.Optimizer.xpm%FvwmConfig..." Module FvwmConfig
+              "%mini.Optimizer.xpm%System.fvwmrc..." Exec exec emacs $HOME/.fvwm2rc &
+              "%mini.Optimizer.xpm%Xinitrc..." Exec exec emacs $HOME/.xinitrc &
+              "%mini.Optimizer.xpm%Xresources..." Exec exec emacs $HOME/.Xresources &
+              "%mini.Optimizer.xpm%Xdefaults..." Exec exec emacs $HOME/.Xdefaults &
+              "%mini.Optimizer.xpm%Bashrc..." Exec exec emacs $HOME/.bashrc &
+              "" Nop
+              "%mini.Optimizer.xpm%Fontinstaller..." Exec exec cfi &
+              "%mini.Optimizer.xpm%Editresources..." Exec exec editres &
+              "%mini.Optimizer.xpm%Viewresources..." Exec exec viewres &
+              "%mini.Optimizer.xpm%Coloreditor..." Exec exec xcoloredit &
+              "%mini.Optimizer.xpm%xkeycap..." Exec exec xkeycaps -keyboard PCCLONE_DE &
+              "%mini.Optimizer.xpm%Xmem..." Exec exec xmem -bg bisque3 &
+              "%mini.Optimizer.xpm%Xload..." Exec exec xload &
+              "%mini.Optimizer.xpm%Xsysinfo..." Exec exec xsysinfo -geometry 170x106-2+102 -notitle &

# This menu is invoked as a sub-menu - it allows you to quit,
# restart, or switch to another WM.
AddToMenu Quit-Verify "*stop_3d.xpm*" Title
+              "%mini.exit.xpm%Yes, Really Quit" Quit
+              "%backarr.xpm%Restart fvwm " Restart fvwm2
+              "" Nop
+              "No, Don't Quit" Nop

#This Menu defines the Editors
AddToMenu Editors "*format_edit_3d.xpm*" Title
+              "%mini.emacs_3d.xpm%Emacs..." Exec exec emacs &
+              "%mini.TextEditor.xpm%Nedit..." Exec exec nedit &
+              "%mini.TextEditor.xpm%Axe..." Exec exec axe &
+              "%mini.TextEditor.xpm%Ez..." Exec exec ez &
+              "%mini.TextEditor.xpm%Xedit..." Exec exec xedit &
+              "%mini.cadview.next.xpm%Ghostview..." Exec exec ghostview &
+              "%mini.cadview.next.xpm%GV..." Exec exec gv &
+              "%mini.TextEditor.xpm%TextEdit..." Exec exec textedit -bg gray -fn 9x15 &
+              "%mini.TextEditor.xpm%XditView..." Exec exec xditview &
+              "%mini.TextEditor.xpm%Xcoral..." Exec exec xcoral &

#This Menu will fire up some shell Tools
AddToMenu Shells "*Shell.xpm*" Title
+              "%mini.note.next.xpm%Xconsole..." Exec exec xconsole -geometry 692x137+68+0 -notify -verbose -file /dev/xconsole &
+              "%mini.Shell.xpm%Xterm..." Exec exec nxterm -ls &
+              "%mini.Shell2.xpm%MotifXterm..." Exec exec mxterm -ls &
+              "%mini.Shell2.xpm%Color Xterm..." Exec exec color_xterm -ls &
+              "%mini.Shell.xpm%rXvt..." Exec exec rxvt -fat -sl 1000 -e /usr/bin/bash -login &
+              "%mini.note.next.xpm%CmdTool..." Exec exec /usr/openwin/bin/cmdtool -bg gray -fn 9x15 &
+              "%mini.note.next.xpm%Console..." Exec exec /usr/openwin/bin/cmdtool -C -bg gray -fn 9x15 &
+              "%mini.note.next.xpm%ShellTool..." Exec exec /usr/openwin/bin/shelltool -bg gray -fn 9x15 -e /usr/bin/bash -login &

#This Menu will fire up some auis Tools
#AddToMenu Auis "Auis Tools" Title
#+              "Ez..." Exec exec ez &
#+              "typescript..." Exec exec typescript &
#+              "Mail Tools..." Exec exec messages &
#+              "Bush..." Exec exec bush &
#+              "Preferenced..." Exec exec prefed &
#+              "Auishelp..." Exec exec auishelp &

#This Menu will fire up some Screen-savers
AddToMenu ScreenSavers "*lock.xpm*" Title
+              "%mini.lock.xpm%Screen -> Swarm..." Exec exec xlock -mode swarm &
+              "%mini.lock.xpm%Screen -> Galaxy..." Exec exec xlock -mode galaxy &
+              "%mini.lock.xpm%Screen -> Pyro..." Exec exec xlock -mode pyro &
+              "%mini.lock.xpm%Screen -> World..." Exec exec xlock -mode world &
+              "%mini.lock.xpm%Screen -> Nose..." Exec exec xlock -mode nose &
+              "%mini.lock.xpm%Screen -> Rock..." Exec exec xlock -mode rock &
+              "%mini.lock.xpm%Screen -> Rock..." Exec exec xlock -mode spiral &
+              "%mini.lock.xpm%Screen -> Bat..." Exec exec xlock -mode bat &
+              "%mini.lock.xpm%Screen -> Sphere..." Exec exec xlock -mode sphere &
+              "%mini.lock.xpm%Screen -> Rect..." Exec exec xlock -mode rect &
+              "%mini.lock.xpm%Screen -> Qix..." Exec exec xlock -mode qix &
+              "%mini.lock.xpm%Screen -> Maze..." Exec exec xlock -mode maze &
+              "%mini.lock.xpm%Screen -> Life..." Exec exec xlock -mode life &
+              "%mini.lock.xpm%Screen -> Hop..." Exec exec xlock -mode hop &
+              "%mini.lock.xpm%Screen -> Spline..." Exec exec xlock -mode spline &
+              "%mini.lock.xpm%Screen -> Grav..." Exec exec xlock -mode grav &
+              "%mini.lock.xpm%Screen -> Bounce..." Exec exec xlock -mode bounce &
+              "%mini.lock.xpm%Screen -> Rotor..." Exec exec xlock -mode rotor &
+              "%mini.lock.xpm%Screen -> Worm..." Exec exec xlock -mode worm &
+              "%mini.lock.xpm%Screen -> Flame..." Exec exec xlock -mode flame &
+              "%mini.lock.xpm%Screen -> Hyper..." Exec exec xlock -mode hyper &
+              "%mini.lock.xpm%Screen -> Helix..." Exec exec xlock -mode helix &
+              "%mini.lock.xpm%Screen -> Blot..." Exec exec xlock -mode blot &
+              "%mini.lock.xpm%Screen -> Blank..." Exec exec xlock -mode blank &
+              "%mini.lock.xpm%Screen -> Random..." Exec exec xlock -mode random &

#this menu will fire up some sound utilities
AddToMenu Sound "*sound3_3d.xpm*" Title
+              "%mini.CompactDisc.xpm%Workman..." Exec exec workman -b -e &
+              "%mini.CompactDisc.xpm%Xplaycd..." Exec exec xplaycd &
+              "%mini.xmix.xpm%Xmixer..." Exec exec xmixer &
+              "%mini.xmix.xpm%Xmix..." Exec exec xmix &


# This menu will fire up some very common utilities
AddToMenu Utilities "*x_server_3d.xpm*"     Title
+              "%mini.Shell2.xpm%rXvt..." Exec exec rxvt -fat -sl 1000 -e /usr/bin/bash -login &
+              "%mini.Shell.xpm%Xterm..." Exec exec nxterm -ls &
+              "%mini.Shell.xpm%Login Xterm..." Exec exec nxterm -e login &
+              "%mini.Shell.xpm%Stargate ..." Exec exec rsh stargate "/usr/X11R6/bin/nxterm -d stardust.bln.sub.org:0.0" &
+              "%mini.News.xpm%KNews..." Exec exec knews &
+              "%mini.News.xpm%RTin..." Exec exec nxterm -fn 10x20 -n ReadNews -T ReadNews -name ReadNews -bg bisque3 -e rtin &
+              "%mini.word_processor_3d.xpm%WP_6.0..." Exec exec wp60 &
+              "%mini.PrefsDock.xpm%xManual..." Exec exec tkman &
+              "%mini.Viewer.xpm%xRefresh..." Exec exec xrefresh &
+              "%mini.disks_3d.xpm%MC ..." Exec exec xmc &
+              "" Nop
+              "%mini.Shell.xpm%Shells" Popup Shells
+              "%mini.Music.xpm%Sound" Popup Sound
+              "%mini.DFUe.xpm%Network" Popup Comm
#+              "Auis Tools" Popup Auis
#+              "Great Tools" Popup Great
+              "%mini.FileManager.xpm%Motif Tools" Popup Motif
+              "%mini.CAD.xpm%Cad Apps" Popup CAD-Apps
+              "%mini.TextEditor.xpm%Editors" Popup Editors
+              "%mini.Multiview.xpm%Applications" Popup Apps-X
+              "%mini.Optimizer.xpm%Configuration" Popup System-Configuration
+              "" Nop
+              "%mini.Multiview.xpm%Modules" Popup Module-Popup
+              "" Nop
+              "%mini.Game.xpm%Toys" Popup Toys
+              "%mini.Game2.xpm%Games" Popup Xgames
+              "" Nop
+              "%mini.lock.xpm%Lock Random" Exec exec xlock -mode random &
+              "%mini.lock.xpm%Lock Screen" Popup ScreenSavers
+              "" Nop
+              "%mini.exit.xpm%Exit Fvwm" Popup Quit-Verify


# This defines the most common window operations
AddToMenu Window-Ops "*objects_fast_3d.xpm*" Title
+              "Move" Move
+              "Resize" Resize
+              "Raise" Raise
+              "Lower" Lower
+              "(De)Iconify" Iconify
+              "(Un)Stick" Stick
+              "(Un)Maximize" Maximize
+              "(Un)Maximize Vertical" Maximize 0 100
+              "xRefresh" Exec exec xrefresh &
+              "" Nop
+              "FvwmAudio" Module FvwmAudio
+	       "FvwmAuto" Module FvwmAuto 750
+              "FvwmBacker" Module FvwmBacker
+              "FvwmButtons" Module FvwmButtons
+              "FvwmCpp" Module FvwmCpp
+              "FvwmForm" Module FvwmForm
+              "FvwmIconBox" Module FvwmIconBox
+              "FvwmIdent" Module FvwmIdent
+              "FvwmM4" Module FvwmM4
+              "FvwmPager" Module FvwmPager 0 1
+              "FvwmPrompt" Module FvwmPrompt
+              "FvwmSave" Module FvwmSave
+              "FvwmSaveDesk" Module FvwmSaveDesk
+              "FvwmScroll" Module FvwmScroll
+              "FvwmTalk" Module FvwmTalk
+              "NoClutter" Module FvwmClean
+              "FvwmWinList" Module FvwmWinList
+              "" Nop
+              "Exit Programm" Destroy
+              "Dismiss Subprogramm" Delete

# This defines the Window Actions
AddToMenu Window-Actions "*stop_3d.xpm*" Title
+              "Move	(Alt-F3)" Move
+              "Resize	(Alt-F4)" Resize
+              "Raise	(Alt-F5)" Raise
+              "Lower	(Alt-F6)" Lower
+              "" Nop
+              "(De)Iconify" Iconify
+              "(Un)Stick" Stick
+              "(Un)Maximize" Maximize
+              "(Un)Maximize Vertical" Maximize 0 100
+              "" Nop
+              "Exit Programm" Destroy
+              "Dismiss Subprogramm" Delete


#############################################################################
# One more complex function - couldn't be defined earlier because it used
# pop-up menus
#
# This creates a motif-ish sticky menu for the title-bar window-ops
# pop-up
AddToFunc "window_ops_func" "C" PopUp Window-Ops
+              "M" PopUp Window-Ops
+               EndFunction


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

# First, for the mouse in the root window
# Button 1 gives the Utilities menu
# Button 2 gives the Window Ops menu
# Button 3 gives the WindowList (like TwmWindows)
# I use the AnyModifier option for the modifier field, so you can hold down
# any shift-control-whatever combination you want!

#     Button	Context Modifi 	Function
Mouse 1		R   	A       Menu Utilities Nop
Mouse 2		R    	A       Menu Window-Ops Nop
Mouse 3		R    	A      	WindowList 
# Possibility for the right button
# 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
# Note the use of "Mouse 0" for AnyButton.
# Left buttons :
#       1. Iconifie
#       2. Drop a utilities menu
#       3. Kills the window
# Right buttons :
#       1. Left Mouse button : Maximize vertically
#          Middle Mouse button : Maximize horizontally
#          Right Mouse button : Full maximization
#       2. Iconifie
#     Button    Context Modifi  Function
Mouse 0         1       A       Iconify
Mouse 1         2       A       Maximize 0 100
Mouse 2         2       A       Maximize 100 0
Mouse 3         2       A       Maximize 100 100
Mouse 0         3       A       Menu Window-Actions Nop 
Mouse 0         4       A       Iconify
Mouse 0         5       A       Delete
#
# 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
Mouse 1		F	A	Function "Resize-or-Raise"
# Button 1 in the title, sides, or icon, w/ any modifiers, gives move or raise
Mouse 1		TSI	A	Function "Move-or-Raise"
# Button 2 in an icon, w/ any modifiers, gives de-iconifies
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-Actions" Nop
# Button 3 anywhere in the decoration (except the title-bar buttons)
# does a move-or-lower
Mouse 3		TSIF	A	Function "Move-or-Lower"

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

# Arrow Keys
# press arrow + control anywhere, and scroll by 1 page
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 Window-Ops
Key F2		A	M	Popup Utilities
Key F3		A	M	Move
Key F4		A	M	Resize
Key F5          A       M       Next [*] focus
Key F6          A       M       Prev [*] focus

# Supplementary Key's of The Microsoft Keyboard
# Comment if you dont have it !!!
#
#Key keyname Context Modifiers Function
 Key Meta_L     FST     N      Next [CurrentDesk *xterm] focus 
 Key Meta_R     FST     N      Prev [CurrentDesk *xterm] focus
 Key Menu       FST     N      Popup "Utilities"

#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

# press shift + meta + arrow key, and switch desktops
Key Up          A       SM      Desk  1       # Next desk
Key Down        A       SM      Desk -1       # Previous desk
Key Left        A       SM      Desk  0 0     # Desk 0
Key Right       A       SM      Desk  0 1     # Desk 1

# Key Alt-Tab to circulate through Windows
Key Tab         A       M       Circulate Up
Key Tab         A       MS      Circulate Down


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

*FvwmButtonsFore Black
*FvwmButtonsBack #A0A0A0
*FvwmButtonsGeometry  -1-1
*FvwmButtonsRows 1
*FvwmButtonsFrame -2
*FvwmButtonsPadding 0 0
*FvwmButtonsFont -*-helvetica-medium-r-*-*-12-*-*-*-*-*-iso8859-1
#*FvwmButtons(Title FaxView, Icon FAX.xpm, Action `Exec "Faxview.tcl" faxview.tcl &`)
*FvwmButtons(Title Exit, Icon exit.xpm, Action Quit)
*FvwmButtons(Swallow(UseOld,NoKill) "Clock" `Exec rclock -bg "#A0A0A0" &` Frame 1)
*FvwmButtons(Swallow(UseOld,NoKill) "Coolmail" `Exec coolmail -e ml &` Frame 1)
*FvwmButtons(2x1,Swallow(UseOld,NoKill) "XSysinfo" `Exec xsysinfo &` Frame 1)
*FvwmButtons(Swallow(UseOld,NoKill) "XLoad" `Exec xload -bg rgb:90/80/90 -update 15 -nolabel &` Frame 1)
*FvwmButtons(1x1,Container(Rows 3, Frame 1))
       *FvwmButtons(Title Stargate, Action \
           `Exec "rsh_stargate" nxterm -T rsh_stargate -e \
            launch rsh stargate.bln.sub.org &`)
       *FvwmButtons(Title calvados, Action \
           `Exec "rsh_calvados" nxterm -T rsh_calvados -e \
            launch rsh calvados.zrz.tu-berlin.de &`)
       *FvwmButtons(Title PC50, Action \
           `Exec "rsh_PC50" nxterm -T rsh_PC50 -e \
            launch rsh -l joerg pc50.zrz.tu-berlin.de &`)
       *FvwmButtons(End)
*FvwmButtons(Title RSH, Icon network_3d.xpm,\
                Action `Exec "rsh" \`rsh.tcl\` &`)
*FvwmButtons(Title News, Icon News.xpm, Action `Exec "Knews" knews &`)
*FvwmButtons(Title Xterm, Icon Shell.xpm, Action `Exec "NXTerm" nxterm -ls &`)
*FvwmButtons(2x1,Swallow "FvwmPager" `FvwmPager 0 1` Frame 1)
*FvwmButtons(2x1, Container(Rows 3, Columns 2, Frame 1))
        *FvwmButtons(Title Raise   , Action Raise)
        *FvwmButtons(Title Lower   , Action Lower)
        *FvwmButtons(Title Resize  , Action Resize)
        *FvwmButtons(Title Move    , Action Move)
        *FvwmButtons(Title Iconify , Action `Iconify +1`)
        *FvwmButtons(Title Kill    , Action Destroy)
        *FvwmButtons(End)
######################### 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 DarkOliveGreen
*FvwmIdentFore black 
*FvwmIdentFont 9x15

########################## Window-Lister ###############################
*FvwmWinListBack DarkOliveGreen
*FvwmWinListFore black
#*FvwmWinListFore PaleGoldenRod
#*FvwmWinListFont -*-new century schoolbook-bold-r-*-*-*-120-*-*-*-*-*-*
*FvwmWinListFont 9x15
*FvwmWinListAction Click1 Iconify -1,Raise
*FvwmWinListAction Click2 Iconify
*FvwmWinListAction Click3 Module "FvwmIdent" FvwmIdent
*FvwmWinListUseSkipList 
*FvwmWinListGeometry -0+220
# I like it achored
#*FvwmWinListNoAnchor 

########################### Pager #########################################
*FvwmPagerFont none
*FvwmPagerBack #A0A0A0
*FvwmPagerFore #484048
*FvwmPagerHilight #cab3ca
*FvwmPagerGeometry x80+841-665
*FvwmPagerLabel 0 Stardust
*FvwmPagerLabel 1 News
*FvwmPagerLabel 2 Mail
*FvwmPagerLabel 3 SiscadP
*FvwmPagerSmallFont 5x8

########################### AudioModule ####################################
#*FvwmAudioPlayCmd /usr/local/bin/audiofvwm
*FvwmAudioPlayCmd /usr/local/bin/splay -q -s 22000
*FvwmAudioDir /usr/X11R6/lib/X11/fvwm2/audio
*FvwmAudio startup /usr/X11R6/lib/X11/fvwm2/audio/startup.wav
*FvwmAudio shutdown /usr/X11R6/lib/X11/fvwm2/audio/shutdown.wav
*FvwmAudio unknown /usr/X11R6/lib/X11/fvwm2/audio/woow1.wav
*FvwmAudio destroy_window /usr/X11R6/lib/X11/fvwm2/audio/whip.wav
*FvwmAudio iconify /usr/X11R6/lib/X11/fvwm2/audio/whip.wav
*FvwmAudio deiconify /usr/X11R6/lib/X11/fvwm2/audio/whip.wav

########################### IconBox #######################################

*FvwmIconBoxIconBack  	#cfcfcf
*FvwmIconBoxIconHiFore  black
*FvwmIconBoxIconHiBack  LightSkyBlue
*FvwmIconBoxBack        LightSlateGray
*FvwmIconBoxGeometry    6x1-0-70
*FvwmIconBoxMaxIconSize 56x46
*FvwmIconBoxSortIcons   IconName
*FvwmIconBoxPadding     1
*FvwmIconBoxLines       6
*FvwmIconBoxPlacement   Left Top
*FvwmIconBoxPixmap	
*FvwmIconBoxHideSC Horizontal
*FvwmIconBoxSortIcons	Multiview.xpm
       #
       # 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            "Fvwm*"         -

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

       *FvwmIconMan*nummanagers 1
       *FvwmIconMan*resolution  global
       *FvwmIconMan*background  #A0A0A0
       *FvwmIconMan*foreground  black
       *FvwmIconMan*font "-adobe-new century schoolbook-bold-r-normal-*-10-100-*-*-*-*-iso8859-1"
#       *FvwmIconMan*font        7x13
       *FvwmIconMan*geometry    194x100-2+0
       *FvwmIconMan*action      click3 Module "FvwmIdent" FvwmIdent
#       *FvwmIconMan*action      select Focus 0
       *FvwmIconMan*showtitle   false
       *FvwmIconMan*followfocus true
       *FvwmIconMan*sort        true
       *FvwmIconMan*plainbutton          up black #A0A0A0
       *FvwmIconMan*selectbutton         down Wheat SlateBlue4
       *FvwmIconMan*focusbutton          up white brown
       *FvwmIconMan*focusandselectButton down Wheat SlateBlue4
