#
# $XConsortium: system.twmrc,v 1.8 91/04/23 21:10:58 gildea Exp $
# 
# Default twm configuration file; needs to be kept small to conserve string
# space in systems whose compilers don't handle medium-sized strings.
#
# Sites should tailor this file, providing any extra title buttons, menus, etc.
# that may be appropriate for their environment.  For example, if most of the
# users were accustomed to uwm, the defaults could be set up not to decorate
# any windows and to use meta-keys.
#

NoGrabServer
RestartPreviousState
DecorateTransients
TitleFont "-adobe-helvetica-bold-r-normal--*-120-*-*-*-*-*-*"
ResizeFont "-adobe-helvetica-bold-r-normal--*-120-*-*-*-*-*-*"
MenuFont "-adobe-helvetica-bold-r-normal--*-120-*-*-*-*-*-*"
IconFont "-adobe-helvetica-bold-r-normal--*-100-*-*-*-*-*-*"
IconManagerFont "-adobe-helvetica-bold-r-normal--*-100-*-*-*"
#ClientBorderWidth
NoTitle
{
	"xclock"
	"oclock"
	"xchrom"
	"perf"
	"xsysinfo"
	"xman"
	"xbiff"
}

Color
{
    BorderColor "slategrey"
    DefaultBackground "maroon"
    DefaultForeground "gray85"
    TitleBackground "maroon"
    TitleForeground "gray85"
    MenuBackground "maroon"
    MenuForeground "gray85"
    MenuTitleBackground "gray70"
    MenuTitleForeground "maroon"
    IconBackground "maroon"
    IconForeground "gray85"
    IconBorderColor "gray85"
    IconManagerBackground "maroon"
    IconManagerForeground "gray85"
}

#
# Define some useful functions for motion-based actions.
#
MoveDelta 3
Function "move-or-lower" { f.move f.deltastop f.lower }
Function "move-or-raise" { f.move f.deltastop f.raise }
Function "move-or-iconify" { f.move f.deltastop f.iconify }

#
# Set some useful bindings.  Sort of uwm-ish, sort of simple-button-ish
#
Button3 = : root : f.menu "Schreibtisch"

Button1 = m : window|icon : f.function "move-or-lower"
Button2 = m : window|icon : f.iconify
Button3 = m : window|icon : f.function "move-or-raise"

Button1 = : title : f.function "move-or-raise"
Button2 = : title : f.raiselower

Button1 = : icon : f.function "move-or-iconify"
Button2 = : icon : f.iconify

Button1 = : iconmgr : f.iconify
Button2 = : iconmgr : f.iconify

#
# And a menus with the usual things
#

menu "Hilfsprogramme" 		{
    	"Hilfsprogramme "       f.title
    	"Xsysinfo "             f.exec "/usr/bin/X11/xsysinfo &"
	"Xperfmeter "           f.exec "/usr/openwin/bin/perfmeter &"
	"Xcolormap "            f.exec "/usr/bin/X11/xcolormap &"
	"Xclipboard "           f.exec "/usr/bin/X11/xclipboard &"
	"Xman "                 f.exec "/usr/bin/X11/xman &"
	"Xcalc "                f.exec "/usr/bin/X11/xcalc &"
	"Xspread "              f.exec "/usr/bin/X11/xspread &"
	"Xconsole "             f.exec "/usr/bin/X11/xconsole &"
	"Xmag "                 f.exec "/usr/bin/X11/xmag &"
	"Xbiff "                f.exec "/usr/bin/X11/xbiff &"
	"Xlogo "                f.exec "/usr/bin/X11/xlogo &"
	"Xeyes "                f.exec "/usr/bin/X11/xeyes &"
	"Xmem "                 f.exec "/usr/bin/X11/xmem &"
	"Oclock "               f.exec "/usr/bin/X11/oclock &"
	"Xclock"                f.exec "/usr/bin/X11/xclock &"
	"Chroma Uhr "		f.exec "/usr/bin/X11/xchrom &"
				}
	
