Warning: this is an htmlized version!
The original is here, and the conversion rules are here. |
# -*- mode: fvwm-generic; coding: raw-text-unix -*- # I'm trying to pack all my fvwm configs in a single file - this one. # Edrx, 2005feb17 # (find-man "1 fvwm" "-r | --replace") # (find-man "1 fvwm" "-f config-file\n") # fvwm -replace -f ~/.fvwm/.fvwm2rc # fvwm -replace -f ~/.fvwm/all.fvwm & # (find-angg ".fvwm/edrx-system.fvwm") # (find-angg ".fvwm/edrx-menus.fvwm") # (find-angg ".fvwm/edrx.fvwm") # (find-fline "/usr/share/doc/menu/examples/system.fvwm2rc.gz") # (find-fline "/hdd1/etc/X11/fvwm/system.fvwm2rc") # (code-c-d "woodyfvwm" "/big/hdd1/etc/X11/fvwm/") # # (find-efile "generic-x.el") # (progn (require 'generic-x) (fvwm-generic-mode) (font-lock-mode 1)) # «.borders» (to "borders") # «.window-placement» (to "window-placement") # «.style» (to "style") # «.window-styles» (to "window-styles") # «.key-bindings» (to "key-bindings") # «.tab» (to "tab") # «.mouse-bindings» (to "mouse-bindings") # «.ee» (to "ee") # «.FvwmCommand» (to "FvwmCommand") # «.moving-the-cursor» (to "moving-the-cursor") # «.meta-arrow» (to "meta-arrow") # «.4-v,h,b» (to "4-v,h,b") # «.4-f,g» (to "4-f,g") # «.restart-pager» (to "restart-pager") # «.functions» (to "functions") # «.debian-menu» (to "debian-menu") # «.menus» (to "menus") # «.window-ops-menu» (to "window-ops-menu") # (find-fvwmhelp "EdgeScroll horizontal[p] vertical[p]") # (find-fvwmhelp "EdgeResistance scrolling moving [xinerama-moving]") # DeskTopSize 6x4 EdgeScroll 100 100 EdgeResistance 0 20 # «borders» (to ".borders") # (find-woodyfvwmfile "system.fvwm2rc" "Style \"*\" BorderWidth 6") # (find-man "1 fvwm" "\n Borders") Style "*" BorderWidth 6 Style "*" HandleWidth 6 Style "*" MWMFunctions Style "*" MWMBorder Style "*" MWMDecor Style "*" DecorateTransient # «window-placement» (to ".window-placement") # (find-man "1 fvwm" "\n COMMANDS AFFECTING WINDOW MOVEMENT AND PLACEMENT") # (find-man "1 fvwm" "\n Window Manager placement") # (find-woodyfvwmfile "system.fvwm2rc" "Style \"*\" ActivePlacement") Style "*" ActivePlacement Style "*" ClickToFocus # «style» (to ".style") # (find-fvwmhelp "Style stylename options") # Style default-style UseDecor default-decor Style default-style Color white/steelblue Style default-style ClickToFocus Style "*" UseStyle default-style Style "*" HilightFore black Style "*" HilightBack peachpuff # «window-styles» (to ".window-styles") # Style "Fvwm*" NoTitle Style "Fvwm*" WindowListSkip Style "Fvwm*" CirculateSkip Style "FvwmButtons" Sticky Style "FvwmIconMan" Sticky Style "FvwmPager" Sticky, StaysOnBottom, Handles, HandleWidth 5 # (find-man "1 FvwmIdent") Style "FvwmIdent" Title Style "FvwmIdent" WindowListHit Style "FvwmIdent" CirculateHit MenuStyle "*" mwm, Foreground black, Background grey, Greyed white, \ Font -adobe-helvetica-bold-r-*-*-12-* # (find-woodyfvwmfile "system.fvwm2rc" "# Configure the FvwmPager module") # (find-man "FvwmPager") *FvwmPagerBack SlateGrey *FvwmPagerFore Black *FvwmPagerFont none *FvwmPagerHilight SlateBlue4 *FvwmPagerGeometry -0-0 *FvwmPagerSmallFont -*-times-medium-r-*-*-*-80-*-*-*-*-*-* # «key-bindings» (to ".key-bindings") # (find-woodyfvwmfile "system.fvwm2rc" "# Section: Key bindings") # (find-fvwmhelp "Key ") # A=anywhere, C/M/S=control/meta/shift. See the section on mouse bindings, # below.. # # «tab» (to ".tab") # Key Tab A M Next [CurrentPage !iconic] focus-and-raise 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 Tab A 4 Next [CurrentPage !iconic] focus-and-raise # (find-fvwmhelp "Key Keyname Context Modifiers Function") # (find-fvwmhelp "Next [(conditions)] command") Key F1 A 4 Popup Window-Ops Key F2 A 4 Popup /Debian Key F3 A 4 Lower Key F4 A 4 WindowList Key F5 A 4 Prev Key F6 A 4 Next Key F7 A 4 Move Key F8 A 4 Resize Key F9 A 4 Iconify Key F10 A 4 Maximize 100 100 Key F11 A 4 Raise Key F12 A 4 Stick # «meta-arrow» (to ".meta-arrow") # 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 # Remove the Meta-arrow bindings # (find-fvwmhelp "Key Keyname Context Modifiers Function" "'-'") # (find-fline "/etc/X11/fvwm/system.fvwm2rc" "Key Left A M") # Key Left A M - # Key Up A M - # Key Right A M - # Key Down A M - # (find-man "1 fvwm" "BUILT-IN KEY AND MOUSE BINDINGS") # (find-man "1 fvwm" "Tear Off Menus") # «mouse-bindings» (to ".mouse-bindings") # (find-fvwmhelp "Key Keyname Context Modifiers Function") # (find-fvwmhelp "Mouse Button Context Modifiers Function") # Key Keyname Context Modifiers Function # Mouse Button Context Modifiers Function # 1: left button # 2: middle button (or left+right) # 3: right button # 0: any button # R: root window # W: application window # D: desktop application (as kdesktop or Nautilus desktop) # T: window title-bar # S: window side, top, or bottom bar # F: window frame (the corners) # []-_: left, right, top or bottom side # <^>v: top left, top right, bottom right, bottom left corners # I: icon window # 13579 08642: title-bar buttons (1=leftmost, 2=rightmost) # A: any context # N: no modifiers # C: Control # S: Shift # M: Meta # L: Caps-Lock (ignored by default) # 12345: mod1..mod5 (mod4=Windows key) # A: any modifier # Mouse 1 R A Menu /Debian # root window, button 1 (left) Mouse 2 R A Menu Window-Ops # root window, button 2 (middle) Mouse 3 R A WindowList # root window, button 3 (middle) # Mouse 0 T A move-and-raise-or-raiselower # title bar Mouse 0 F A resize-or-raiselower # corners Mouse 0 S A resize-or-raiselower # side/top/bottom # Window buttons (13579 08642) Mouse 0 1 A Popup Window-Ops # "-" button, click with any Mouse 0 2 A Close # "X" button, 2nd from the left Mouse 1 4 A Maximize 0 100 # rightmost Mouse 2 4 A Maximize 100 100 Mouse 3 4 A Maximize 100 0 Mouse 0 6 A Iconify # (find-woodyfvwmfile "system.fvwm2rc" "DestroyDecor default-decor") # DestroyDecor default-decor AddToDecor default-decor + ButtonStyle Reset + ButtonStyle 2 Vector 17 20x20@1 30x20@1 50x40@1 70x20@1 80x20@1 80x30@0 \ 60x50@0 80x70@0 80x80@0 70x80@0 50x60@0 30x80@0 \ 20x80@0 20x70@1 40x50@1 20x30@0 20x20@1 # an X + ButtonStyle 4 Vector 5 25x75@0 75x75@0 75x25@0 25x25@1 25x75@1 # a square + ButtonStyle 6 Vector 4 50x75@1 25x25@1 75x25@1 50x75@0 # a nabla ### ### ee ### # «ee» (to ".ee") # «FvwmCommand» (to ".FvwmCommand") # (find-man "FvwmConsole") # (find-fvwmhelp "DestroyFunc function") # (find-fvwmhelp "AddToFunc [ name [ I | M | C | H | D action ]]") DestroyFunc ee AddToFunc ee "I" read ee.fvwm # (find-man "FvwmCommandS") # (find-man "FvwmCommand") # (shell-command-to-string "FvwmCommand 'CursorMove +5 +2'") # AddToFunc StartFunction "I" Module FvwmCommandS # (find-man "fvwm") # (find-man "fvwm" "\nINITIALIZATION") #* # «moving-the-cursor» (to ".moving-the-cursor") # (eeb-fvwm) # (find-fvwmhelp "Key Keyname Context Modifiers Function") # Modifier4 is the left "Windows" key. # (eev "xmodmap; xev") # Moving the cursor a full page: (Anywhere) Mod4-arrowkey # (find-fvwmhelp "CursorMove horizontal[p] vertical[p]") Key Left A 4 CursorMove -100 +0 Key Right A 4 CursorMove +100 +0 Key Up A 4 CursorMove +0 -100 Key Down A 4 CursorMove +0 +100 # Moving the cursor 64 pixels: (Anywhere) Ctrl-Mod4-arrowkey Key Left A C4 CursorMove -64p +0p Key Right A C4 CursorMove +64p +0p Key Up A C4 CursorMove +0p -64p Key Down A C4 CursorMove +0p +64p # Moving the cursor 16 pixels: (Anywhere) Ctrl-Shift-Mod4-arrowkey Key Left A CS4 CursorMove -16p +0p Key Right A CS4 CursorMove +16p +0p Key Up A CS4 CursorMove +0p -16p Key Down A CS4 CursorMove +0p +16p # Moving the cursor 4 pixels: (Anywhere) Shift-Mod4-arrowkey Key Left A S4 CursorMove -4p +0p Key Right A S4 CursorMove +4p +0p Key Up A S4 CursorMove +0p -4p Key Down A S4 CursorMove +0p +4p # «4-v,h,b» (to ".4-v,h,b") # «4-f,g» (to ".4-f,g") # (find-fvwmhelp "Maximize [flags] [bool] [horizontal[p]] [vertical [p]]") # 4-v - maximize/unmaximize vertically # 4-h - maximize/unmaximize horizontally # 4-b - maximize/unmaximize both horizontally and vertically # 4-f - make the current window "full" (no borders or title bar) Key v A 4 Maximize 0 100 # vertical Key h A 4 Maximize 100 0 # horizontal Key b A 4 Maximize 100 100 # both # Key f A 4 WindowStyle NoTitle, !Borders # full (no borders or title bar) Key g A 4 WindowStyle Title, Borders # non-full # Key p A 4 pager-to-bottom Key p A C4 pager-to-top Key p A S4 no-pager # «restart-pager» (to ".restart-pager") # (find-man "1 FvwmPager") # (find-man "1 FvwmPager" "*FvwmPager: DeskTopScale number") *FvwmPager: DeskTopScale 50 # (find-fvwmhelp "KillModule modulename [modulealias]") KillModule FvwmPager Module FvwmPager # «functions» (to ".functions") # (find-fvwmhelp "AddToFunc [name [I | M | C | H | D action]]") # The letter before the action tells what kind of action triggers the # command which follows it. # I: Immediate # M: Motion (user moves the mouse) # C: Click # H: Hold # D: Double-click # # Standard functions # DestroyFunc deiconify-and-focus AddToFunc deiconify-and-focus + "I" Iconify -1 + "I" Focus 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 resize-or-raiselower AddToFunc resize-or-raiselower + "M" Resize + "C" RaiseLower # Non-standard functions for the pager # DestroyFunc pager-to-bottom AddToFunc pager-to-bottom + "I" KillModule FvwmPager + "I" Style "FvwmPager" StaysOnBottom + "I" Module FvwmPager DestroyFunc pager-to-top AddToFunc pager-to-top + "I" KillModule FvwmPager + "I" Style "FvwmPager" StaysOnTop + "I" Module FvwmPager DestroyFunc no-pager AddToFunc no-pager + "I" KillModule FvwmPager #### #### Menus #### # Build the /Debian menu adding a few extra things. # «debian-menu» (to ".debian-menu") # (find-man "1 fvwm" "MissingSubmenuFunction") # (find-man "1 fvwm-menu-directory") # (find-man "1 fvwm-menu-directory" "+ I PipeRead") # (find-fline "/usr/bin/fvwm-menu-directory") # http://www.zensites.net/fvwm/guide/advanced_menu.html # (find-woodyfvwmfile "system.fvwm2rc" "AddToMenu /Debian") # (find-fvwmhelp "Menu menu-name [position] [double-click-action]") # (find-fvwmhelp "Popup PopupName [position] [default-action]") # (find-fvwmhelp "AddToMenu menu-name [menu-label action]") DestroyMenu Quit-Verify AddToMenu Quit-Verify "Really quit FVWM?" Title + "No, restart Fvwm" Restart + "" Nop + "Yes, really quit" Quit DestroyMenu /Debian # (find-fline "/etc/X11/fvwm/menudefs.hook") # Read "/etc/X11/fvwm/menudefs.hook" Read "/etc/X11/fvwm/menudefs.hook" Quiet AddToMenu /Debian + "" Nop + "xterm" Exec xterm + "uxterm" Exec uxterm + "xzoom" Exec xzoom + "FvwmConsole" Module FvwmConsole + "xmms" Exec xmms + "Xscreenshot" Exec Xscreenshot + "Xscreenshot-rect" Exec Xscreenshot-rect + "Xscreenshot-rect ee" Exec sh -c 'source $EEVTMPDIR/ee.getrect' + "Xscreenshot: xzgv" Exec xzgv /tmp/screenshots/ + "" Nop + "Exit Fvwm" Popup Quit-Verify # (find-angg "elisp/eeimage.el") # (find-angg "bin/Xscreenshot") # (find-angg "bin/Xscreenshot-rect") # «menus» (to ".menus") # (find-angg ".fvwm/main-menu.hook") # (find-fline "/etc/X11/fvwm/system.fvwm2rc.gz") # (find-fline "/etc/X11/fvwm/system.fvwm2rc" "AddToMenu Window-Ops") # (find-fline "/etc/X11/fvwm/system.fvwm2rc" "# Section: Key bindings") # (find-fline "/etc/X11/fvwm/system.fvwm2rc" "# Section: post.hook") # «window-ops-menu» (to ".window-ops-menu") # (find-woodyfvwmfile "system.fvwm2rc" "# The Window-Ops menu") DestroyMenu Window-Ops AddToMenu Window-Ops "Alt-F1: Window Ops" Title + "Alt-F2: Main Menu" Popup /Debian + "Alt-F3: Lower" Lower + "Alt-F4: Window List" WindowList + "Alt-F5: Previous" Prev + "Alt-F6: Next" Next + "Alt-F7: Move" Move + "Alt-F8: Resize" Resize + "Alt-F9: (De)Iconify" Iconify + "Alt-F10: (Un)Maximize to screen" Maximize 100 100 + "Alt-F11: Raise" Raise + "Alt-F12: (Un)Stick" Stick + " (Un)Maximize vertical" Maximize 0 100 + " (Un)Maximize horizontal" Maximize 100 0 + " (Un)Shade" WindowShade + "" Nop + " ScrollBar" Module FvwmScroll 2 2 + "" Nop + " Destroy" Destroy + " Close" Close # (find-man "1 fvwm" "\n MODULE COMMANDS")