# Von SuSE übernommen und verändert.
# System-Default: /usr/X11R6/lib/X11/fvwm2/.fvwm2rc

###############################################################################
#                                                                             #
#   general configuration                                                     #
#                                                                             #
###############################################################################

#
# this describes how many rows and columns are displayed in the pager
#
# alt: DeskTopSize 3x2
DeskTopSize 1x1

# AutoRaise
FvwmAuto 500

# Pager für Desktop
# FvwmPager 0 1

#EdgeResistance 0 10
#EdgeScroll 10 10

ClickTime 750

ColormapFocus FollowsMouse

OpaqueMoveSize 100

###############################################################################
#                                                                             #
#   paths specific to fvwm2                                                   #
#                                                                             #
###############################################################################

#
# n.b. These paths must NOT be longer than 255 chars
#

ModulePath /usr/X11R6/lib/X11/fvwm2

PixmapPath /usr/X11R6/include/X11/susexpm/normal:/usr/X11R6/include/X11/susexpm/mini:/usr/X11R6/include/X11/3dpixmaps/normal:/usr/X11R6/include/X11/pixmaps:/usr/local/include/icons

IconPath /usr/X11R6/include/X11/susexpm/small:/usr/X11R6/include/X11/3dpixmaps/small:/usr/X11R6/include/X11/bitmaps:/usr/local/include/icons


###############################################################################
#                                                                             #
#   window buttons                                                            #
#                                                                             #
###############################################################################

# Large up Triangle for Maximize
ButtonStyle 2 4 50x24@1 75x74@0 25x74@0 50x24@1

# Large down Triangle for Iconify
ButtonStyle 4 4 50x74@1 25x24@1 75x24@1 50x74@0

# Cross for Stick
ButtonStyle 3 13 20x60@1 20x40@1 40x40@1 40x20@1 60x20@1 60x40@0 80x40@1 80x60@0 60x60@0 60x80@0 40x80@0 40x60@1 20x60@0

# Holz-Leisten
#TitleStyle ActiveUp TiledPixmap burlwood.xpm
#TitleStyle InActive TiledPixmap walnut.xpm
#TitleStyle ActiveDown TiledPixmap burlwood.xpm

#BorderStyle Active TiledPixmap burlwood.xpm
#BorderStyle InActive TiledPixmap walnut.xpm

# Farbverlauf
TitleStyle ActiveUp HGradient 64 2 #00aaaa 50 #004444 50 #00aaaa
TitleStyle InActive HGradient 64 2 #00aaaa 50 #004444 50 #00aaaa
TitleStyle ActiveDown HGradient 64 2 #00aaaa 50 #004444 50 #00aaaa

ButtonStyle All -- UseTitleStyle


###############################################################################
#                                                                             #
#   colors and fonts                                                          #
#                                                                             #
###############################################################################

#
# Set the default window colors. The syntax is:
#
#  	DefaultColors anywinfore anywinback selectedfore selectedback
#
# where:
#  	anywinfore    is used for the menu text
#  	anywinback    is the background (border) color of all windows,
#                     including the menu windows 
#  	selectedfore  is the color of the title text of non selected windows
#  	selectedback  is the background color used for title bars of 
#                  	non selected windows
#
#DefaultColors   Black Grey 	Black DarkGrey

#
# Text and background color for the title bar of the selected window
#
# HilightColor 	Black CadetBlue
HilightColor yellow grey50

#
# Text and background color for the title bar of sticky windows
#
#StickyColors    DarkGrey  DarkCyan

#
# You can also use the Style command to set the colors of individual
# title bars of some non-selected windows
#
# Menu colors and font
#
#         bg    fg   disabled  font                             sub-menu-style
#
MenuStyle Black Grey LightGrey \
	-misc-fixed-medium-r-normal-*-15-*-75-75-c-90-iso8859-1 fvwm

Style "*" BorderWidth 5, HandleWidth 5, ForeColor Green

#
# Now the common fonts - one for window titles, another for icons
#
WindowFont      -misc-fixed-bold-r-normal-*-13-*-75-75-c-80-iso8859-1
IconFont        -misc-fixed-medium-r-normal-*-10-*-75-75-c-60-iso8859-1


###############################################################################
#                                                                             #
#   functions                                                                 #
#                                                                             #
###############################################################################


########################################
# Window Functions
########################################

    
AddToFunc MoveOrRaise
 +	"Click"	Raise 
 +	"Motion"	Raise 
 +	"Motion"	Move 
 +	"DoubleClick"	Lower 

# end function MoveOrRaise

    
AddToFunc ResizeOrRaise
 +	"Click"	Raise 
 +	"Motion"	Raise 
 +	"Motion"	Resize 
 +	"DoubleClick"	Lower 

# end function ResizeOrRaise

    
AddToFunc MaximizeFunc
 +	"Motion"	Maximize 0 100
 +	"Click"	Maximize 0 80
 +	"DoubleClick"	Maximize 100 100

# end function MaximizeFunc

    
AddToFunc MoveOrIconify
 +	"Immediate"	Raise 
 +	"Motion"	Raise 
 +	"Motion"	Move 
 +	"DoubleClick"	Iconify 
# end function MoveOrIconify


###############################################################################
#                                                                             #
#   general menus to be configured before special menus                       #
#                                                                             #
###############################################################################

      
###############################################################################
#
# modulepopup
#
###############################################################################

    
AddToMenu modulepopup "Fvwm-Module"	Title

 +	"Audio"	Module FvwmAudio
 +	"AutoRaise ein"	Module FvwmAuto 500
 +	"AutoRaise aus"	KillModule FvwmAuto
 +	"Banner"	Module FvwmBanner
 +	"Buttons"	Module FvwmButtons
 +	"Debug"	Module FvwmDebug
 +	"IconBox"	Module FvwmIconBox
 +	"IconMan"	Module FvwmIconMan
 +	"Ident"	Module FvwmIdent
 +	"Pager"	Module FvwmPager
 +	"Save"	Module FvwmSave
 +	"SaveDesk"	Module FvwmSaveDesk
 +	"Scroll"	Module FvwmScroll
 +	"Talk"	Module FvwmTalk
 +	"WinList"	Module FvwmWinList