menu "Einstellungen" 		{
        "Einstellungen"         f.title
        " "             	f.nop
	"Mausverhalten: "	f.nop
        "schnelle Bewegung "   	f.exec  "xset m 4 2&"
        "normale Bewegung "    	f.exec  "xset m 2 1&"
        "langsame Bewegung "    f.exec  "xset m 1 1&"
        ""                      f.nop
	"Systemlautsprecher: "	f.nop
        "langer Ton "      	f.exec  "xset b 100&"
        "kurzer Ton "    	f.exec  "xset b 50&"
        "ausschalten "       	f.exec  "xset b off&"
        ""                      f.nop
	"Bildschirmschoner: "	f.nop
	"Grundeinstellung "	f.exec 	"xset s default&"
	"Einschalten "		f.exec	"xset s on &"
	"Ausschalten "		f.exec 	"xset s off &"
	"X11 Muster "		f.exec 	"xset s noblank &"
	"Leerer Hintergrund "	f.exec	"xset s blank &"
				}

menu "Fenster" 			{
    	"Fenster "     		f.title
	" " 			f.nop
	"Oeffnen "		f.raise
    	"Verschieben "          f.move
    	"Groesse veraendern "   f.resize
    	"Schliessen "  		f.delete
    	"Loeschen "  		f.destroy
    	"Vordergrund "          f.raise
    	"Hintergrund "          f.lower
    	"Informationen "        f.identify
    	"Symbol "          	f.iconify
	"Auffrischen "		f.refresh
    	"Fokussieren "          f.focus
    	"Fokus aufheben "       f.unfocus
				}

menu "Schreibtisch" 		{
	"Schreibtisch "		f.title
	"Shells "		f.menu 		"Shells"
	"Texteditoren "		f.menu 		"Texteditoren"
	"Applikationen "	f.menu 		"Applikationen"
	"Hilfsprogramme "	f.menu 		"Hilfsprogramme"
	"Grafik "		f.menu 		"Grafik"
	"Spiele "		f.menu 		"Spiele"
	"Demos "		f.menu 		"Demos"
	"Fenster "		f.menu 		"Fenster"
	""			f.nop
	"Einstellungen... "	f.menu 		"Einstellungen"
	""			f.nop
	"Bildschirm schonen "	f.menu 		"Savescreen"
	"Bildschirm sperren "	f.menu		"Lockscreen"
	""			f.nop
	"Zurueck zum fvwm "	f.restart
	"X11 Verlassen "	f.quit
				}

menu "Shells" 				{
	"Shells"			f.title
	"Xterm (7x14 font) "		f.exec "/usr/bin/X11/xterm -sb -sl 500 -j -ls -fn 7x14 -bg LightSteelBlue &"
	"Color Xterm (7x14 font) "	f.exec "/usr/bin/X11/color_xterm -sb -sl 500 -j -ls -fn 7x14 -bg LightSteelBlue &"
	"Rxvt (VT100 Emulator) "	f.exec "/usr/bin/X11/rxvt -font 7x14 -fb 7x14 -ls -bg LightSteelBlue &"
 	"Big tcsh (120x60) "		f.exec "/usr/bin/X11/xterm -sb -sl 500 -j -ls -fn lucidasanstypewriter-12 -bg LightSteelBlue -geometry 120x60 -e '/bin/tcsh' &"
					}

menu "Texteditoren" 		{
	"Texteditoren "		f.title
	"Emacs "                f.exec "/usr/bin/emacs &"
	"Jove "                 f.exec "xterm -fn 7x14 -e /usr/bin/jove &"
	"Xedit "                f.exec "/usr/bin/X11/xedit &"
	"Asedit "               f.exec "/usr/bin/X11/asedit &"
				}

