# digicons Linux Esprit fvwm # # #Hack fuer Mosaic ?!: Lenience # # Unfortunately, order does matter in this file # The correct order for inserting configurations is: # 1. Colors # 2. Assorted configuration paramters such as ClickToFocus, or MWMBorders # 3. Path setup (ModulePath, PixmapPath, IconPath) # 4. Style settings, including the default style Style "*" ... # 5. InitFunction and ResetFunction definitions. # 6. Other Functions. Functions cannot be forward referenced from # other functions, but they can be backward referenced. # 7. Menus definitions. Same caveats about forward referencing # 8. Key and Mouse Bindings. # 9. Module options. # The order of steps 5, 6, and 7 is not critical, as long as there are # no forward references to functions or menus. # If you get it wrong, the most common problem is that color or font settings # are ignored ########################################################################### # set up the colors # # OK some people like bright clear colors on their window decorations. # These people, I guess would mostly be from nice sunny/good weather places # line California. # StdForeColor Black StdBackColor LightSkyBlue HiForeColor yellow HiBackColor indian red #PagerBackColor Black #PagerForeColor orchid StickyForeColor Black # StickyBackColor #60c0a0 # Menu colors MenuForeColor Black MenuBackColor grey MenuStippleColor SlateGrey ############################################################################ # Now the fonts - one for menus, another for window titles, another for icons Font -adobe-helvetica-medium-r-*-*-12-*-*-*-*-*-*-* # Font -*-times-medium-i-*-*-*-120-*-*-*-*-*-* WindowFont -adobe-helvetica-bold-r-*-*-12-*-*-*-*-*-*-* #IconFont -adobe-helvetica-medium-r-*-*-11-*-*-*-*-*-*-* IconFont fixed ########################################################################### # Set up the major operating modes # ######################## FOCUS STUFF ############################## # Set windows to auto-raise after 750 milliseconds if you like it. # Autoraise can sometimes obscure pop-up windows. Performance is now # similar to olvwm's auto-raise feature. # AutoRaise 1000 # Normally, we'll be in focus-follows mouse mode, but uncomment this # for mwm-style click-to-focus #ClickToFocus ######################## ICON STUFF ############################## # Auto Place Icons is a nice feature.... # This creates two icon boxes, one on the left side, then one on the # bottom. Leaves room in the upper left for my clock and xbiff, # room on the bottom for the Pager. #IconBox -150 90 -5 -140 #IconBox 5 -140 -140 -5 IconBox -70 1 -1 -140 # If you uncomment this, and make sure that the WindowList is bound to # something, it works pretty much like an icon manager. #SuppressIcons # StubbornIcons makes icons de-iconify into their original position on the # desktop, instead of on the current page. #StubbornIcons # With AutoPlacement, icons will normally place themselves underneath active # windows. This option changes that. #StubbornIconPlacement # If you want ALL you icons to follow you around the desktop (Sticky), try # this StickyIcons SuppressIcons ######################## MWM EMULATION ####################### # # 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. MWMFunctionHints # 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 here's an # over-ride that will allow me to do the operation, even tough the menu # item is shaded out. MWMHintOverride # 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. MWMDecorHints # These are affect minor aspects for the look-and-feel. # Sub-menus placement mwm-style? MWMMenus # mwm-style border reliefs (less deep than default fvwm) ? MWMBorders # Maximize button does mwm-inversion thingy MWMButtons ######################## MISCELLANEOUS STUFF ####################### # If you don't like the default 150 msec click delay for the complex functions # change this and uncomment it. #ClickTime 150 # OpaqueMove has a number (N) attached to it (default 5). # if the window occupies less than N% of the screen, # then opaque move is used. 0 <= N <= 100 # OpaqueMove 100 # flip by whole pages on the edge of the screen. EdgeScroll 100 100 # A modest delay before flipping pages seems to be nice... # I thresh in a 50 pixel Move-resistance too, just so people # can try it out. EdgeResistance 250 50 ######################## WINDOW PLACEMENT ####################### # RandomPlacement prevents user interaction while placing windows: # RandomPlacement # SmartPlacement makes new windows pop-up in blank regions of screen # if possible, or falls back to random or interactive placement. SmartPlacement # With SmartPlacement, windows will normally place themselves over icons. # Uncomment this to change that. #StubbornPlacement # NoPPosition instructs fvwm to ignore the PPosition field in window # geometry hints. Emacs annoyingly sets PPosition to (0,0)! NoPPosition ######################## DECORATIONS ####################### # If you want decorated transient windows, uncomment this: #DecorateTransients ########################################################################### # Set up the virtual desktop and pager #set the desk top size in units of physical screen size DeskTopSize 2x2 # and the reduction scale used for the panner/pager DeskTopScale 32 ########################################################################## # Module path and paths to the icons # # ModulePath is a colon-separated list, just like regular unix PATH ModulePath /usr/X11/lib/X11/fvwm PixmapPath /usr/X11/include/X11/pixmaps/ IconPath /usr/X11/include/X11/bitmaps/ ############################################################################ # Set the decoration styles and window options # Order is important!!!! # If compatible styles are set for a single window in multiple Style # commands, then the styles are ORed together. If conflicting styles # are set, the last one specified is used. # These commands should command before any menus or functions are defined, # and before the internal pager is started. # change the default width. Style "*" BorderWidth 5, HandleWidth 5, Color Black/#60a0c0,Icon unknown1.xpm Style "Fvwm*" NoTitle, NoHandles, Sticky, WindowListSkip,BorderWidth 0 Style "Fvwm Pager" BorderWidth 3 Style "FvwmPager" BorderWidth 3 Style "FvwmBanner" StaysOnTop, BorderWidth 3 Style "FvwmIconBox" BorderWidth 3 Style "FvwmFileMgr" Title, Handles, Icon folder2.xpm # Make sure that these windows get icons. Style "FvwmFileManagerWindow" NoTitle, NoHandles, Icon Style "Garbage" Title, Handles, Icon Style "GoodStuff" NoTitle, NoHandles, Sticky, WindowListSkip, BorderWidth 3 Style "*lock" NoTitle, NoHandles, Sticky, WindowListSkip Style "xbiff" NoTitle, Sticky, WindowListSkip Style "Maker" StartsOnDesk 1 Style "matlab" StartsOnDesk 3 Style "signal" StartsOnDesk 3 Style "rxvt" Icon term.xpm Style "xterm" Icon xterm.xpm Style "Appointment" Icon datebook.xpm, NoButton 2, NoButton 4 Style "xcalc" Icon xcalc.xpm, NoButton 2 Style "xbiff" Icon mail1.xpm, NoButton 2 Style "xmh" Icon mail1.xpm, StartsOnDesk 2, NoButton 2 Style "xman" Icon xman.xpm, NoTitle, NoHandles, Sticky Style "xvgr" Icon graphs.xpm Style "matlab" Icon math4.xpm Style "xmag" Icon mag_glass.xpm Style "xgraph" Icon graphs.xpm Style "xpaint" Icon xpaint.xpm Style "GoodStuff" Icon toolbox.xpm Style "*Mosaic*" Icon xmosaic.xpm Style "elm" Icon mail2.xpm Style "*emacs*" Icon emacs.xpm Style "xsysinfo" NoTitle # Change the Maximize and iconify buttons to up and down triangles. ButtonStyle : 2 4 50x35@1 65x65@0 35x65@0 50x35@1 ButtonStyle : 4 4 50x65@1 35x35@1 65x35@1 50x65@0 ############################################################################# # Stuff to do at start-up Function "InitFunction" Module "I" GoodStuff Module "I" FvwmIconBox Module "I" FvwmPager 0 # Module "I" FvwmAudio Desk "I" 0 2 Desk "I" 0 0 Exec "I" xclock -geometry 100x100-0+0 -analog & Exec "I" xbiff -geometry 50x50-109+0 -update 10 & Exec "I" xsysinfo -geometry 185x103+543+0 -fn -adobe-*-medium-*-*--12-*-*-*-*-*-iso8859-1 Exec "I" xearth & Exec "I" xeyes -geometry 150x100-180+0 & Exec "I" xterm -geometry 80x41+30+140 +vb -sb -T "X-Terminal" -n "xterm" & # Exec "I" xpmroot /usr/include/X11/pixmaps/background3.xpm & EndFunction Function "RestartFunction" Module "I" GoodStuff Module "I" FvwmPager 0 Module "I" FvwmAudio Module "I" FvwmIconBox EndFunction ############################################################################ # Now define some handy complex functions # This one moves and then raises the window if you drag the mouse, # only raises the window if you click, or does a RaiseLower if you double # click Function "Move-or-Raise" Move "Motion" Raise "Motion" Raise "Click" RaiseLower "DoubleClick" EndFunction # This one maximizes vertically if you click (leaving room for the GoodStuff bar at the # bottom, or does a full maximization if you double click, or a true full vertical # maximization if you just hold the mouse button down. Function "maximize_func" Maximize "Motion" 0 100 Maximize "Click" 0 80 Maximize "DoubleClick" 100 100 EndFunction # This one moves and then lowers the window if you drag the mouse, # only lowers the window if you click, or does a RaiseLower if you double # click Function "Move-or-Lower" Move "Motion" Lower "Motion" Lower "Click" RaiseLower "DoubleClick" EndFunction # This one resizes and then raises the window if you drag the mouse, # only raises the window if you click, or does a RaiseLower if you double # click Function "Resize-or-Raise" Resize "Motion" Raise "Motion" Raise "Click" RaiseLower "DoubleClick" EndFunction # This is provided as a hint only. # Move to a known page on the desktop, then start an application in a # known location. Could also switch to a known desktop, I guess #Function "abs_coord" # GoToPage "Immediate" 1,1 # Exec "Immediate" exec xcalc -geometry +100+100& #EndFunction ############################################################################## #now define the menus - defer bindings until later Popup "Modules" Title "Fvwm - Module" Module "GoodStuff" GoodStuff Module "Clean-Up" FvwmClean Module "Identify" FvwmIdent Module "FvwmWinList" FvwmWinList Module "File manager" FvwmFileMgr . EndPopup # This menu is invoked as a sub-menu - it allows you to quit, # restart, or switch to another WM. Popup "Quit-Verify" Title "Quit X-Windows?" Nop "" Quit "Yes, really quit!" Nop "" Restart "Restart Fvwm" fvwm Restart "Start ctwm" /usr/X386/bin/ctwm Restart "Start olvwm" /usr/openwin/bin/olvwm Restart "Start mwm" /usr/X386/bin/mwm Restart "Start gwm" /usr/X386/bin/gwm Restart "Start olwm" /usr/openwin/bin/olwm EndPopup # This defines the most common window operations # As with the key bindings (see below), these were appropriated from # a stock SGI .4Dwmrc file --tabaer@magnus Popup "WindowOps" Title "Window Options" Move "Move (Alt-F5)" Resize "Resize (Alt-F6)" Iconify "Iconify (Alt-F4)" Maximize "Maximize Window " Raise "To Front (Alt-F7)" Lower "To Background (Alt-F8)" WindowList "Window-List (Alt-F3)" Nop "" Delete "Close (Alt-F9)" Destroy "Kill (Alt-F10)" EndPopup # This menu checks to make sure you REALLY want to log out, # assuming killing the WM will kick you out of X. PopUp "Logout-Verify" Title "Quit XWindow?" Nop "" Quit "Yes" Nop "No, return to X11" EndPopUp # All sorts of different time pieces PopUp "Uhr" Title "Clock" Nop "" Exec "Analog" exec xclock -analog & Exec "Digital" exec xclock -digital & Exec "Dclock" exec dclock & Exec "Round" exec oclock & Exec "Rclock" exec rclock & EndPopUp PopUp "Background" Title "Background" Nop "" Exec "XSnow" exec xsnow & Exec "Xearth" exec xearth & Exec "Xfishtank" exec xfishtank & Exec "Xsplines" exec xsplinefun & Exec "Grainy" exec xsetroot -bitmap /usr/X386/include/X11/bitmaps/grainy -bg \#fed -fg \#888050 & EndPopUp PopUp "Screensaver" Title "Screensaver" Exec "hop" exec xlock -nolock -mode hop & Exec "qix" exec xlock -nolock -mode qix & Exec "life" exec xlock -nolock -mode life & Exec "swarm" exec xlock -nolock -mode swarm & Exec "bob" exec xlock -nolock -mode bob & Exec "rotor" exec xlock -nolock -mode rotor & Exec "pyro" exec xlock -nolock -mode pyro & Exec "flame" exec xlock -nolock -mode flame & Exec "worm" exec xlock -nolock -mode worm & Exec "spline" exec xlock -nolock -mode spline & Exec "maze" exec xlock -nolock -mode maze & Exec "sphere" exec xlock -nolock -mode sphere & Exec "hyper" exec xlock -nolock -mode hyper & Exec "helix" exec xlock -nolock -mode helix & Exec "rock" exec xlock -nolock -mode rock & Exec "blot" exec xlock -nolock -mode blot & Exec "grav" exec xlock -nolock -mode grav & Exec "bounce" exec xlock -nolock -mode bounce & Exec "world" exec xlock -nolock -mode world & Exec "rect" exec xlock -nolock -mode rect & Exec "bat" exec xlock -nolock -mode bat & Exec "galaxy" exec xlock -nolock -mode galaxy & Exec "kaleid" exec xlock -nolock -mode kaleid& Exec "blank" exec xlock -nolock -mode blank & Exec "random" exec xlock -nolock -mode random & EndPopUp PopUp "Sysinfo" Title "System Information" Exec "XSysinfo" exec xsysinfo & Exec "XLoad" exec xload & Exec "XMem" exec xmem & Exec "XZapp" exec xzap & Exec "X11perf" exec x11perf -all & Exec "Event-Test" exec xterm -e xev & Exec "XBench" exec xterm -e xbench & Nop "" Exec "Xcolormap" exec xcolormap & Exec "Xpalette" exec xpalette & Exec "Xcolors" exec xcolors -rgbfile /usr/X11/lib/rgb.txt & Nop "" Exec "Xmag" exec xmag & Nop "" Exec "Xfontsel" exec xfontsel & EndPopUp Popup "GrabDump" Title "Grab and Dump" Exec "Xgrab now" exec xgrabsc & Exec "Xgrab Options" exec xgrab & Nop "" Exec "Dump to Printer" exec xdpr EndPopUp Popup "CutPaste" Title "Cut and Paste" Exec "Xclipboard" exec xclipboard & Exec "Xcutsel" exec xcutsel & EndPopUp PopUp "Utilities" Title "Utilities" Exec "Astrolog" exec astrolog -Xn & Exec "Xephem" exec xephem & Exec "Xbarcode" exec XBarcode & Exec "Babaya" exec babaya & Exec "XOSview" exec xosview & Exec "Xfader" exec xfader & Exec "Xcalc" exec xcalc & Exec "Plan" exec plan & Exec "Xrolodex" exec xrolodex & Exec "XPlz" exec xplz & EndPopUp # This menu will fire up some very common utilities PopUp "Games" Title "Games" Exec "XFractint" exec xterm -e xfractint -private & Exec "Bob" exec bob & Exec "Xtacy" exec Xtacy & Exec "XEyes" exec xeyes & Exec "XRoach" exec xroach & Exec "XTeddy" exec xteddy & Exec "Moontool" exec xmoontool & Exec "Iko" exec ico & Exec "Maze" exec maze & Exec "Chess" exec xboard & Exec "Manix" exec manix & Exec "PlayOne" exec playone & Exec "XFrisk" exec xfrisk & Exec "XJewel" exec xjewel & Exec "XMris" exec xmris & Exec "Xvier" exec xvier & Exec "XTetris" exec xtetris & Exec "XPipeman" exec xpipeman & Exec "Xlander" exec xlander & Exec "XBoing" exec xboing & Exec "Mahjongg" exec xmahjongg & Exec "XBombs" exec xbombs & Exec "XMinesWeeper" exec xminesweep & Exec "Solitair" exec xsol & Exec "Xpat2" exec xpat2 & Exec "Spider" exec spider & Exec "Puzzle" exec puzzle & Exec "Flightsimulator" exec acm & Exec "XSpringies" exec xspringies & Exec "XLife" exec xlife randomgun & Exec "XGas" exec xgas & EndPopUp # PopUp "Buecher" Title "Books" Nop "" Exec "Linux Anwenderhandbuch" exec xdvi /usr/doc/Books/Linuxhandbuch.dvi Exec "TeX Book" exec xdvi /usr/doc/Books/texbuch.dvi Exec "Unix Book" exec xless /usr/doc/Books/unixbook.txt Exec "Installation and Getting Started" exec dvi /usr/doc/Books/LDP/gs-2.1.dvi Exec "Kernel Hackers Guide" exec xdvi /usr/doc/Books/LDP/khg-0.5.dvi Exec "Network Adminstrators Guide" exec xdvi /usr/doc/Books/LDP/nag.dvi Exec "System Administrators Guide" exec xdvi /usr/doc/Books/LDP/sag-alpha-1.dvi Exec "Users Guide" exec xdvi /usr/doc/Books/LDP/user-guide.dvi EndPopUp PopUp "FAQs" Title "FAQs" Exec "Index" exec zcat /usr/doc/faq/faq/INDEX.gz | xless Nop "" Exec "ext2fs" exec zca /usr/doc/faq/faq/ext2fs-FAQ.gz | xless Exec "gcc" exec zcat /usr/doc/faq/faq/GCC-FAQ.gz | xless Exec "LILO" exec zcat /usr/doc/faq/faq/LILO-FAQ.gz | xless Exec "Linux" exec zcat /usr/doc/faq/faq/linux-faq.ascii.gz | xless Exec "NFS" exec zcat /usr/doc/faq/faq/NFS-FAQ.gz | xless EndPopUp PopUp "HowTo" Title "How to" Exec "Index" exec zcat /usr/doc/faq/howto/INDEX.gz | xless Nop "" Exec "Busmouse" exec zcat /usr/doc/faq/howto/Busmouse-HOWTO.gz | xless Exec "BUPS" exec zcat /usr/doc/faq/howto/BUPS-HOWTO.gz | xless Exec "CDROM" exec zcat /usr/doc/faq/howto/CDROM-HOWTO.gz | xless Exec "Dosemu" exec zcat /usr/doc/faq/howto/DOSEMU-HOWTO.gz | xless Exec "Commercial" exec zcat /usr/doc/faq/howto/Commercial-HOWTO.gz | xless Exec "Distributions" exec zcat /usr/doc/faq/howto/Distribution-HOWTO.gz | xless Exec "Ethernet" exec zcat /usr/doc/faq/howto/Ethernet-HOWTO.gz | xless Exec "Ftape" exec zcat /usr/doc/faq/howto/Ftape-HOWTO.gz | xless Exec "German" exec zcat /usr/doc/faq/howto/German-HOWTO.gz | xless Exec "Howto-Index" exec zcat /usr/doc/faq/howto/HOWTO-INDEX.gz | xless Exec "Hardware" exec zcat /usr/doc/faq/howto/Hardware-HOWTO.gz | xless Exec "Info-Sheet" exec zcat /usr/doc/faq/howto/INFO-SHEET.gz | xless Exec "Installation" exec zcat /usr/doc/faq/howto/Installation-HOWTO.gz | xless Exec "Kernel" exec zcat /usr/doc/faq/howto/Kernel-HOWTO.gz | xless Exec "JE" exec zcat /usr/doc/faq/howto/JE-HOWTO.gz | xless Exec "Keystroke" exec zcat /usr/doc/faq/howto/Keystroke-HOWTO.gz | xless Exec "MGR" exec zcat /usr/doc/faq/howto/MGR-HOWTO.gz | xless Exec "Mail" exec zcat /usr/doc/faq/howto/Mail-HOWTO.gz | xless Exec "Net-2" exec zcat /usr/doc/faq/howto/NET-2-HOWTO.gz | xless Exec "NIS" exec zcat /usr/doc/faq/howto/NIS-HOWTO.gz | xless Exec "News" exec zcat /usr/doc/faq/howto/News-HOWTO.gz | xless Exec "PCI" exec zcat /usr/doc/faq/howto/PCI-HOWTO.gz | xless Exec "Printing" exec zcat /usr/doc/faq/howto/Printing-HOWTO.gz | xless Exec "SCSI" exec zcat /usr/doc/faq/howto/SCSI-HOWTO.gz | xless Exec "Serial" exec zcat /usr/doc/faq/howto/Serial-HOWTO.gz | xless Exec "Sound" exec zcat /usr/doc/faq/howto/Sound-HOWTO.gz | xless Exec "Term" exec zcat /usr/doc/faq/howto/Term-HOWTO.gz | xless Exec "Tips" exec zcat /usr/doc/faq/howto/Tips-HOWTO.gz | xless Exec "UUCP" exec zcat /usr/doc/faq/howto/UUCP-HOWTO.gz | xless Exec "XFree86" exec zcat /usr/doc/faq/howto/XFree86-HOWTO.gz | xless EndPopUp PopUp "Dokumentation" Title "Documentation" PopUp "HowTos" HowTo PopUp "FAQs" FAQs PopUp "Books" Buecher Exec "XVHelp" exec xvhelp & EndPopUp PopUp "Editoren" Title "Editoren" Exec "vi" exec xterm -T "The Editor" -e vi & Nop "" Exec "Asedit" exec asedit & Exec "Doc" exec doc & Exec "Textedit" exec textedit & Exec "Xedit" exec xedit & Exec "Xditview" exec xditview & Exec "Emacs" exec emacs & Exec "Xcoral" exec xcoral & Exec "Jade" exec jade & Nop "" Exec "BibTex View" exec bibview & Exec "Post A Note" exec pan & Nop "" Exec "Xresource Edit" exec editres & Exec "Pixel-Editor" exec pixedit & Exec "Bitmap-Editor" exec bitmap & EndPopUp PopUp "Verbindungen" Title "Communication" Exec "Seyon" exec seyon -modem /dev/modem & Exec "Xarchie" exec xarchie & Exec "Xmh" exec xmh & Exec "XCept (BTX)" exec xcept & EndPopUp PopUp "Kreativ" Title "Graphics" Exec "Andrew Toolkit" exec ez /usr/andrew/README.ez* Exec "Idraw" exec idraw & Exec "SISCAD-P" exec siscadp & Exec "TeXCad" exec texcad & Exec "Tgif" exec tgif & Exec "XFig" exec xfig & Exec "XPaint" exec xpaint & Exec "XMgr" exec xmgr & Exec "Pixmap" exec pixmap & Exec "XV" exec xv & Exec "Ghostview" exec ghostview & EndPopUp PopUp "File_Manager" Title "File Manager" Exec "Xgroups" exec xgroups & Exec "Xfilemanager" exec xfilemanager & Exec "Xdtm" exec xdtm & EndPopUp PopUp "Berechnung" Title "Technical Apps" Exec "GNU Plot" exec xterm -T "GNU Plot" -e gnuplot & # Exec "Octave" exec xterm -T "Octave" -e octave & Exec "Xspreadsheet" exec xspread & Exec "Xess3" exec xess3 & Nop "" Exec "Sci Lab" exec scilab & Exec "Maple V Demo" exec bash /usr/local/maple/xmaple & Nop "" Exec "Felix" exec xterm -T "Felix" -e bash felix & Exec "Matlab" exec xterm -T "Matlab" -e matlab & EndPopUp PopUp "Interviews" Title "Interviews" Exec "Builder" exec ibuild & Exec "Class Browser" exec iclass & Exec "File Chooser" exec ifc & EndPopUp PopUp "Entwicklung" Title "Development" Exec "XXgdb" exec xxgdb & PopUp "Interviews" Interviews Exec "Stix" exec stix & Exec "XF" exec xf & Exec "Xad Demo" exec xad & Exec "XWPE" exec xwpe & EndPopUp PopUp "SoundUtils" Title "Sound Utils" Exec "Xmitsumi" exec xmitsumi & Exec "Xplay (WAVE Rec/Play)" exec xplay & Exec "Jazz (MPU Soundeditor)" exec jazz & Exec "Xmix (Mixer)" exec xmix & EndPopUp PopUp "Shells" Title "Shells" Exec "RXVT" exec rxvt & Exec "Shell 800x600" exec xterm -sb -sl 2000 -T $LOGNAME -n $LOGNAME -fn -adobe-courier-medium-r-normal--12-*-*-*-*-*-iso8859-1 -j -rw +vb -e /bin/bash & Exec "Shell 640x480" exec xterm -sb -sl 2000 -T $LOGNAME -n $LOGNAME -fn -adobe-courier-medium-r-normal--10-*-*-*-*-*-iso8859-1 -j -rw +vb -e /bin/bash & Exec "ColorShell 1024x768" exec color_xterm -sb -sl 2000 -T $LOGNAME -n $LOGNAME -fn -adobe-courier-bold-r-normal--14-140-75-75-m-90-iso8859-1 -j -rw +vb -e /bin/bash & Exec "ColorShell 800x600" exec color_xterm -sb -sl 2000 -T $LOGNAME -n $LOGNAME -fn -adobe-courier-medium-r-normal--12-*-*-*-*-*-iso8859-1 -j -rw +vb -e /bin/bash & Exec "ColorShell 640x480" exec color_xterm -sb -sl 2000 -T $LOGNAME -n $LOGNAME -fn -adobe-courier-medium-r-normal--10-*-*-*-*-*-iso8859-1 -j -rw +vb -e /bin/bash & Exec "Root 800x600" exec xterm -sb -sl 2000 -T Root -n Root -fn -adobe-courier-medium-r-normal--12-*-*-*-*-*-iso8859-1 -j -rw +vb -bg \#ff8a6d -e su - -l & Exec "Root 640x480" exec xterm -sb -sl 2000 -T Root -n Root -fn -adobe-courier-medium-r-normal--10-*-*-*-*-*-iso8859-1 -j -rw +vb -bg \#ff8a6d -e su - -l & Exec "Console" exec xconsole & EndPopUp PopUp "System" Title "Linux Esprit Menü" Nop "" Exec "Shell" exec xterm -sb -sl 2000 -T $LOGNAME -n $LOGNAME -fn -adobe-courier-bold-r-normal--14-140-75-75-m-90-iso8859-1 -j -rw +vb -e /bin/bash & Exec "XTerm" exec xterm -sb -sl 2000 -T Root -n Root -fn -adobe-courier-bold-r-normal--14-140-75-75-m-90-iso8859-1 -j -rw +vb -bg \#ff8a6d -e su - -l & PopUp "more XTerms" Shells Nop "" Exec "Manual Pages" exec xman -bothshown & Popup "Documentation" Dokumentation Nop "" PopUp "File Manager" File_Manager PopUp "Editors" Editoren PopUp "Communication" Verbindungen PopUp "Graphics" Kreativ PopUp "Technical" Berechnung PopUp "Development" Entwicklung PopUp "Sound Utils" SoundUtils PopUp "Clocks" Uhr Nop "" PopUP "Utilties" Utilities Nop "" PopUp "Windows" WindowOps PopUp "Grab and Dump" GrabDump PopUp "Cut and Paste" CutPaste Nop "" Exec "Screenlocker" exec xlock -mode random & PopUp "Screensaver" Screensaver Exec "Refresh Screen" exec xrefresh PopUp "System Info" Sysinfo PopUp "Background" Background Nop "" PopUp "Games" Games Nop "" PopUp "Exit" Quit-Verify EndPopUp ############################################################################ # Now define some handy complex functions # This one moves and then raises the window if you drag the mouse, # only raises the window if you click, or does a RaiseLower if you double # click Function "Move-or-Raise" Move "Motion" Raise "Motion" Raise "Click" RaiseLower "DoubleClick" EndFunction # This one moves and then lowers the window if you drag the mouse, # only lowers the window if you click, or does a RaiseLower if you double # click Function "Move-or-Lower" Move "Motion" Lower "Motion" Lower "Click" RaiseLower "DoubleClick" EndFunction # This one resizes and then raises the window if you drag the mouse, # only raises the window if you click, or does a RaiseLower if you double # click Function "Resize-or-Raise" Resize "Motion" Raise "Motion" Raise "Click" RaiseLower "DoubleClick" EndFunction Function "Move-or-Iconify" Move "Motion" # PopUp "Click" Iconify "DoubleClick" EndFunction # This does the Motif/MSWin thing of killing the window when you # double-click the top left button. Very useful if you're used # to Windows 3.1, SGI machines, or both (like me). --tabaer@magnus ############################################################################## # This defines the mouse bindings # First, for the mouse in the root window # Button 1 gives the Utilities menu # Button 2 gives the WindowOps 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 PopUp "System" # Mouse 2 R A PopUp "Tools" # Mouse 3 R A PopUp "Fun" # 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. # Button Context Modifi Function Mouse 0 1 A PopUp "WindowOps" Mouse 0 2 A Iconify # Now the rest of the frame # Here I invoke my complex functions for Move-or-lower, Move-or-raise, # and Resize-or-Raise. # Button 1 in the corner pieces, with any modifiers, gives resize or raise 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 PopUp "WindowOps" # 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 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 FS A Function "Resize-or-Raise" Mouse 1 T A Function "Move-or-Raise" Mouse 2 T A Function "Move-or-Lower" Mouse 1 I A Function "Move-or-Iconify" Mouse 2 I A Function "Move-or-Iconify" ############################################################################ # 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 Key F2 A M Popup "WindowOps" Key F3 A M WindowList Key F4 A M Iconify Key F5 A M Move Key F6 A M Resize Key F7 A M CirculateUp Key F8 A M CirculateDown Key F9 A M Delete Key F10 A M Destroy #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 ############################################################################ ############################################################################ #Definitions used by the modules ###################### GoodStuff button-bar ################################ # Colors *GoodStuffFore Black *GoodStuffBack Grey # Font *GoodStuffFont -adobe-helvetica-medium-r-*-*-10-*-*-*-*-*-*-* # Geometry - really likes to pick its own size, but giving a position is OK *GoodStuffGeometry +1-1 # Layout: specify rows or columns, not both *GoodStuffRows 1 # Define the buttons to use..... #*GoodStuff Kill rbomb.xpm Destroy # xterm or rxvts on remote machines can be done like this # Output re-direction is csh style, not sh style # You will want to substitute your own hosts here! *GoodStuff Shell rterm.xpm Exec "Shell" xterm -T "Shell" & *GoodStuff Root-Shell rterm.xpm Exec "Root" xterm -sb -sl 2000 -T Root -n Root -j -rw +vb -bg \#ff8a6d -e su - -l & *GoodStuff Emacs emacs.xpm Exec "emacs" emacs & *GoodStuff AsEdit xedit.xpm Exec "asedit" asedit & *GoodStuff Mail mail2.xpm Exec "ELM" xterm -T ELM -n elm -e elm & *Goodstuff Filemanager filemanager.xpm Exec "xfilemanager" xfilemanager & *GoodStuff Manual xman.xpm Exec "xman" xman & *GoodStuff XV3.01 xv.xpm Exec "xv" xv & *GoodStuff XPaint xpaint.xpm Exec "xpaint" xpaint & *GoodStuff GhostView ghostview.xpm Exec "ghostview" ghostview & # *GoodStuff CD-Player cdrom1.xpm Exec "Motif CD Audio Player 0" xmcd & *GoodStuff Xess xess.xpm Exec "" xess3 & *GoodStuff Mixer xmix.xpm Exec "xmix" xmix & #*GoodStuff Paging clamp.xpm TogglePage #*GoodStuff - clock.xpm Swallow "xclock" xclock -bg \#908090 -geometry -1500-1500 -analog -padding 0 #*GoodStuff(4x1) - whatever SwallowModule "FvwmPager" FvwmPager 0 3 #*GoodStuff Grumpy rterm.xpm Exec "grumpy" rsh grumpy "exec xterm -T grumpy -display $HOSTDISPLAY &/dev/null & "& ######################### 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 Black *FvwmIdentFore Grey *FvwmIdentFont -adobe-helvetica-medium-r-*-*-12-*-*-*-*-*-*-* ########################### Pager ######################################### *FvwmPagerBack Grey50 *FvwmPagerFore Black *FvwmPagerFont -adobe-helvetica-bold-r-*-*-10-*-*-*-*-*-*-* *FvwmPagerHilight Grey80 *FvwmPagerLabel 0 Desktop #*FvwmPagerLabel 1 Edit *FvwmPagerSmallFont 5x8 *FvwmPagergeometry x110+0+0 ##########################FvwmWinList################################## *FvwmWinListBack LightGrey *FvwmWinListFore Black *FvwmWinListFont -adobe-helvetica-bold-r-*-*-10-*-*-*-*-*-*-* *FvwmWinListAction Click1 Iconify -1,Focus *FvwmWinListAction Click2 Iconify *FvwmWinListAction Click3 Module "FvwmIdent" FvwmIdent *FvwmWinListUseSkipList *FvwmWinListGeometry +0-1 ########################## IconBox ################################## *FvwmIconBoxIconBack Darkgrey *FvwmIconBoxIconHiFore Black *FvwmIconBoxIconHiBack LightSkyBlue *FvwmIconBoxBack DarkGrey *FvwmIconBoxFore blue *FvwmIconBoxGeometry 5x1+135+0 *FvwmIconBoxMaxIconSize 64x38 *FvwmIconBoxFont -adobe-helvetica-medium-r-*-*-12-*-*-*-*-*-*-* *FvwmIconBoxSortIcons *FvwmIconBoxPadding 4 *FvwmIconBoxLines 10 *FvwmIconBoxPlacement Left Top *FvwmIconBoxPixmap background2.xpm #*FvwmIconBoxHideSC Horizontal # # mouse bindings # *FvwmIconBoxMouse 1 Click RaiseLower *FvwmIconBoxMouse 1 DoubleClick Iconify *FvwmIconBoxMouse 2 Click Iconify -1, Focus *FvwmIconBoxMouse 3 Click Module "FvwmIdent" FvwmIdent # # Key bindings # *FvwmIconBoxKey r RaiseLower *FvwmIconBoxKey space Iconify *FvwmIconBoxKey d Close # # FvwmIconBox built-in functions # *FvwmIconBoxKey n Next *FvwmIconBoxKey p Prev *FvwmIconBoxKey h Left *FvwmIconBoxKey j Down *FvwmIconBoxKey k Up *FvwmIconBoxKey l Right # # Icon file spcifications # *FvwmIconBox "*" unknown1.xpm *FvwmIconBox "elm" mail2.xpm *FvwmIconBox "Fvwm*" - *FvwmIconBox "FvwmFileMgr" folder2.xpm *FvwmIconBox "rxvt" term.xpm *FvwmIconBox "xterm" xterm.xpm *FvwmIconBox "editres" editres.xpm *FvwmIconBox "xman" xman.xpm *FvwmIconBox "xbiff" mail1.xpm *FvwmIconBox "xmh" mail1.xpm *FvwmIconBox "xcalc" xcalc.xpm *FvwmIconBox "GoodStuff" toolbox.xpm *FvwmIconBox "*Mosaic*" xmosaic.xpm *FvwmIconBox "*emacs*" emacs.xpm *FvwmIconBox "xfilemanager" filemanager.xpm *FvwmIconBox "xclock" xclock.xpm *FvwmIconBox "*edit*" xedit.xpm *FvwmIconBox "xpaint" xpaint.xpm *FvwmIconBox "ghostview" ghostview.xpm *FvwmIconBox "xmcd" cdrom1.xpm *FvwmIconBox "xmix" xmix.xpm ################# Audio ############################## # *FvwmAudioPlayCmd builtin-rplay # *FvwmAudioRplayPriority 0 # *FvwmAudioRplayVolume 127 # # *FvwmAudio startup spacemusic.au # *FvwmAudio shutdown Goodbye.au # *FvwmAudio unknown doh.au # *FvwmAudio add_window drip.au # *FvwmAudio raise_window bonus.au # *FvwmAudio lower_window tone.au # *FvwmAudio focus_change key.au # *FvwmAudio destroy_window Explosion.au # *FvwmAudio iconify wzzz.au # *FvwmAudio deiconify wzzz2.au # *FvwmAudio toggle_paging fwop.au # *FvwmAudio new_page beam_trek.au # *FvwmAudio new_desk beam_trek.au # *FvwmAudio configure_window huh.au # *FvwmAudio window_name beep.au # *FvwmAudio icon_name beep.au # *FvwmAudio res_class beep.au # *FvwmAudio res_name beep.au # *FvwmAudio end_windowlist twang.au