# end popup modulepopup


#############################################################################
#
# thiswmpopup
#
#############################################################################

          
AddToMenu thiswmpopup "Fvwm2"	Title
+	"Module%small.install_3d.xpm%"	Popup modulepopup
+	"Fvwm2 Neustart%small.restart_suse_3d.xpm%"	Restart fvwm2
+	"Fvwm2 und X beenden%small.exit.xpm%"	Function QuitSave
# end popup thiswmpopup



###############################################################################
#                                                                             #
#   menus                                                                     #
#                                                                             #
###############################################################################



###############################################################################
#
# WindowOps
#
###############################################################################

    
AddToMenu WindowOps "Fenstermenü (Shift-Alt-Space)"	Title

 +	"Verschieben           (Alt-F5) %small.win_mov_suse_3d.xpm%"	Move 
 +	"Größe verändern       (Alt-F6) %small.win_siz_suse_3d.xpm%"	Resize 
 +	"Icon                  (Alt-F4) %small.win_ico_suse_3d.xpm%"	Iconify 
 +	"Maximal/Normal  (Shift-Alt-F3) %small.win_max_suse_3d.xpm%"	Maximize 
 +	"Anpinnen        (Shift-Alt-F4) %small.win_pin_suse_3d.xpm%"	Stick 
 +	"Neu darstellen  (Shift-Alt-F5) %small.galaxy_3d.xpm%"	Refresh 
 +	""	Nop
 +	"Nach vorne            (Alt-F7) %small.win_rse_suse_3d.xpm%"	Raise 
 +	"Nach hinten           (Alt-F8) %small.win_low_suse_3d.xpm%"	Lower 

 +	"Nächstes              (Alt-F11)%small.win_nxt_suse_3d.xpm%"	Next [*] focus 
 +	"Vorheriges            (Alt-F12)%small.win_prv_suse_3d.xpm%"	Prev [*] focus 

 +	""	Nop
 +	"Fensterliste          (Alt-F2) %small.win_lst_suse_3d.xpm%"	WindowList 
 +	""	Nop
# +	"Schließen             (Alt-F9) %small.boomerang_3d.xpm%"	Delete 
# +	"Kill                  (Alt-F10)%small.win_kil_suse_3d.xpm%"	Destroy 
 +	"Schließen             %small.boomerang_3d.xpm%"	Delete 
 +	"Kill                  %small.win_kil_suse_3d.xpm%"	Destroy 

# end popup WindowOps


###############################################################################
#
# screenconfigpopup
#
###############################################################################

    
AddToMenu screenconfigpopup "Bildschirmschoner"	Title

 +	"Standard"	Exec xset s default
 +	"Sofort"	Exec xset s activate
 +	"Nur schwarz"	Exec xset s blank
 +	"Muster nach 5 min"	Exec xset s noblank s 5 5
 +	"aus"	Exec xset s off

# end popup screenconfigpopup


###############################################################################
#
# mouseconfigpopup
#
###############################################################################

    
AddToMenu mouseconfigpopup "Maus"	Title

 +	"schnell"	Exec xset m 4 2
 +	"normal"	Exec xset m 2 5
 +	"langsam"	Exec xset m 1 1
 +	""	Nop
 +	"Linkshändermaus"	Exec xmodmap -e "pointer = 3 2 1"
 +	"Rechtshändermaus"	Exec xmodmap -e "pointer = 1 2 3"

# end popup mouseconfigpopup


###############################################################################
#
# wmconfigpopup
#
###############################################################################

          
AddToMenu wmconfigpopup "Einstellungen"	Title
 +	"Bildschirmschoner%small.mickey_3d.xpm%" Popup screenconfigpopup
 +	"Maus%small.mouse_head_3d.xpm%"		 Popup mouseconfigpopup 
# end popup wmconfigpopup


###############################################################################
#
# workpopup
#
###############################################################################

                     
AddToMenu workpopup "Fenstermenü"	Title
 +	"Verschieben           (Alt-F5) %small.win_mov_suse_3d.xpm%"	Move 
 +	"Größe verändern       (Alt-F6) %small.win_siz_suse_3d.xpm%"	Resize 
 +	"Icon                  (Alt-F4) %small.win_ico_suse_3d.xpm%"	Iconify 
 +	"Maximal/Normal  (Shift-Alt-F3) %small.win_max_suse_3d.xpm%"	Maximize 
 +	"Anpinnen        (Shift-Alt-F4) %small.win_pin_suse_3d.xpm%"	Stick 
 +	"Neu darstellen  (Shift-Alt-F5) %small.galaxy_3d.xpm%"	Refresh 
 +	""	Nop
 +	"Nach vorne            (Alt-F7) %small.win_rse_suse_3d.xpm%"	Raise 
 +	"Nach hinten           (Alt-F8) %small.win_low_suse_3d.xpm%"	Lower 
 +	"Nächstes              (Alt-F11)%small.win_nxt_suse_3d.xpm%"	Next [*] focus 
 +	"Vorheriges            (Alt-F12)%small.win_prv_suse_3d.xpm%"	Prev [*] focus 
 +	""	Nop
 +	"Fensterliste          (Alt-F2) %small.win_lst_suse_3d.xpm%"	WindowList 
 +	""	Nop