menu "Grafik" 			{
	"Grafik "		f.title
	"idraw "                f.exec "/usr/bin/X11/idraw &"
	"xv 3.00 "              f.exec "/usr/bin/X11/xv &"
	"Image Magic "          f.exec "/usr/local/bin/display &"
	"X Grafik Demo "        f.exec "/usr/bin/X11/xgc &"
				}

menu "Demos" 					{
	"Demos "				f.title
	"Xteddy (einfach knuddelig) "           f.exec "/usr/local/bin/xteddy &"
	"Ico (springendes Polygon) "            f.exec "/usr/bin/X11/ico &"
	"Maze (X Labyrinthdemo)  "              f.exec "/usr/bin/X11/maze &"
	"Xgas (Gasteilchensimulation) "         f.exec "/usr/bin/X11/xgas &"
	"Xroach (nette Krabbeltierchen) "       f.exec "/usr/bin/X11/xroach &"
	"Xmelt (Und Tschuess...) "              f.exec "/usr/bin/X11/xmelt &"
	"MPEG-Player "				f.menu "MPEG-Player"
	"Xanimation "				f.menu "Xanimation"
						}

menu "Applikationen" 			{
	"Applikationen "		f.title
	"treebrowser Filebrowser "      f.exec "/usr/bin/X11/tb &"
	"viewres Klassenbrowser "       f.exec "/usr/bin/X11/viewres &"
	"ghostview Postscriptviewer "   f.exec "/usr/bin/X11/ghostview &"
	"Xfilemanager Dateimanager "    f.exec "/usr/bin/X11/xfilemanager &"
	"Xfm 1.2 Dateimanager "         f.exec "/usr/bin/X11/xfm &"
	"Mosaic WWW-Browser "           f.exec "/usr/bin/X11/Mosaic &"
	"Xarchie Archiv-Browser "       f.exec "/usr/bin/X11/xarchie &"
	"Xgopher Archiv-Browser "       f.exec "/usr/bin/X11/xgopher &"
	"Seyon Terminalprogramm "       f.exec "/usr/bin/X11/seyon &"
	"Xftp grafisches FTP-Tool "     f.exec "/usr/bin/X11/xftp &"
	"Xcept Bildschirmtext-Tool "    f.exec "/usr/bin/X11/xcept &"
	"Xxgdb GNU Debugger "           f.exec "/usr/bin/X11/xxgdb &"
	"Workman CD-Player "            f.exec "/usr/openwin/bin/workman -c /dev/mcd0 &"
					}

menu "Spiele" 					{
    	"Spiele"   				f.title
    	"XBoing (Magic Tiles)"                  f.exec "/usr/bin/X11/xboing &"
    	"Boulder Dash fuer X"                   f.exec "/usr/bin/X11/xbd &"
	"Chomp (Pac Man) "                      f.exec "/usr/bin/X11/xchomp &"
	"Spider (kleine Karten) "               f.exec "/usr/bin/X11/spider &"
	"Spider (grosse Karten) "               f.exec "/usr/bin/X11/Spider &"
	"Puzzle (Schiebepuzzle) "               f.exec "/usr/bin/X11/puzzle &"
	"GNU Chess (mit Xboard)"                f.exec "xboard &"
	"Xtetris (Tetris!) "                    f.exec "/usr/bin/X11/xtetris &"
	"Xlander (Mondlandung) "                f.exec "/usr/bin/X11/xlander &"
	"Xmahjongg (Mahjongg!) "                f.exec "/usr/bin/X11/xmahjongg &"
	"Xvier (Vier gewinnt) "                 f.exec "/usr/bin/X11/xvier &"
	"Xpilots (Spiel-Server starten) "       f.exec "/usr/bin/X11/xpilots &" 
	"Xpilot (Am Spiel teilnehmen) "         f.exec "/usr/bin/X11/xpilot -join -name larry -display `cat /conf/net/host`:0.0 127.0.0.1 &"
						}

