# For the benefit of emacs users: -*- shell-script -*- ############################################################ # # # Section : Style # # # ############################################################ PixmapPath /home/phil/.fvwm/wood DeskTopSize 4x4 EdgeScroll 100 100 EdgeResistance 100 100 Style "*" BorderWidth 1 Style "*" HandleWidth 1 Style "*" MWMFunctions Style "*" MWMBorder Style "*" MWMDecor Style "*" DecorateTransient # Style "*" SmartPlacement # Style "*" RandomPlacement Style "*" ActivePlacement Style "*" NoPPosition Style "*" IconBox 0 0 50 -1 Style "Fvwm*" NoTitle Style "Fvwm*" WindowListSkip Style "Fvwm*" CirculateSkip Style "FvwmButtons" Sticky Style "FvwmIconMan" Sticky #Style "FvwmPager" Sticky, StaysOnTop, Handles, HandleWidth 5 Style "FvwmPager" Sticky, Handles, HandleWidth 0 Style "FvwmIdent" Title Style "FvwmIdent" WindowListHit Style "FvwmIdent" CirculateHit # Add icons to some common programs Style "Emacs" Icon gnu-animal.xpm, MiniIcon mini.emacs.xpm Style "Xterm" Icon xterm-linux.xpm, MiniIcon mini.xterm.xpm Style "Ghostview" Icon gv.xpm Style "Gnuplot" Icon graphs.xpm Style "Xcalc" Icon xcalc.xpm, MiniIcon mini-calc.xpm Style "Xbiff" Icon mail1.xpm, MiniIcon mini-mail.xpm Style "Xman" Icon xman.xpm, MiniIcon mini-manual.xpm Style "Xmag" Icon mag_glass.xpm, MiniIcon mini.xmag.xpm Style "Mosaic" Icon Mosaic.xpm Style "Netscape" Icon nscape.xpm, MiniIcon mini-nscape.xpm Style "Xpaint" Icon xpaint.xpm, MiniIcon mini.xpaint.xpm Style "Manual Page" Icon xman.xpm, MiniIcon mini-manual.xpm Style "Xedit" Icon textedit.xpm, MiniIcon mini-edit.xpm Style "*" Icon default.xbm Style * HilightBack forestgreen Style * HilightFore limegreen Style * ForeColor black Style * BackColor burlywood Style * Font -adobe-helvetica-bold-r-*-*-10-* ############################################################ # # # Section : Buttons Style # # # ############################################################ TitleStyle Height 14 TitleStyle -- Flat #TitleStyle (VGradient 128 2 blue1 50 blue3 50 blue1)-- Flat #TitleStyle (VGradient 50 DarkOrchid2 Violet)-- Flat #TitleStyle (HGradient 50 DarkOrchid2 Grey60)-- Flat #TitleStyle ActiveDown (HGradient 128 2 royalblue3 50 royalblue1 50 royalblue3)-- Flat #TitleStyle (VGradient 20 grey85 grey50) -- Flat TitleStyle ActiveDown TiledPixmap dark_wood.xpm -- Flat TitleStyle ActiveUp TiledPixmap dark_wood.xpm -- Flat TitleStyle Inactive TiledPixmap dark_wood.xpm -- Flat #ButtonStyle 1 (MiniIcon -- Flat) #ButtonStyle 1 (VGradient 128 2 royalblue1 50 royalblue3 50 royalblue1)-- Flat #ButtonStyle 1 Inactive (VGradient 128 2 grey85 50 grey70 50 grey50) -- Flat ButtonStyle All -- UseTitleStyle #ButtonStyle All (VGradient 20 grey85 grey50) -- Flat AddButtonStyle 1 ActiveUp (5 01x01@0 99x01@0 99x99@0 01x99@0 01x01@0) --Flat AddButtonStyle 1 ActiveDown (5 01x01@0 99x01@0 99x99@0 01x99@0 01x01@0) --Flat AddButtonStyle 1 Inactive (5 01x01@0 99x01@0 99x99@0 01x99@0 01x01@0) --Flat #AddButtonStyle 1 ActiveUp (2 01x01@1 01x01@1) -- Flat #AddButtonStyle 1 ActiveDown (2 01x01@1 01x01@1) -- Flat #AddButtonStyle 1 Inactive (2 01x01@1 01x01@1) -- Flat # Button 2: delete #delete now #ButtonStyle 2 (VGradient 128 2 royalblue1 50 royalblue3 50 royalblue1)-- Flat #ButtonStyle 2 Inactive (VGradient 128 2 grey85 50 grey70 50 grey50) -- Flat AddButtonStyle 2 ActiveUp (13 20x20@0 80x80@0 85x80@0 25x20@0 30x20@0 90x80@0 50x50@0 20x80@0 80x20@0 85x20@0 25x80@0 30x80@0 90x20@0) -- Flat AddButtonStyle 2 ActiveDown (13 20x20@1 80x80@1 85x80@1 25x20@1 30x20@1 90x80@1 50x50@1 20x80@1 80x20@1 85x20@1 25x80@1 30x80@1 90x20@1) -- Flat AddButtonStyle 2 Inactive (13 20x20@0 80x80@0 85x80@0 25x20@0 30x20@0 90x80@0 50x50@0 20x80@0 80x20@0 85x20@0 25x80@0 30x80@0 90x20@0) -- Flat #ButtonStyle 2 ActiveUp (13 20x50@0 01x20@0 20x01@0 50x20@0 80x01@0 99x20@0 80x50@0 99x80@0 80x99@0 50x80@0 20x99@0 01x80@0 20x50@0) -- Flat #ButtonStyle 2 ActiveDown (13 20x50@1 01x20@1 20x01@1 50x20@1 80x01@1 99x20@1 80x50@1 99x80@1 80x99@1 50x80@1 20x99@1 01x80@1 20x50@1) -- Flat #ButtonStyle 2 Inactive (13 20x50@0 01x20@0 20x01@0 50x20@0 80x01@0 99x20@0 80x50@0 99x80@0 80x99@0 50x80@0 20x99@0 01x80@0 20x50@0) -- Flat #ButtonStyle 2 ActiveUp (13 20x50@0 01x20@0 20x01@0 50x20@0 80x01@0 99x20@0 80x50@0 99x80@0 80x99@0 50x80@0 20x99@0 01x80@0 20x50@0) -- Flat #ButtonStyle 2 ActiveDown (13 20x50@1 01x20@1 20x01@1 50x20@1 80x01@1 99x20@1 80x50@1 99x80@1 80x99@1 50x80@1 20x99@1 01x80@1 20x50@1) -- Flat #ButtonStyle 2 Inactive (13 20x50@0 01x20@0 20x01@0 50x20@0 80x01@0 99x20@0 80x50@0 99x80@0 80x99@0 50x80@0 20x99@0 01x80@0 20x50@0) -- Flat # Button 6: Minimize (image of large window being shrunk down) #ButtonStyle 6 (VGradient 128 2 royalblue1 50 royalblue3 50 royalblue1)-- Flat #ButtonStyle 6 Inactive (VGradient 128 2 grey85 50 grey70 50 grey50) -- Flat AddButtonStyle 6 ActiveUp (4 25x80@0 85x80@0 85x75@0 25x75@0 25x70@0 85x70@0) -- Flat AddButtonStyle 6 ActiveDown (4 25x80@1 85x80@1 85x75@1 25x75@1 25x70@1 85x70@1) -- Flat AddButtonStyle 6 Inactive (4 25x80@0 85x80@0 85x75@0 25x75@0 25x70@0 85x70@0) -- Flat #AddButtonStyle 6 ActiveUp (8 01x50@0 50x99@0 99x50@0 80x50@0 80x10@0 20x10@0 20x50@0 01x50@0) -- Flat #AddButtonStyle 6 ActiveDown (8 01x50@1 50x99@1 99x50@1 80x50@1 80x10@1 20x10@1 20x50@1 01x50@1) -- Flat #AddButtonStyle 6 Inactive (8 01x50@0 50x99@0 99x50@0 80x50@0 80x10@0 20x10@0 20x50@0 01x50@0) -- Flat #Button 4: Maximize #ButtonStyle 4 (VGradient 128 2 royalblue1 50 royalblue3 50 royalblue1)-- Flat #ButtonStyle 4 Inactive (VGradient 128 2 grey85 50 grey70 50 grey50) -- Flat AddButtonStyle 4 ActiveUp (7 20x20@0 90x20@0 90x25@0 20x25@0 20x80@0 90x80@0 90x20@0) -- Flat AddButtonStyle 4 ActiveDown (7 20x20@1 90x20@1 90x25@1 20x25@1 20x80@1 90x80@1 90x20@1) -- Flat AddButtonStyle 4 Inactive (7 20x20@0 90x20@0 90x25@0 20x25@0 20x80@0 90x80@0 90x20@0) -- Flat #ButtonStyle 4 ActiveUp (8 01x50@0 50x01@0 99x50@0 80x50@0 80x90@0 20x90@0 20x50@0 01x50@0) -- Flat #ButtonStyle 4 ActiveDown (8 01x50@1 50x01@1 99x50@1 80x50@1 80x90@1 20x90@1 20x50@1 01x50@1) -- Flat #ButtonStyle 4 Inactive (8 01x50@0 50x01@0 99x50@0 80x50@0 80x90@0 20x90@0 20x50@0 01x50@0) -- Flat #ButtonStyle 1 (13 50x50@0 01x20@1 20x01@1 50x50@0 80x01@0 99x20@0 50x50@0 99x80@0 80x99@0 50x50@0 20x99@0 01x80@0 50x50@0) -- Flat #ButtonStyle 1 (13 20x50@0 01x20@0 20x01@0 50x20@0 80x01@0 99x20@0 80x50@0 99x80@0 80x99@0 50x80@0 20x99@0 01x80@0 20x50@0) -- Flat #ButtonStyle 1 (13 20x50@0 01x20@0 20x01@1 50x20@1 80x01@1 99x20@1 80x50@0 99x80@1 80x99@0 50x80@0 20x99@0 01x80@0 20x50@1) -- Flat #ButtonStyle 1 (8 01x50@0 50x01@0 99x50@0 80x50@0 80x99@0 20x99@0 20x50@0 01x50@0) -- Flat #ButtonStyle 1 (13 01x50@1 50x01@1 99x50@1 80x50@0 80x60@0 99x60@1 99x99@1 01x99@0 01x60@1 20x60@1 20x50@1 01x50@0 01x50@1) -- Flat #ButtonStyle 1 (8 01x50@1 50x99@01 99x50@0 80x50@0 80x01@0 20x01@1 20x50@1 01x50@1) -- Flat #ButtonStyle 1 (8 01x50@0 50x01@0 99x50@0 80x50@0 80x90@0 20x90@0 20x50@0 01x50@0) -- Flat # croix #ButtonStyle 2 ActiveUp (13 20x50@0 01x20@0 20x01@1 50x20@1 80x01@1 99x20@1 80x50@0 99x80@1 80x99@0 50x80@0 20x99@0 01x80@0 20x50@1) -- Flat #MenuStyle * Foreground gray90, Background royalblue3, SeparatorsShort #MenuStyle * Hilight3DOff, HilightBack green, ActiveFore gray17 ##MenuStyle * Animation ##MenuStyle * TrianglesSolid #MenuStyle * Font -mdk-helvetica-medium-r-normal--12-120-75-75-p-64-tis620.2533-1, PopupOffset 1 90 #MenuStyle * MenuFace VGradient 128 1 royalblue3 50 royalblue1 50 royalblue1 #MenuStyle * Background dark_wood.xpm #MenuStyle * MenuFace Pixmap dark_wood.xpm MenuStyle * WIN, PopupDelayed, PopupDelay 150 MenuStyle * Foreground burlywood, Greyed tan MenuStyle * Font 9x15bold, Animation, Hilight3DThin MenuStyle * MenuFace TiledPixmap dark_wood.xpm MenuStyle * ActiveFore forestgreen, HilightBack burlywood MenuStyle * PopupOffset 1 100 ############################################################ # # # Section Menu # # # ############################################################ DestroyMenu /Debian AddToMenu /Debian + "Xterm" Exec exec xterm + "" Nop # Read the auto-generated menus Read /etc/X11/fvwm/menudefs.hook Quiet AddToMenu /Debian + "" Nop + "Exit Fvwm" Popup Quit-Verify # or: # + "Exit Fvwm" Module FvwmForm QuitVerify # # The Quit-Verify menu checks that the user really wants to exit. # DestroyMenu Quit-Verify AddToMenu Quit-Verify "Really quit FVWM?" Title + "No, restart Fvwm" Restart fvwm2 + "" Nop + "Yes, really quit" Quit DestroyMenu Window-Ops AddToMenu Window-Ops "Alt-F1: Window Ops" Title + "Alt-F2: Main Menu" Popup /Debian + "Alt-F3: Lower" Lower + "Alt-F4: Raise" Raise + "Alt-F5: (De)Iconify" Iconify + "Alt-F6: Resize" Resize + "Alt-F7: Move" Move + "Alt-F8: (Un)Maximize to screen" Maximize 100 100 + "Alt-F9: (Un)Shade" WindowShade + "Alt-F10: Stick" Stick + " (Un)Maximize vertical" Maximize 0 100 + " (Un)Maximize horizontal" Maximize 100 0 + "" Nop + "Alt-F11: Close" Close + "Alt-F12: Destroy" Destroy ############################################################ # # # Section : Mouse # # # ############################################################ # # Each button gives a different menu from the background (root window). # Mouse 3 R A Menu /Debian Mouse 1 R A WindowList Mouse 2 R A Menu /TaskBar Mouse 3 T A WindowShade Mouse 2 T A Close Mouse 1 T A move-and-raise-or-raiselower Mouse 0 W M - Mouse 0 F A resize-or-raiselower Mouse 0 S A resize-or-raiselower # # Move or de-iconify an icon. # Mouse 0 I A move-or-winmenu-or-deiconify # # Buttons on the title bar (1,3,5,7,9 are on the left, 0,8,6,4,2 on # the right side of the title bar). Note that the bindings here # make more sense if the ButtonStyle's defined earlier are retained. # Mouse 0 1 A Popup Window-Ops Mouse 0 2 A Close Mouse 3 4 A Maximize 0 100 Mouse 1 4 A Maximize 100 100 Mouse 2 4 A Maximize 100 0 Mouse 0 6 A Iconify # For moving/resizing with (Ctrl)+Alt+Mouse 1 Mouse 1 W M Move Mouse 1 W CM Resize ############################################################ # # # Section : Keys # # # ############################################################ read /home/phil/.fvwm/keybinding Key Tab A M WindowList Key Tab A MS Prev [CurrentPage !iconic] focus-and-raise Key Tab A CM Next [CurrentPage] deiconify-and-focus Key Tab A CMS Prev [CurrentPage] deiconify-and-focus Key Left A M Scroll -100 +0 Key Up A M Scroll +0 -100 Key Right A M Scroll +100 +0 Key Down A M Scroll +0 +100 Key Left A MC Scroll -200 +0 Key Up A MC Scroll +0 -200 Key Right A MC Scroll +200 +0 Key Down A MC Scroll +0 +200 Key Right A MS move-to-page-right-phil Key Left A MS move-to-page-left-phil Key Up A MS move-to-page-up-phil Key Down A MS move-to-page-down-phil Key End A M Stick Key F1 A M Popup Window-Ops Key F2 A M Popup /Debian Key F3 A M Lower Key F4 A M Raise Key F5 A M Iconify Key F6 A M Resize Key F7 A M Move Key F8 A M Maximize 100 100 Key F9 A M WindowShade Key F10 A M Stick Key F11 A M Close Key F12 A M Destroy Key F8 A MS Maximize 0 100 Key F7 A MS Maximize 100 0 #Key XF86Sleep A - Popup Window-Ops #Key XF86PowerOff A - Popup /Debian #Key XF86WakeUp A - WindowList ############################################################ # # # Section : Fonctions # # # ############################################################ DestroyFunc move-or-winmenu-or-deiconify AddToFunc move-or-winmenu-or-deiconify + "M" Move + "C" Popup Window-Ops + "D" Iconify DestroyFunc deiconify-and-focus AddToFunc deiconify-and-focus + "I" Iconify -1 + "I" Focus DestroyFunc deiconify-and-raise AddToFunc deiconify-and-raise + "I" Iconify -1 + "I" Raise DestroyFunc focus-and-raise AddToFunc focus-and-raise + "I" Focus + "I" Raise DestroyFunc move-or-raiselower AddToFunc move-or-raiselower + "M" Move + "C" RaiseLower DestroyFunc move-and-raise-or-raiselower AddToFunc move-and-raise-or-raiselower + "M" Move + "M" Raise + "C" RaiseLower DestroyFunc move-or-raiselower-or-maximize-vertical AddToFunc move-or-raiselower-or-maximize-vertical + "M" Move + "C" RaiseLower + "D" Maximize 0 100 DestroyFunc resize-or-raiselower AddToFunc resize-or-raiselower + "M" Resize + "C" RaiseLower DestroyFunc move-to-page-right-phil AddToFunc move-to-page-right-phil + "I" MoveToPage +1p +0p + "I" GotoPage +1p +0p DestroyFunc move-to-page-left-phil AddToFunc move-to-page-left-phil + "I" MoveToPage -1p +0p + "I" GotoPage -1p +0p DestroyFunc move-to-page-up-phil AddToFunc move-to-page-up-phil + "I" MoveToPage +0p -1p + "I" GotoPage +0p -1p DestroyFunc move-to-page-down-phil AddToFunc move-to-page-down-phil + "I" MoveToPage +0p +1p + "I" GotoPage +0p +1p ############################################################ # # # Section : Modules # # # ############################################################ # # Configure a FvwmButtons module for the modules menu, but make sure # user can easily override it with their own - so name it DebianFvwmButtons. # To use this config, you need to invoke it as: # "Module FvwmButtons DebianFvwmButtons" # #*DebianFvwmButtonsFore White #*DebianFvwmButtonsBack DarkSlateGrey #*DebianFvwmButtonsGeometry 380x25-638-0 #*DebianFvwmButtonsRows 1 #*DebianFvwmButtons(Title Xterm, Icon xman.xpm, Action 'Exec exec xterm &') #*DebianFvwmButtons(Title Connect, Icon xterm.xpm, Action 'Exec exec pon &') #*DebianFvwmButtons(Title DeConnect, Icon gnu-animal.xpm, Action 'Exec exec poff &') #*DebianFvwmButtons(Title Netscape, Icon gnu-animal.xpm, Action 'Exec exec netscape &') #*DebianFvwmButtons(Title Black, Icon gnu-animal.xpm, Action 'Exec exec ~/bin/blackscreen &') #*DebianFvwmButtons(Title BackGnd, Icon gnu-animal.xpm, Action 'Exec exec ~/bin/background.tcl &') #*DebianFvwmButtonsFore White #*DebianFvwmButtonsBack DarkSlateGrey #*DebianFvwmButtonsGeometry 430x100-0-0 #*DebianFvwmButtonsRows 1 #*DebianFvwmButtons(Title Help, Icon xman.xpm, Action 'Exec exec xman &') #*DebianFvwmButtons(Title xterm, Icon xterm.xpm, Action 'Exec exec xterm &') #*DebianFvwmButtons(Title emacs, Icon gnu-animal.xpm, Action 'Exec exec emacs &') #*DebianFvwmButtons(2x1, Swallow(UseOld,NoKill) "FvwmPager") # # Configure the FvwmPager module # Module FvwmPager *FvwmPagerBack SlateGrey *FvwmPagerPixmap dark_wood.xpm *FvwmPagerFore Black *FvwmPagerFont none *FvwmPagerHilight DarkGreen *FvwmPagerGeometry -0-0 *FvwmPagerSmallFont -*-times-medium-r-*-*-*-80-*-*-*-*-*-* *FvwmPagerDeskTopScale 32 *FvwmPagerSmallFont 5x8 *FvwmPagerBalloons All *FvwmPagerBalloonBack Yellow *FvwmPagerBalloonFore Black *FvwmPagerBalloonFont lucidasanstypewriter-12 *FvwmPagerBalloonYOffset +2 *FvwmPagerBalloonBorderWidth 1 *FvwmPagerBalloonBorderColor Black