# +	"Schließen             (Alt-F9) %small.boomerang_3d.xpm%"	Delete 
# +	"Kill                  (Alt-F10)%small.win_kil_suse_3d.xpm%"	Destroy 
 +	"Schließen             %small.boomerang_3d.xpm%"	Delete 
 +	"Kill                  %small.win_kil_suse_3d.xpm%"	Destroy 
 +	""	Nop
 +	""	Nop
 +	"Einstellungen%small.install_3d.xpm%"	Popup wmconfigpopup
 +	""	Nop
 +	""	Nop
 +	"Fenstermanager%small.window3d.xpm%"	Popup thiswmpopup

# end popup workpopup


###############################################################################
#
# filemanpopup
#
###############################################################################

                         
AddToMenu filemanpopup "Dateimanager"	Title

 +	"TkDesk Dateimanager%small.FileManager.xpm%"	Exec tkdesk
 +	"Xgroups"	Exec xgroups
 +	"Xfilemanager"	Exec xfilemanager
 +	"Xdtm"	Exec xdtm
 +	"Xfm"	Exec xfm
 +	""	Nop
 +	"GNU Interactive%small.gnu_suse_3d.xpm%"	Exec xterm -e git
 +	"Midnight Commander%small.ncd_3d.xpm%"	Exec xterm -e mc
   +	""	Nop
 +	"YTree%small.tree3_3d.xpm%"	Exec xterm -e ytree
  +	""	Nop
 +	"Xtar%small.tapes_3d.xpm%"	Exec xtar

# end popup filemanpopup


###############################################################################
#
# calculatorpopup
#
###############################################################################

      
AddToMenu calculatorpopup "Taschenrechner"	Title

 +	"XCalc%small.Calculator.xpm%"	Exec xcalc
 +	"GNU bc%small.registar_3d.xpm%"	Exec xterm -e bc

# end popup calculatorpopup



###############################################################################
#
# netnewspopup
#
###############################################################################

                   
AddToMenu netnewspopup "News"	Title

 +	"Knews%small.news2_3d.xpm%"	Exec knews
  +	"Xrn%small.news4_3d.xpm%"	Exec xrn
 +	"Trn%small.news2_3d.xpm%"	Exec xterm -e trn
 +	"Strn%small.news3_3d.xpm%"	Exec xterm -e strn
 +	"Tin%small.news4_3d.xpm%"	Exec xterm -e tin
 +	"Inn%small.news2_3d.xpm%"	Exec xterm -e inn
 +	"Slrn%small.news3_3d.xpm%"	Exec xterm -e slrn
 +	"NN%small.news4_3d.xpm%"	Exec nn

# end popup netnewspopup


###############################################################################
#
# netpopup
#
###############################################################################

              
AddToMenu netpopup "Connectivity"	Title
# +	"Netzdienste%small.lightning_3d.xpm%"	Popup netservicespopup
# +	"eMail%small.Mail.xpm%"	Popup netmailpopup
 +	"News%small.newsmast_3d.xpm%"	Popup netnewspopup
# +	"World Wide Web%small.w3_suse_3d.xpm%"	Popup netwwwpopup
# +	"Modem%small.phone4_3d.xpm%"	Popup netmodempopup
# +	"VT / BTX%small.hash_3d.xpm%"	Popup netvtpopup
# end popup netpopup


###############################################################################
#
# systempopup
#
###############################################################################

                
AddToMenu systempopup "System-Werkzeuge"	Title

 +	"Dateimanager%small.FileManager.xpm%"	Popup filemanpopup
# +	"Information%small.make_3d.xpm%"	Popup systeminfopopup
 +	"Netzwerk%small.network_3d.xpm%"	Popup netpopup
# +	"Emulatoren%small.network_3d.xpm%"	Popup emulatorpopup
# +	"Shells%small.Shell.xpm%"	Popup shellpopup
# +	"Uhren%small.clock_3d.xpm%"	Popup clockpopup
# +	"Taschenrechner%small.Calculator.xpm%"	Popup calculatorpopup
 +	"YaST%small.yast_suse_3d.xpm%"	Exec susewmif yast

# end popup systempopup


###############################################################################
#
# anyeditpopup
#
###############################################################################

        
AddToMenu anyeditpopup "Sonstige Editoren"	Title

 +	"Xresource Edit%small.editres_3d.xpm%"	Exec editres
   +	"Bitmap-Editor%small.palette3_3d.xpm%"	Exec bitmap
  
# end popup anyeditpopup


###############################################################################
#
# editorpopup
#
###############################################################################

      
AddToMenu editorpopup "Editoren"	Title

# +	"TextEditoren%small.TextEditor.xpm%"	Popup texteditpopup
 +	"Sonstige"	Popup anyeditpopup

# end popup editorpopup


###############################################################################
#
# texpopup
#
###############################################################################

           
AddToMenu texpopup "TeX"	Title

 +	"TeX Shell"	Exec ts
   +	"BibTeX View"	Exec bibview
  +	"LyX"	Exec lyx

# end popup texpopup


###############################################################################
#
# viewerpopup
#
###############################################################################

      
AddToMenu viewerpopup "Viewer"	Title

 +	"Ghostview%small.ghostbuster.xpm%"	Exec ghostview
 +	"Xdvi"	Exec xdvi

# end popup viewerpopup


###############################################################################
#
# textpopup
#
###############################################################################

      
AddToMenu textpopup "Textverarbeitung"	Title

 +	"TeX%small.TEX.xpm%"	Popup texpopup
 +	"Viewer%small.Viewer.xpm%"	Popup viewerpopup

# end popup textpopup


###############################################################################
#
# spreadpopup
#
###############################################################################

      
AddToMenu spreadpopup "Tabellenkalkulation"	Title

 +	"Shell SpreadSheet%small.spreadsheet_3d.xpm%"	Exec xterm -e sc
 +	"XSpread%small.spreadsheet2_3d.xpm%"	Exec xspread

# end popup spreadpopup