menu "MPEG-Player" 	{
    	"MPEG-Player "  f.title
    	"Fractals "     f.exec "mpeg_play -loop ~/data/mpeg/bldvxing.mpg &"
    	"Fractals 3D "  f.exec "mpeg_play -loop ~/data/mpeg/iicm.mpg &"
    	"Canyon "       f.exec "mpeg_play -loop ~/data/mpeg/canyon.mpg &"
    	"Star Trek "    f.exec "mpeg_play -loop ~/data/mpeg/startrek.mpg &"
    			}

menu "Xanimation" 	{
    "Xanimation "   	f.title
    "Wuerfel "          f.exec "xanim ~/data/fli/morphbox.fli &"
    "Cyrusship "        f.exec "xanim ~/data/fli/cyruship.fli &"
    "Erde "          	f.exec "xanim ~/data/fli/globe_go.fli &"
    "1988 "          	f.exec "xanim ~/data/fli/1988eg4.fli &"
    "Space "          	f.exec "xanim ~/data/fli/mesh.fli &"
    "AdMod "          	f.exec "xanim ~/data/fli/admod.fli &"
    "Auto "          	f.exec "xanim ~/data/fli/blind.fli &"
    "Skulptur "         f.exec "xanim ~/data/fli/brianha.fli &"
    "CD-ROM "          	f.exec "xanim ~/data/fli/cdrom.fli &"
    			}


menu "Savescreen"		{
	"Bildschirm schonen " 	f.title
	"Random"        	f.exec "/usr/bin/X11/xlock -nolock -nice 0 -mode random &"
	"Hop"           	f.exec "/usr/bin/X11/xlock -nolock -nice 0 -mode hop &"
	"Life"          	f.exec "/usr/bin/X11/xlock -nolock -nice 0 -mode life &"
	"Qix"           	f.exec "/usr/bin/X11/xlock -nolock -nice 0 -mode qix &"
	"Image"         	f.exec "/usr/bin/X11/xlock -nolock -nice 0 -mode image &"
	"Swarm"         	f.exec "/usr/bin/X11/xlock -nolock -nice 0 -mode swarm &"
	"Rotor"         	f.exec "/usr/bin/X11/xlock -nolock -nice 0 -mode rotor &"
	"Pyro"          	f.exec "/usr/bin/X11/xlock -nolock -nice 0 -mode pyro &"
	"Flame"         	f.exec "/usr/bin/X11/xlock -nolock -nice 0 -mode flame &"
	"Worm"          	f.exec "/usr/bin/X11/xlock -nolock -nice 0 -mode worm &"
	"Blank"         	f.exec "/usr/bin/X11/xlock -nolock -nice 0 -mode blank &"
				}

menu "Lockscreen"		{
	"Bildschirm sperren " 	f.title
	"Random"        	f.exec "/usr/bin/X11/xlock -nice 0 -mode random &"
	"Hop"           	f.exec "/usr/bin/X11/xlock -nice 0 -mode hop &"
	"Life"          	f.exec "/usr/bin/X11/xlock -nice 0 -mode life &"
	"Qix"           	f.exec "/usr/bin/X11/xlock -nice 0 -mode qix &"
	"Image"         	f.exec "/usr/bin/X11/xlock -nice 0 -mode image &"
	"Swarm"         	f.exec "/usr/bin/X11/xlock -nice 0 -mode swarm &"
	"Rotor"         	f.exec "/usr/bin/X11/xlock -nice 0 -mode rotor &"
	"Pyro"          	f.exec "/usr/bin/X11/xlock -nice 0 -mode pyro &"
	"Flame"         	f.exec "/usr/bin/X11/xlock -nice 0 -mode flame &"
	"Worm"          	f.exec "/usr/bin/X11/xlock -nice 0 -mode worm &"
	"Blank"         	f.exec "/usr/bin/X11/xlock -nice 0 -mode blank &"
				}



