####################################################################### # bearbeitet von Markus Gesmann, mages@mi.uni-koeln.de # # Stand: 19.November 1999 # ################ Start of file ######################################## ################## PATHS ############################################## ModulePath /usr/lib/X11/fvwm2/ PixmapPath /usr/local/include/X11/pixmaps/:/usr/local/www/documents/mi/EDV/xpm IconPath /usr/local/include/X11/pixmaps/:/vol/mi/www/documents/mi/EDV/xpm ######################################################### #Fenstericons, die erste Zahl gibt den Platz des Icons an ######################################################### # big box ButtonStyle 4 5 25x25@1 25x75@1 75x75@0 75x25@0 25x25@1 # little box ButtonStyle 6 5 40x40@1 60x40@1 60x60@0 40x60@0 40x40@1 # an X ButtonStyle 2 13 26x29@1 34x21@1 50x35@1 70x21@1 79x29@1 63x48@0 79x65@1 70x75@0 50x61@0 34x75@0 26x65@0 44x48@1 26x29@0 ######################################################## # #WindowFont "-bitstream-charter-medium-o-*-*-*-200-*-*-*-*-*-*" #WindowFont "-*-new century schoolbook-medium-r-*-*-12-200-75-75-*-*" #WindowFont -*-helvetica-bold-r-*-*-15-*-*-*-*-*-*-* #WindowFont -adobe-helvetica-bold-o-*-*-18-*-*-*-*-*-*-* #WindowFont -adobe-times-bold-r-*-*-18-*-*-*-*-*-*-* #IconFont -adobe-helvetica-bold-r-*-*-10-*-*-*-*-*-*-* WindowFont -adobe-helvetica-bold-o-*-*-14-*-*-*-*-*-*-* mwm IconFont "-*-new century schoolbook-medium-r-*-*-12-120-75-75-*-*" EdgeResistance 800 10 EdgeScroll 100 100 ################################################################ HilightColor white #b43060 MenuStyle black grey65 grey40 -adobe-lucida-roman-r-*-*-14-*-*-*-*-*-*-* mwm ClickTime 750 ColormapFocus FollowsMouse ################## STYLE ############################ Style "*" BorderWidth 5, HandleWidth 5 Style "*" Icon unknown1.xpm, Color White/#424759 Style "*" ActivePlacement, SmartPlacement Style "*" MWMFunctions,MWMDecor,HintOverride Style "*" DecorateTransient,IconBox 0 -10 -280 -1 Style "*" SloppyFocus Style "Fvwm*" NoTitle, NoHandles, Sticky, WindowListSkip, Style "Fvwm*" BorderWidth 0,CirculateSkipIcon Style "FvwmPager" StaysOnTop Style "FvwmBanner" StaysOnTop Style "FvwmButtons" NoTitle, NoHandles, Sticky, WindowListSkip Style "FvwmButtons" BorderWidth 0, CirculateSkip Style "FvwmButtons" Icon toolbox.xpm,ClickToFocus Style "*lock" WindowListSkip,NoHandles,NoTitle Style "*lock" ClickToFocus Style "xbiff" NoTitle, WindowListSkip,ClickToFocus Style "XTerm" Icon xterm2.xpm Style "Xterm" MWMBorder,MWMButtons Style "Appointment" Icon datebook.xpm, NoButton 2, NoButton 4,ClickToFocus Style "xcalc" Icon xcalc.xpm, NoButton 2,RandomPlacement,ClickToFocus Style "xmh" Icon mail1.xpm, NoIconTitle,StickyIcon Style "xmh" RandomPlacement, StartsOnDesk 1, NoButton 2 Style "xman" Icon xman.xpm,RandomPlacement,ClickToFocus Style "xvgr" Icon graphs.xpm,RandomPlacement,ClickToFocus Style "matlab" Icon math4.xpm,ClickToFocus Style "xmag" Icon mag_glass.xpm,RandomPlacement, ClickToFocus Style "xgraph" Icon graphs.xpm,RandomPlacement,ClickToFocus Style "xcmdpanel" NoTitle Style "xftp" Icon xftp.xpm, RandomPlacement Style "Emacs" Icon word_processor.xpm,RandomPlacement Style "Ghostview" RandomPlacement Style "asWedit" Icon dialog_box.xpm, RandomPlacement Style "xtar" Icon kzip.xpm, RandomPlacement ######################### SHORT CUTS ################################ 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 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 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 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 Key KP_F1 A M Popup "Utilities" Key KP_F2 A M Popup "Window-Ops" Key KP_F3 A M Module FvwmWinList Key KP_F4 A M Iconify Key F5 A M Move 100p 100p Key F6 A M Resize 10 10 Key F7 A M Next [*] focus Key F8 A M Prev [*] focus # Key F10 A A Next [CurrentDesk rxvt]Focus # Key F11 A A Prev [CurrentDesk rxvt]Focus Key F15 FTIWS A Raise ##################### MOUSE OPERATIONS #################################### ######################## BINDINGS ################# # # Contexts mean: # R = Root Window rIrrrrrrrrrrrrrrrrrrrr # W = Application Window rrrrrrFSSSSSSSSSFrrrrr # F = Frame Corners rrrrrrSTTTTTTT42Srrrrr # S = Frame Sides rrrrrrSWWWWWWWWWSrrrrr # T = Title Bar rrrrrrFSSSSSSSSSFrrrrr # I = Icon rrrrrrrrrrrrrrrrrrrrrr ############################################################################ # MOUSE Setup # # First, the root window. Button 1 brings up the Main Menu. B2 is the # window operations list, and B3 is the winlist module # Button Context Modifi Function Mouse 1 R A Menu Utilities Nop Mouse 2 R A Menu Window-Ops Nop Mouse 3 R A WindowList # Now, title bar buttons # Button Context Modifi Function Mouse 0 1 A Menu Window-Ops2 Close #Mouse 0 3 A close Mouse 0 4 A Maximize 100 100 Mouse 0 6 A Iconify Mouse 0 2 A Delete # Button 1 in Frame or Sides is a resize-or-raise, in Icons is a move or # de-iconify, and on Top does a move-or-raise # Button Context Modifi Function Mouse 1 FS A Resize-or-Raise Mouse 1 I A Move-or-Iconify Mouse 1 T A Move-or-Raise # Button 2 in an Icon is de-iconify, in Corners/Sides/Titlebar gets Ops Menu # Button Context Modifi Function Mouse 2 I A Iconify Mouse 2 FST A Menu Window-Ops2 Nop # Button 3 does a raise-lower on anything Mouse 3 TSIF A RaiseLower ########################Initialization Functions ############################ AddToFunc InitFunction "I" Module FvwmBacker + "I" Module FvwmButtons + "I" Module FvwmPager 0 0 + "I" exec xsetroot -mod 2 1 -fg steelblue4 -bg \#91a0b6 + "I" Exec exec oclock -geometry 70x70-1+0 & + "I" Exec exec xbiff -geometry -1+90 -file $HOME/.mail& #+ "I" Exec xv -max -root -quit water.jpg & #+ "I" Exec coolicon & + "I" Exec exec /usr/openwin/bin/xterm AddToFunc RestartFunction "I" Module FvwmBacker + "I" Module FvwmButtons + "I" Module FvwmPager 0 0 + "I" Module FvwmIconBox #+ "I" exec xsetroot -mod 2 1 -fg steelblue4 -bg \#91a0b6 #+ "I" Exec exec oclock -geometry 70x70+940+0 & #+ "I" Exec exec xbiff -geometry +950+90 -file $HOME/.mail& #+ "I" Exec exec /usr/openwin/bin/xterm -geometry +60+0 & #+ "I" Exec /usr/local/bin/xv -max -root -quit jungs.jpg & #+ "I" Exec coolicon & AddToFunc pineF "I" Exec xterm -geometry 80x40 -e /usr/local/bin/pine & # AddToFunc EuklidF "I" Exec xterm -e /usr/local/bin/ssh Euklid & AddToFunc EuklidF "I" Exec /usr/local/bin/ssh Euklid /usr/openwin/bin/xterm -ls ################## sets backgroundcolors ############ #*FvwmBackerDesk 0 -solid Blue #*FvwmBackerDesk 1 -solid midnightblue #*FvwmBackerDesk 2 -solid steelblue #*FvwmBackerDesk 3 -solid blue ########################Menus ######################################## AddToMenu Utilities "Utilities" Title + "Xterm" Exec /usr/openwin/bin/xterm -ls & + "Filemanager" Exec filemgr + "Button-Bar" Module FvwmButtons + "Mail / Internet" Popup MailInternet #+ "" Nop + "Mathematik" Popup Mathematik + "Grafik" Popup Grafik #+ "" Nop + "Editors" Popup Editors #+ "" Nop + "Tools" Popup Tools #+ "" Nop + "WindowsNT" Popup Windows + "Games" Popup Games + "Move" Popup Move #+ "" Nop #+ "WMs" Popup WMs + "Exit Fvwm" Popup Quit-Verify AddToMenu Window-Ops "Window Ops" Title + "Move" Move-or-Raise2 + "Resize" Resize-or-Raise2 + "Raise" Raise + "Lower" Lower + "(De)Iconify" Iconify + "(Un)Stick" Stick + "(Un)Maximize" maximize_func + "" Nop + "Delete" Delete + "Close" Close + "Destroy" Destroy + "" Nop + "Refresh Screen" Refresh AddToMenu Window-Ops2 "Move" Move-or-Raise + "Resize" Resize-or-Raise + "Raise" Raise + "Lower" Lower + "Iconify" Iconify + "(Un)Stick" Stick + "" Nop + "Delete" Delete + "Close" Close + "Destroy" Destroy + "" Nop + "ScrollBar" Module FvwmScroll 2 2 #+ "Print" PrintFunction AddToMenu Xterm "Xterm" Title + "small window" Popup small_window + "moderate window" Popup moderate_window + "big window" Popup big_window + "huge window" Popup huge_window AddToMenu small_window "small window" Title + "normal font" Exec /usr/openwin/bin/xterm -geometry 50x10 -ls + "big font" Exec /usr/openwin/bin/xterm -fn 7x14 -geometry 50x10 -ls + "very big font" Exec /usr/openwin/bin/xterm -fn 10x20 -geometry 50x10 -ls AddToMenu moderate_window "moderate window" Title + "normal font" Exec /usr/openwin/bin/xterm -geometry 75x25 -ls + "big font" Exec /usr/openwin/bin/xterm -fn 7x14 -geometry 75x25 -ls + "very big font" Exec /usr/openwin/bin/xterm -fn 10x20 -geometry 75x25 -ls AddToMenu big_window "big window" Title + "normal font" Exec /usr/openwin/bin/xterm -geometry 95x45 -ls + "big font" Exec /usr/openwin/bin/xterm -fn 7x14 -geometry 95x45 -ls + "very big font" Exec /usr/openwin/bin/xterm -fn 10x20 -geometry 88x35+0+0 -ls AddToMenu huge_window "huge window" Title + "normal font" Exec /usr/openwin/bin/xterm -geometry 145x55+0+0 -ls + "big font" Exec /usr/openwin/bin/xterm -fn 7x14 -geometry 125x50+0+0 -ls AddToMenu Mathematik + "Maple" Exec /usr/local/mapleV/bin/xmaple & + "Gnuplot" Exec xterm -e gnuplot & + "Calculator" Exec /usr/openwin/bin/xcalc & AddToMenu Grafik + "xv" Exec xv & + "gimp" Exec /vol/mi/gimp-1.0.1/bin/gimp & + "xpaint" Exec /usr/local/X11/bin/xpaint & AddToMenu Editors + "XEmacs" Exec xemacs & + "Emacs" Exec /opt/FSFemacs/bin/emacs & + "Kedit" Exec /vol/mi/kde/bin/kedit & + "Pico" Exec xterm -e /usr/local/bin/pico & + "Vi" Exec xterm -e /usr/bin/vi & + "asWedit" Exec /usr/local/bin/asWedit & AddToMenu MailInternet + "Netscape" Exec /usr/local/bin/netscape & + "Pine" pineF + "Z-mail" Exec /usr/local/bin/zmail & + "XArchie" Exec /vol/X11R5/bin/xarchie & + "xftp" Exec exec xftp & AddToMenu Windows + "Deutsche Tastatur" Exec /vol/mi/wincenter/wincenter auto-german & + "Englische Tastatur" Exec /vol/mi/wincenter/wincenter -us & AddToMenu Games + "Tetris" Exec /vol/mi/./kde/bin/ktetris & + "Solitair" Exec /vol/mi/kde/bin/kpat & + "Mines" Exec /vol/mi/kde/bin/kmines & AddToMenu Tools + "kfind" EXEC /vol/mi/kde/bin/kfind & + "xlock" Exec xlock -remote + "Xman" Exec exec /usr/openwin/bin/xman & + "Xmag" Exec exec /usr/openwin/bin/xmag & + "Pager" Module FvwmPager 0 1 + "xtar" Exec /usr/local/X11/bin/xtar & + "Top" Exec exec xterm -e top + "kill" Destroy AddToMenu Print "Print" Title + "Print" Exec /a/bin/printtool1 & #AddToMenu ScreenLocks #"Screen Locks" Title + "xlock" Exec xterm -e /usr/openwin/bin/xlock -remote AddToMenu Move + "Up" Scroll 0 -100 + "Dowm" Scroll 0 +100 + "Left" Scroll -100 0 + "Right" Scroll +100 0 AddToMenu Remote-Logins "Computer" Title + "thales" Exec xterm -e rsh thales; exit #+ "euklid" Exec xterm -e rsh euklid; exit #+ "grappa" Exec xterm -e rsh grappa; exit #+ "sunset" Exec xterm -e rsh sunset; exit #+ "happy" Exec rsh happy rxvt -display $HOSTDISPLAY & #+ "signal" Exec rxterm signal #+ "thales" Exec /usr/local/opt/X11/bin/xrsh -auth xhost-xterminal thales /usr/X11R6/bin/xterm -ls + "grappa" Exec /usr/local/opt/X11/bin/xrsh -auth xhost-xterminal grappa /usr/X11R6/bin/xterm -ls AddToMenu Module-Popup #"Modules" Title + "Button-Bar" Module FvwmButtons #+ "Clean-Up" Module FvwmClean + "Identify" Module FvwmIdent + "SaveDesktop" Module FvwmSave #+ "Debug" Module FvwmDebug #+ "Pager" Module FvwmPager 0 1 + "WinList" Module FvwmWinList #+ "Background" Module FvwmBacker #+ "IconBox" Module FvwmIconBox #+ "Banner" Module FvwmBanner #+ "Talk" Module FvwmTalk #+ "Prompt" Module FvwmPrompt "hello" raise AddToMenu WMs + "Start kde" Restart kwm + "Start olvwm" Restart olvwm + "Start fvwm" Restart fvwm AddToMenu Quit-Verify "Really Quit Fvwm?" Title + "Yes, Really Quit" Quit + "Restart Fvwm" Restart fvwm + "" Nop + "No, Don't Quit" Nop ########################Functions ######################################## AddToFunc MailFunction "I" Next [$0] Iconify -1 + "I" Next [$0] focus + "I" None [$0] Exec $0 $1 AddToFunc Move-or-Raise "I" Raise + "M" Move + "D" Lower AddToFunc Move-or-Raise2 "M" Raise + "M" Move + "D" Lower AddToFunc Maximize-Func "M" Maximize 0 100 + "C" Maximize 0 80 + "D" Maximize 100 100 AddToFunc Move-or-Iconify "I" Raise + "M" Move + "D" Iconify AddToFunc Resize-or-Raise "I" Raise + "M" Resize + "D" Lower AddToFunc Resize-or-Raise2 "M" Raise + "M" Resize + "D" Lower AddToFunc PrintFunction "I" Raise + "I" Exec xdpr -id $w AddToFunc Iconify-and-Raise "I" Iconify + "I" Raise ################## FvwmButtons button-bar ################################ # Colors *FvwmButtonsFore Black *FvwmButtonsBack #91a0b6 # Font *FvwmButtonsFont -adobe-times-bold-r-*-*-12-*-*-*-*-*-*-* # Geometry - really likes to pick its own size, but giving a position is OK *FvwmButtonsGeometry 180x400-1+230 # Layout: specify rows or columns, not both *FvwmButtonsColumns 3 # 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! *FvwmButtons Kill rbomb.xpm Destroy *FvwmButtons Xterm xterm2.xpm Exec "Xterm" exec /usr/openwin/bin/xterm -ls & *FvwmButtons asWedit dialog_box.xpm Exec "asWedit" exec /usr/local/bin/asWedit & #*FvwmButtons Thales rterm.xpm Exec "Thales" xterm -e rsh thales; exit *FvwmButtons Xlock xlock.xpm Exec "Xlock" exec xlock -remote #*FvwmButtons Euklid rterm.xpm Exec "Euklid" xterm -e rsh euklid; exit *FvwmButtons Emacs emacs.next.xpm Exec "Emacs" /opt/FSFemacs/bin/emacs & *FvwmButtons kedit word_processor.xpm Exec "kedit" /vol/mi/kde/bin/kedit & *FvwmButtons Netscape www2.xpm Exec "Netscape" /usr/local/bin/netscape *FvwmButtons Pine page2.xpm pineF *FvwmButtons xtar kzip.xpm Exec "xtar" /usr/local/X11/bin/xtar & *FvwmButtons xftp xftp.xpm Exec "" xftp & *FvwmButtons Z-mail mail2.xpm Exec "zmail" /usr/local/bin/zmail & *FvwmButtons gimp gimp.xpm Exec "GIMP" exec /vol/mi/gimp-1.0.1/bin/gimp & *FvwmButtons xv xv2.xpm Exec "xv" exec /usr/local/bin/xv & *FvwmButtons xfig paint2.xpm Exec "xfig" /vol/X11R5/bin/xfig & *FvwmButtons Maple math42.xpm Exec "Maple" /usr/local/mapleV/bin/xmaple & *FvwmButtons filemgr filemgr.xpm Exec "filemgr" exec /usr/openwin/bin/filemgr & *FvwmButtons INFO question2.xpm Exec "Netscape" /usr/local/bin/netscape http://www.mi.uni-koeln.de/mi/EDV -ncols 128 & #*FvwmButtons EXIT ghostbuster.xpm Exec "fvwm-exit" /a/bin/fvwm-exit *FvwmButtons EXIT ghostbuster.xpm Popup Quit-Verify #*FvwmButtons - clock.xpm Swallow "xclock" xclock -bg \#908090 -geometry -1500-1500 -padding 0 #-font -*-times-*-r-*-*-17-*-*-*-*-*-*-* -mailupdate 10 & #*FvwmButtons(2x2) - whatever Swallow "FvwmPager" Module FvwmPager 0 0 ########################## Window-Identifier ############################### # Just choose colors and a fonts #*FvwmIdentBack MidnightBlue *FvwmIdentBack Blue *FvwmIdentFore Yellow *FvwmIdentFont -adobe-helvetica-medium-r-*-*-12-*-*-*-*-*-*-* ########################### Pager ######################################### DeskTopSize 2x2 *FvwmPagerBack #91a0b6 *FvwmPagerFore #484048 *FvwmPagerFont -adobe-helvetica-bold-r-*-*-10-*-*-*-*-*-*-* *FvwmPagerHilight #91a0b6 *FvwmPagerGeometry 120x80-1-1 *FvwmPagerLabel 0 Desktop #*FvwmPagerLabel 1 Maker #*FvwmPagerLabel 2 Mail #*FvwmPagerLabel 3 Matlab *FvwmPagerSmallFont 5x8 ##########################FvwmWinList################################## *FvwmWinListBack #908090 *FvwmWinListFore Black *FvwmWinListFont -adobe-helvetica-bold-r-*-*-10-*-*-*-*-*-*-* *FvwmWinListAction Click1 Iconify -1,Focus *FvwmWinListAction Click2 Iconify *FvwmWinListAction Click3 Module "FvwmIdent" FvwmIdent *FvwmWinListUseSkipList *FvwmWinListGeometry +0-1 *FvwmBackerDesk 0 -solid steelblue *FvwmBackerDesk 1 -solid midnightblue *FvwmScrollBack grey40 *FvwmScrollFore green ############################################################ ############################################################ # Note that icons are shown in the module # only if NoIcon commnand is applied. #Style "*" NoIcon ############################################################ #Module FvwmIconBox *FvwmIconBoxIconBack #cfcfcf *FvwmIconBoxIconHiFore black *FvwmIconBoxIconHiBack LightSkyBlue *FvwmIconBoxBack #5f9ea0 #*FvwmIconBoxFore blue *FvwmIconBoxGeometry 5x1+0+0 *FvwmIconBoxMaxIconSize 64x38 *FvwmIconBoxFont -adobe-helvetica-medium-r-*-*-12-*-*-*-*-*-*-* *FvwmIconBoxSortIcons IconName *FvwmIconBoxPadding 4 *FvwmIconBoxLines 10 *FvwmIconBoxSBWidth 11 *FvwmIconBoxPlacement Left Top *FvwmIconBoxPixmap fvwm.xpm #*FvwmIconBoxHideSC Horizontal *FvwmIconBoxSetWMIconSize *FvwmIconBoxHilightFocusWin #*FvwmIconBoxResolution Desk *FvwmIconBoxMouse 1 Click RaiseLower *FvwmIconBoxMouse 1 DoubleClick Iconify *FvwmIconBoxMouse 2 Click Iconify -1, Focus *FvwmIconBoxMouse 3 Click Module FvwmIdent *FvwmIconBoxKey r RaiseLower *FvwmIconBoxKey space Iconify *FvwmIconBoxKey d Close *FvwmIconBoxKey n Next *FvwmIconBoxKey p Prev *FvwmIconBoxKey h Left *FvwmIconBoxKey j Down *FvwmIconBoxKey k Up *FvwmIconBoxKey l Right # # Icon file specifications # # Mostly, you don't have to specify icon files, as FvwmIconBox now # reads icon files specified in Style commands. # *FvwmIconBox "Fvwm*" - ################## End of file ##########################################