###############################################################################
#
# sciencepopup
#
###############################################################################

               
AddToMenu sciencepopup "Wissenschaft"	Title

 +	"XFractInt%small.Fractal.xpm%"	Exec xterm -e xfractint
     +	"RasMol%small.impossible_3d.xpm%"	Exec rasmol
    +	"XLife%small.ico2_3d.xpm%"	Exec xlife

# end popup sciencepopup


###############################################################################
#
# timepopup
#
###############################################################################

     
AddToMenu timepopup "Zeitplanung"	Title

 +	"Plan%small.timer_3d.xpm%"	Exec plan
 
# end popup timepopup


###############################################################################
#
# prodpopup
#
###############################################################################

          
AddToMenu prodpopup "Productivity"	Title

  +	"Textverarbeitung%small.font_edit_3d.xpm%"	Popup textpopup
 +	"Tabellenkalkulation%small.spreadsheet2_3d.xpm%"	Popup spreadpopup
 +	"Zeitplanung%small.crdfile_3d.xpm%"	Popup timepopup
 +	"Wissenschaft%small.lightbulb_3d.xpm%"	Popup sciencepopup

# end popup prodpopup


###############################################################################
#
# tclpopup
#
###############################################################################

                 
AddToMenu tclpopup "tcl / tk"	Title

 +	"tclsh"	Exec xterm -e tclsh
 +	"tclXsh"	Exec xterm -e wishx
 +	"tclhelp"	Exec tclhelp
 +	"wish"	Exec xterm -e wish
 +	"bltwish"	Exec xterm -e blt_wish
  +	"itclsh"	Exec xterm -e itclsh
 +	"itclwish"	Exec xterm -e itclwish
 +	"tixwish"	Exec xterm -e tixwish
 +	"Tk Remote Controller"	Exec /usr/X11R6/lib/tk/demos/rmt
 +	"Xf Tk-IF-Builder"	Exec xf

# end popup tclpopup


###############################################################################
#
# cpopup
#
###############################################################################

               
AddToMenu cpopup "C"	Title

 +	"gdb im xterm%small.ladybug_green_3d.xpm%"	Exec xterm -e gdb
 +	"XXgdb%small.ladybug_red_3d.xpm%"	Exec xxgdb
 +	"ddd%small.ladybug_blue_3d.xpm%"	Exec ddd
  +	"XWPE"	Exec xwpe
 +	"GCC Info-Seiten%small.gnuinfo_3d.xpm%"	Exec xterm -e info gccinfo
 +	"libc Info-Seiten%small.gnuinfo_3d.xpm%"	Exec xterm -e info libcinfo

# end popup cpopup


###############################################################################
#
# motifpopup
#
###############################################################################

      
AddToMenu guipopup "GUI"	Title

 +	"XForms"	Exec fdesign
  
# end popup guipopup


###############################################################################
#
# langspopup
#
###############################################################################

      

     

###############################################################################
#
# develpopup
#
###############################################################################

           
AddToMenu develpopup "Programmier-Tools"	Title

 +	"C%small.C.xpm%"	Popup cpopup
   +	"GUI"	Popup guipopup
 +	"Tcl / Tk"	Popup tclpopup
 
# end popup develpopup


###############################################################################
#
# mmviewerpopup
#
###############################################################################

         
AddToMenu mmviewerpopup "Viewer"	Title

 +	"Ghostview%small.ghostbuster.xpm%"	Exec ghostview
  +	"XV%small.xv.color.xpm%"	Exec xv
 +	"TGif%small.ImageProcessing2.xpm%"	Exec tgif

# end popup mmviewerpopup


###############################################################################
#
# graphicpopup
#
###############################################################################

                   
#AddToMenu graphicpopup "Graphik"	Title
#
# +	"Viewer"	Popup mmviewerpopup
# +	"XFig%small.Drawing2.xpm%"	Exec xfig
# +	"GIMP%small.Drawing.xpm%"	Exec gimp
#     +	""	Nop
# +	"XPaint%small.palette3_3d.xpm%"	Exec xpaint
# +	"ImageMagick%small.ImageProcessing.xpm%"	Exec xterm -iconic -e display
#  +	"XMgr"	Exec xmgr
# 
# end popup graphicpopup


###############################################################################
#
# helppopup
#
###############################################################################

                   
AddToMenu helppopup "Dokumentation"	Title

 +	"S.u.S.E. Hilfesystem%small.logo_suse_3d.xpm%"	Exec hilfe
 +	""	Nop
  +	"XInfo%small.gnuinfo_3d.xpm%"	Exec xinfo
 +	"XMan%small.manpage_green_3d.xpm%"	Exec xman
 +	"TkMan%small.manpage_blue_3d.xpm%"	Exec tkman
  +	""	Nop
 +	"Howto%small.question2_3d.xpm%"	Popup howtopopup
  +	"Bücher%small.books_3d.xpm%"	Popup booksdvipopup
 +	"Linux Documentation Project%small.book_edit_3d.xpm%"	Popup ldppopup

# end popup helppopup


###############################################################################
#
# xservicepopup
#
###############################################################################

     
AddToMenu xservicepopup "Grab and Dump"	Title

   +	"Multi Buffer"	Exec xcb
 +	"Xclipboard%small.clipboard_3d.xpm%"	Exec xclipboard
 +	"Xcutsel%small.knife_3d.xpm%"	Exec xcutsel

# end popup xservicepopup


###############################################################################
#
# wmpopup
#
###############################################################################

              
AddToMenu wmpopup "Fenstermanager"	Title

 +	"Module%small.install_3d.xpm%"	Popup modulepopup
 +	"Bildschirm-Hintergrund%small.Template.xpm%"	Popup backgroundpopup
 +	"Bildschirm-Lock%small.lock.xpm%"	Popup screenlockpopup
 +	"Bildschirm-Schoner%small.mickey_3d.xpm%"	Popup screensaverpopup
 +	"XServices%small.xlogo_suse_3d.xpm%"	Popup xservicepopup

# end popup wmpopup


###############################################################################
#
# gamesminespopup
#
###############################################################################

         
AddToMenu gamesminespopup "MineSweeper-Clones"	Title

 +	"XBombs%small.bomb_defuse_3d.xpm%"	Exec xbombs
   +	"XMine%small.dynamite2_3d.xpm%"	Exec xmine
 
# end popup gamesminespopup


###############################################################################
#
# gamescardspopup
#
###############################################################################

      
AddToMenu gamescardspopup "Kartenspiele"	Title

  +	"Xpat2"	Exec xpat2
 
# end popup gamescardspopup


###############################################################################
#
# gamespacmanpopup
#
###############################################################################

    

   

###############################################################################
#
# gamespuzzlepopup
#
###############################################################################

   

            

###############################################################################
#
# gamessolitaerpopup
#
###############################################################################

              
AddToMenu gamessolitaerpopup "Solitärspiele"	Title

 +	"MineSweeper-Clones"	Popup gamesminespopup
 +	"Kartenspiele%small.cards_3d.xpm%"	Popup gamescardspopup
       +	"XBoing"	Exec xboing

# end popup gamessolitaerpopup


###############################################################################
#
# gamesbillardpopup
#
###############################################################################

    
AddToMenu gamesbillardpopup "Billard"	Title

 +	"Snooker"	Exec flying -snooker
 +	"Pool-Billard"	Exec flying -pool
 +	"Karambolage"	Exec flying -cannon
 +	"Carrom"	Exec flying -carrom
 +	"Air-Hockey"	Exec flying -hockey
 +	"Curling"	Exec flying -curling

# end popup gamesbillardpopup


###############################################################################
#
# gamesboardpopup
#
###############################################################################

         
AddToMenu gamesboardpopup "Brettspiele"	Title

  +	"Schach%small.chess4_3d.xpm%"	Exec xboard
 +	"3D-Schach%small.xchess_3d.xpm%"	Exec 3Dc
 +	"XShogi"	Exec xshogi

# end popup gamesboardpopup


###############################################################################
#
# gamesnetpopup
#
###############################################################################

   

  

###############################################################################
#
# games1popup
#
###############################################################################

        
AddToMenu games1popup "Andere Spiele"	Title

  +	"Vier gewinnt"	Exec xvier
   
# end popup games1popup


###############################################################################
#
# games2popup
#
###############################################################################

              
AddToMenu games2popup "Noch mehr Spiele"	Title

   +	"XTron"	Exec xtron
 +	""	Nop
 +	"XHextris%small.tetris7_3d.xpm%"	Exec xhextris
 +	"Farb-XHextris%small.tetris7_3d.xpm%"	Exec cxhextris
 +	"XJewel"	Exec xjewel
 +	"XTetris%small.tetris7_3d.xpm%"	Exec xtetris

# end popup games2popup


###############################################################################
#
# gamesleisurepopup
#
###############################################################################

         
AddToMenu gamesleisurepopup "S.u.S.E. wünscht viel Spaß"	Title

   +	"XEyes%small.afraid_3d.xpm%"	Exec xeyes
   +	"XTeddy%small.teddy_3d.xpm%"	Exec xteddy
 
# end popup gamesleisurepopup


###############################################################################
#
# gamespopup
#
###############################################################################

               
AddToMenu gamespopup "Spiele"	Title

 +	"SolitärSpiele%small.balloon_red_3d.xpm%" Popup gamessolitaerpopup
 +	"Vergnüglichkeiten%small.lips_3d.xpm%"	Popup gamesleisurepopup
 +	"Billard%small.ball_3d.xpm%"	Popup gamesbillardpopup
 +	"Brettspiele%small.checkers_3d.xpm%"	Popup gamesboardpopup
 +	"Andere Spiele%small.face_smiley_3d.xpm%"	Popup games1popup
 +	"Noch mehr Spiele%small.face_happy_3d.xpm%"	Popup games2popup

# Spiele von mir:
 +      ""             Nop
 +      "unter 8bpp:"  Nop
 +      ""             Nop
 +	"Terroid"      Exec (cd /usr/local/games/terroid     ; terroid)
 +	"Quake"        Exec (cd /usr/local/games/quake       ; xquake)
 +      ""             Nop
 +      "unter 16bpp:" Nop
 +      ""             Nop
 +	"Abuse"  Exec (cd /usr/local/games/abuse; abuse.x11R6 -2 -size 640 400)
 +	"Galaxa"       Exec (cd /usr/local/games/galaxa      ; galaxa)
 +	"Koules"       Exec (cd /usr/local/games/koules      ; xkoules)
 +	"LinCity"      Exec (cd /usr/local/games/lincity     ; xlincity)
 +	"Maelstrom"    Exec (cd /usr/local/games/Maelstrom   ; Maelstrom )
 +	"MirrorMagic"  Exec (cd /usr/local/games/mirrormagic ; mirrormagic)
 +      "Rocks'n'Diamonds" Exec (cd /usr/local/games/rocksndiamonds ; rocksndiamonds)
 +      "XBlast"       Exec (cd /usr/local/games/xblast ; xterm -e xblast)
 +      "XBoing"       Exec (cd /usr/local/games/xboing ; xboing -sync -sound -speed 4)
 +      "XEvil"        Exec (cd /usr/local/games/xevil   ; xevil)
 +      "XKobo"        Exec (cd /usr/local/games/xkobo   ; xkobo -doublesize)
 +      "XGalaga"      Exec (cd /usr/local/games/xgalaga ; /usr/local/games/xgalaga/xgal -keyboard)
 +      "XSoldier"     Exec (cd /usr/local/games/xsoldier ; xsoldier)
 +	"XInsane"      Exec (cd /usr/local/games/Xinsane ; Xinsane)
 +	"Xmame"        Exec xmame-auswahl
 +	"XMris"        Exec (cd /usr/local/games/xmris ; xmris)

# end popup gamespopup


###############################################################################
#
# xess3demospopup
#
###############################################################################

    
AddToMenu xess3demospopup "Xess3-Demos"	Title

 +	"Connections"	Exec xess3 /usr/share/xess3/Connections.xs3
 +	"Examples"	Exec xess3 /usr/share/xess3/Examples.xs3
 +	"anova"	Exec xess3 /usr/share/xess3/anova.xs3
 +	"bars"	Exec xess3 /usr/share/xess3/bars.xs3
 +	"datafeed"	Exec xess3 /usr/share/xess3/datafeed.xs3
 +	"ecg"	Exec xess3 /usr/share/xess3/ecg.xs3
 +	"ecgdft"	Exec xess3 /usr/share/xess3/ecgdft.xs3
 +	"enhreq"	Exec xess3 /usr/share/xess3/enhreq.xs3
 +	"feedback"	Exec xess3 /usr/share/xess3/feedback.xs3
 +	"full_adder"	Exec xess3 /usr/share/xess3/full_adder.xs3
 +	"goalseek"	Exec xess3 /usr/share/xess3/goalseek.xs3
 +	"hi-lo"	Exec xess3 /usr/share/xess3/hi-lo.xs3
 +	"histogram"	Exec xess3 /usr/share/xess3/histogram.xs3
 +	"loancalc"	Exec xess3 /usr/share/xess3/loancalc.xs3
 +	"lsexample"	Exec xess3 /usr/share/xess3/lsexample.xs3
 +	"mexican"	Exec xess3 /usr/share/xess3/mexican.xs3
 +	"pie"	Exec xess3 /usr/share/xess3/pie.xs3
 +	"probrpt"	Exec xess3 /usr/share/xess3/probrpt.xs3
 +	"sens_demo"	Exec xess3 /usr/share/xess3/sens_demo.xs3
 +	"singraph"	Exec xess3 /usr/share/xess3/singraph.xs3
 +	"spline"	Exec xess3 /usr/share/xess3/spline.xs3

# end popup xess3demospopup


###############################################################################
#
# commercialprodpopup
#
###############################################################################

            
AddToMenu commercialprodpopup "Productivity"	Title

    +	"WingZ"	Exec wingz
 +	"WingZ-TestFlight"	Exec wingz /usr/Wingz/TestFlight/TestFlgt.wkz
  +	"Xess3%small.spreadsheet2_3d.xpm%"	Exec xess3
 +	"Xess3-Demos"	Popup xess3demospopup

# end popup commercialprodpopup


###############################################################################
#
# commercialtoolspopup
#
###############################################################################

      
AddToMenu commercialtoolspopup "Werkzeuge"	Title

 +	"Mars Editor%small.edit_doc_3d.xpm%"	Exec xterm -e e
 +	"Unix Commander%small.FileManager.xpm%"	Exec xterm -e uc

# end popup commercialtoolspopup


###############################################################################
#
# commercialpopup
#
###############################################################################

         
AddToMenu commercialpopup "Kommerzielles"	Title

  +	"Productivity%small.teaching2_3d.xpm%"	Popup commercialprodpopup
   +	"Werkzeuge%small.tools2_3d.xpm%"	Popup commercialtoolspopup

# end popup commercialpopup


###############################################################################
#
# allpopup
#
###############################################################################

                    
AddToMenu allpopup "Programme"	Title
 +      "kleines XTerm%small.Terminal.xpm"      Exec xterm -ls
 +      "langes XTerm%small.Terminal.xpm"       Exec xterm -ls -geometry 80x56+228-1
 +      "XEmacs%small.emacs_3d.xpm"             Exec xemacs
 +      "Netscape%small.netscape.color.xpm"     Exec netscape
 +      "ps -xf"                                Exec xterm -ls -geometry 168x56+0+0 -e sh -c "ps -xf;read" &
 +      "XEmacs-Refcard"                        Exec xdvi /httpd/htdocs/refcard.dvi
 +      "XCalc"                                 Exec xcalc
 +      "DosEmu"			    Exec xdos -geometry 800x500+176+73
# +      "StarWriter"			  Exec swriter
# +      "StarWriter stoppen"	     Exec /sbin/killproc -STOP `which swriter3`
# +      "StarWriter starten"	     Exec /sbin/killproc -CONT `which swriter3`
 +      "StarOffice"			  	Exec soffice
 +      ""                                      Nop
 +      "Cheap-Call"			        Exec cheap-call
 +      "Tarif"				        Exec wine.980628 /usr/local/bin/win/t-arif96.exe
 +      ""                                      Nop
 +      "Gimp"                                  Exec gimp
 +      ""                                      Nop
 +	"System%small.sysinfo_3d.xpm%"	        Popup systempopup
 +	"Programmieren%small.program_3d.xpm%"	Popup develpopup
 +	"Editoren%small.TextEditor.xpm%"	Popup editorpopup
 +	"Productivity%small.edit_doc_3d.xpm%"	Popup prodpopup
 +	"Dokumentation%small.helpme_3d.xpm%"	Popup helppopup
 +	"Fenstermanager%small.window3d.xpm%"	Popup wmpopup
 +	"Spiele%small.Game.xpm%"	Popup gamespopup
 +	"Kommerzielles%small.gold_spiral_3d.xpm%"	Popup commercialpopup

# end popup allpopup

###############################################################################
#                                                                             #
#   menus und helper functions for the button module                          #
#                                                                             #
###############################################################################


############################################################
#
# barsusepopup
#
############################################################

    
AddToMenu barsusepopup "S.u.S.E."	Title
 +	"YaST*yast_suse_3d.xpm*"	Exec susewmif yast
 +	"Hilfe*question2_3d.xpm*"	Exec xterm -iconic -e hilfe

# end popup barsusepopup


########################################
#
#  bargraphicpopup    
#
########################################

               
AddToMenu bargraphicpopup "Graphik"	Title
 +	"XFig*Drawing2.xpm*"	Exec xfig
 +	"Gimp*Drawing.xpm*"	Exec gimp
 +	"XV*xv.color.xpm*"	Exec xv
 +	"XPaint*palette3_3d.xpm*"	Exec xpaint
 +	"TGif*ImageProcessing2.xpm*"	Exec tgif
 +	"ImageMagick*ImageProcessing.xpm*"	Exec xterm -iconic -e display
  

# end popup bargraphicpopup


############################################################
#
# bartoolspopup
#
############################################################

              
AddToMenu bartoolspopup "Tools"	Title
 
# take knews, if not trn, if not, nothing
 +	"News*News.xpm*"	Function NewsFunc
# user installed software
 +	"TkDesk*FileManager.xpm*"	Exec tkdesk
 +	"Plan*cal_3d.xpm*"	Exec plan
 +	"TkMan*library_3d.xpm*"	Exec tkman
 +	"Xman*xman3d.xpm*"	Exec xman
 
 +	""	Nop
 +	"Netscape*netscape.color.xpm*"	Function NSFunc
 
 
  

# end popup bartoolspopup


############################################################
#
# barshellpopup
#
############################################################

      
AddToMenu barshellpopup "Shells"	Title
 +	"Shell im XTerm*Terminal.xpm*"	Exec xterm -ls
 +	"Root-Shell*Diavolo.xpm*"	Function RootShell

# end popup barshellpopup


############################################################
#
# helper function so popupups will stay posted
#
############################################################

    
AddToFunc barthiswmpopupfunc
 +	"I"	Popup thiswmpopup

# end function barthiswmpopupfunc

    
AddToFunc barsusepopupfunc
 +	"I"	Popup barsusepopup

# end function barsusepopupfunc

    
AddToFunc bargraphicpopupfunc
 +	"I"	Popup bargraphicpopup

# end function bargraphicpopupfunc

    
AddToFunc bartoolspopupfunc
 +	"I"	Popup bartoolspopup

# end function bartoolspopupfunc

    
AddToFunc barshellpopupfunc
 +	"I"	Popup barshellpopup

# end function barshellpopupfunc

    
AddToFunc MenuOrIconify
 +	"Click"	Popup WindowOps
 +	"Motion"	Raise 
 +	"Motion"	Move 
 +	"DoubleClick"	Iconify 

# end function MenuOrIconify


###############################################################################
#                                                                             #
#   style options for modules and programs                                    #
#                                                                             #
###############################################################################

#
# General style options for the fvwm modules
#

Style  "FvwmPager"	NoTitle, Sticky, WindowListSkip
Style  "FvwmButtons"	NoHandles, NoTitle, Sticky, WindowListSkip
Style  "FvwmBanner"	NoTitle, Sticky, StaysOnTop, WindowListSkip
Style  "FvwmWinList"	NoTitle, WindowListSkip

Style  "xterm"	   	Icon Terminal.xpm
Style  "xosview"     	NoTitle, Sticky
Style  "Control"     	SmartPlacement
Style  "xclock"	     	BackColor Grey,NoHandles,NoTitle,Sticky,WindowListSkip
Style  "xload"       	NoHandles, NoTitle, Sticky, WindowListSkip
Style  "DOS in a BOX"   Icon dosemu.xpm
Style  "momon"          NoTitle, NoHandles, Sticky, WindowListSkip
Style  "Verbindungen"   NoTitle, NoHandles, Sticky, WindowListSkip
Style  "mxaudio"       	NoHandles, NoTitle, WindowListSkip
Style  "xmms"           NoHandles, NoTitle, WindowListSkip


###############################################################################
#                                                                             #
#   style options for modules and programs in fvwm2                           #
#                                                                             #
###############################################################################

#
# for all windows and icons
#
Style	"*"		BackColor Grey
Style	"*"		ForeColor DimGrey
Style	"*"		SloppyFocus

Style	"*"		DecorateTransient
# Gibt an, in welchem Bereich die Icons plaziert werden:
Style	"*"		IconBox +0 +0 +540 +75
Style	"*"		StickyIcon
Style	"*"		SmartPlacement, ActivePlacement
# Style	"*"		SmartPlacement
# Style	"*"		RandomPlacement
Style	"*"		NoPPosition

#
# General style options for the fvwm modules
#

Style	"FvwmWinList"	NakedTransient

#
# others
#

Style	"xosview"	UsePPosition


###############################################################################
#                                                                             #
#   MWM emulation                                                             #
#                                                                             #
###############################################################################


#
# This is the original comment from .fvwm2rc
#
# My feeling is that everyone should use MWMDecorHints and MWMFunctionHints,
# since some applications depend on having the window manager respect them

# MWMFunction hints parses the function information in the MOTIF_WM_HINTS
# property, and prohibits use of these functions on the window. Appropriate
# portions of the window decorations are removed.

# MWM is kinda picky about what can be done to transients, and it was keeping
# me from iconifying some windows that I like to iconify, so heres an
# over-ride that will allow me to do the operation, even tough the menu
# item is shaded out.

# MWMDecor hints parses the decoration information in the MOTIF_WM_HINTS
# property, and removes these decoratons from the window. This does not affect
# the functions that can be performed via the menus.

# mwm-style border reliefs (less deep than default fvwm) ?
# Maximize button does mwm-inversion thingy





# Style "*" MWMBorder 
# Style "*" MWMDecor
# Style "*" HintOverride
# Style "*" MWMFunctions
# Style "*" MWMButtons 




###############################################################################
#                                                                             #
#   pager                                                                     #
#                                                                             #
###############################################################################

*FvwmPagerRows 		1
*FvwmPagerColumns 	1
# *FvwmPagerGeometry	-0+0
*FvwmPagerGeometry	194x37+314+0
*FvwmPagerFore		Black
*FvwmPagerBack		grey67
*FvwmPagerHilight	grey50
*FvwmPagerFont		none
*FvwmPagerSmallFont	-misc-fixed-medium-r-normal--7-70-75-75-c-50-iso8859-1


###############################################################################
#                                                                             #
#   window identification module                                              #
#                                                                             #
###############################################################################

#
# Just choose colors and a fonts
#
*FvwmIdentBack	MidnightBlue
*FvwmIdentFore	Yellow
*FvwmIdentFont	-misc-fixed-medium-r-normal--13-120-75-75-c-80-iso8859-1


###############################################################################
#                                                                             #
#   no clutter module                                                         #
#                                                                             #
###############################################################################

#
# 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
*NoCLutterModule 172800 	Destroy


###############################################################################
#                                                                             #
#   window list module                                                        #
#                                                                             #
###############################################################################

*FvwmWinListBack		Grey
*FvwmWinListFore		Black
*FvwmWinListFocusBack	Black
*FvwmWinListFocusFore	Grey
*FvwmWinListIconBack	LightGrey
*FvwmWinListIconFore	DimGrey
*FvwmWinListFont		-misc-fixed-medium-r-normal--10-100-75-75-c-60-iso8859-1
*FvwmWinListAction		Click1 Iconify -1,Focus
*FvwmWinListAction		Click2 Iconify
*FvwmWinListAction		Click3 Module "FvwmIdent" FvwmIdent
*FvwmWinListGeometry	+0-1
*FvwmWinListUseSkipList
*FvwmWinListUseIconNames


###############################################################################
#                                                                             #
#   key bindings                                                              #
#                                                                             #
###############################################################################

# Shift-Control-Left bewegt Maus-Cursor nach links, usw...
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

#
# window ops
#
Key	F1	A	M	Menu	workpopup
Key	F2	A	M	WindowList
Key	F3	A	M	Menu	allpopup
Key	F4	A	M	Iconify
Key	F5	A	M	Move
Key	F6	A	M	Resize
Key	F7	A	M	Raise
Key	F8	A	M	Lower
# Key	F9	A	M	Delete
# Key	F10	A	M	Destroy


Key	F11	A	M	Next [*] focus
Key	F12	A	M	Prev [*] focus
#Key	Tab	A	4	Next [*] focus
#Key	Tab	A	S4	Prev [*] focus

# Mit Alt-Tab bzw. Shift-Alt-Tab die Fenster umschalten
#Key	Tab	A	M	Next [*] focus
#Key	Tab	A	SM	Prev [*] focus
# Besser:
#Key Tab         A       M       CirculateDown
#Key Tab         A       SM      CirculateUp
# ?
#Key Tab         A       M       Next [*] FlipFocus
#Key Tab         A       SM      Prev [*] FlipFocus
Key Tab         A       M       Next [*] FlipFocus
Key Tab         A       SM      Prev [*] FlipFocus
# Key Tab    A    S    RaiseLower

# Short-Cuts für Programme
Key	x	A	CM	Next [xterm] focus
Key	e	A	CM	Next [emacs] focus
Key	n	A	CM	Next [Netscape] focus
Key	d	A	CM	Next [DOS in a BOX] focus

Key	space	A	SM	Menu	WindowOps
Key	Shift_R	A	5	Menu	WindowOps
Key	F4	A	SM	Stick
Key	F5	A	SM	Refresh

Key	BackSpace	A	SM	Function "QuitSave"
#
# button bar popup menus
#

Key	s	A	SM	Function "barsusepopupfunc"
Key	g	A	SM	Function "bargraphicpopupfunc"
Key	t	A	SM	Function "bartoolspopupfunc"
Key	l	A	SM	Function "barshellpopupfunc"

Key	m	A	SM	Function "MailFunc"


############################################################
#                                                          #
#   key bindings                                           #
#                                                          #
############################################################

Key	F1	A	SM	Restart fvwm2

###############################################################################
#                                                                             #
#   mouse bindings for fvwm2 based wms                                        #
#                                                                             #
###############################################################################

#
# just to remember the syntax for the mouse bindings:
# 
# Mouse  Button   Context  Modifiers Function
#        1,2,3,0  IFRSTW   CSMA      anything
#
# context:      I       icon
#                       R       root window
#                       F       frame (the corner handles)
#                       S       sides (top, sides, bottom)
#                       T       title bar
#                       W       application window
#


#
# root menu bindings for fvwm2 and fvwm95
#
Mouse	1	R	N	Menu	workpopup	Nop
Mouse	2	R	N	Module FvwmWinList Transient
Mouse	3	R	N	Menu	allpopup	Nop
Mouse	2	FST	N	Menu	WindowOps	Nop

Mouse	1	1	N	Menu	WindowOps	Delete
Mouse	2	1	N	Menu	WindowOps	Destroy
Mouse	3	1	N	Menu	WindowOps	Nop

#
# what's happening to the windows?
#

#
# resize with all handles! 
#
Mouse	1	SF	N	Function "ResizeOrRaise"

#
# moving only by dragging on the title 
#
Mouse	1	T	N	Function "MoveOrRaise"

#
# clicking on  the icon
#
Mouse	1	I	N	Function "MenuOrIconify"

Mouse	2	I	N	Iconify

Mouse	3	TSIF	N	RaiseLower
###############################################################################
#                                                                             #
#   mouse bindings for fvwm2                                                  #
#                                                                             #
###############################################################################

#
# the two buttons minimize and maximize
#
Mouse	1	2	N	Maximize 0 100
Mouse	2	2	N	Maximize 100 100
Mouse	3	2	N	Maximize 100 0
Mouse	0	4	N	Iconify
Mouse	1	3	N	Stick

