Warning: this is an htmlized version!
The original is here, and the conversion rules are here. |
# This file: # http://angg.twu.net/.fvwm/.fvwm2rc.html # http://angg.twu.net/.fvwm/.fvwm2rc # (find-angg ".fvwm/.fvwm2rc") # Author: Eduardo Ochs <eduardoochs@gmail.com> # # (defun fc () (interactive) (find-angg ".fvwm/config")) # (defun fr () (interactive) (find-angg ".fvwm/.fvwm2rc")) # (defun e () (interactive) (find-angg ".fvwm/.fvwm2rc")) # This file: # http://angg.twu.net/.fvwm/.fvwm2rc.html # http://angg.twu.net/.fvwm/.fvwm2rc # (find-angg ".fvwm/.fvwm2rc") # Edrx, 2013nov12 # (find-fvwmhelp "$HOME/.fvwm/config") # (find-fvwmhelp "Read filename [quiet]") # (find-fvwmhelp "PipeRead command [quiet]") # (find-fvwmhelp "Silent command") # (find-fvwmhelp "Exec command") # Obsolete - I gathered all the configs into a single (big) file. # Read "nokeys.fvwm" # (find-angg ".fvwm/nokeys.fvwm") # Read "keys.fvwm" # (find-angg ".fvwm/keys.fvwm") # Read "withkeys.fvwm" # (find-angg ".fvwm/withkeys.fvwm") # (find-angg ".fvwm/") # (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 & # «.desktop» (to "desktop") # «.borders» (to "borders") # «.window-placement» (to "window-placement") # «.style» (to "style") # «.window-styles» (to "window-styles") # «.style-bare» (to "style-bare") # «.style-fullscreen» (to "style-fullscreen") # «.northeast» (to "northeast") # «.mouse-bindings» (to "mouse-bindings") # «.ee» (to "ee") # «.FvwmCommand» (to "FvwmCommand") # «.restart-pager» (to "restart-pager") # «.functions» (to "functions") # «.debian-menu» (to "debian-menu") # «.restart» (to "restart") # «.KeyboardMenu» (to "KeyboardMenu") # «.UnclutterMenu» (to "UnclutterMenu") # «.DebianMenu» (to "DebianMenu") # «.menus» (to "menus") # «.window-ops-menu» (to "window-ops-menu") # «.key-bindings» (to "key-bindings") # «.tab» (to "tab") # «.meta-arrow» (to "meta-arrow") # «.moving-the-cursor» (to "moving-the-cursor") # «.4-v,h,b» (to "4-v,h,b") # «.4-f,g» (to "4-f,g") # «.Mod4Menu» (to "Mod4Menu") # «.no-super-key» (to "no-super-key") # «.numlock» (to "numlock") # «desktop» (to ".desktop") # (find-man "1 fvwm3") # (find-fvwmhelp "DeskTopSize") # (find-fvwmhelp "EdgeScroll horizontal[p] vertical[p]") # (find-fvwmhelp "EdgeResistance scrolling moving [xinerama-moving]") # (find-fvwmhelp "EdgeResistance delayEdgeResistance scrolling moving") # DeskTopSize 6x4 EdgeScroll 100 100 # EdgeResistance 0 20 EdgeResistance 0 Style * EdgeMoveDelay 0 Style * EdgeMoveResistance 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-man "1 fvwm" "\n Window Manager placement" "ManualPlacement") # (find-man "1 fvwm" "\n Window Manager placement" " ManualPlacement") # (find-woodyfvwmfile "system.fvwm2rc" "Style \"*\" ActivePlacement") Style "*" ActivePlacement Style "*" ClickToFocus # «style» (to ".style") # (find-fvwmhelp "Style stylename options") # (find-fvwmhelp "Style stylename options" "Color takes two arguments") # 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") # (find-man "1 fvwm" "WindowListSkip styles") # (find-man "1 fvwm" "CirculateSkip and CirculateHit") # (find-man "1 fvwm" "HandleWidth takes a numeric argument") # 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-* # «style-bare» (to ".style-bare") # (find-es "fvwm" "style:bare") # (find-enode "Title X") # (find-bgprocess "emacs -T emacs23_bare") # (find-bgprocess "emacs -T emacs23_bare -fn 6x13 -geometry 167x49+0+0") Style "*bare" !Title, !Borders Style "emacs*bare" !Title, !Borders #Style "xzgv" !Title, !Borders Style bare !Title, !Borders Style baremanual UseStyle bare, ManualPlacement Style Bare !Title, !Borders Style BareManual UseStyle Bare, ManualPlacement # «style-fullscreen» (to ".style-fullscreen") # (find-es "fvwm" "fullscreen") # (find-man "1 fvwm" " Window Manager placement" "Center") Style "*fullscreen" PositionPlacement Center # «northeast» (to ".northeast") # (find-es "x" "geometry") # (find-es "love" "geometry") # (find-es "tcl" "wm-geometry") # Northeast windows (not implemented yet) # Ideally windows created by eechannel, eepitch-tk, eepitch-love, etc # should be placed in the norteast by default and should not steal the focus... # http://www.codinghorror.com/blog/2007/12/please-dont-steal-my-focus.html # (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-*-*-*-*-*-* # (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 [(window)] Keyname Context Modifiers Function") # (find-fvwmhelp "Mouse [(window)] 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) # # 2010aug08, for gnome: Mouse 1 D A Menu /Debian # root window, button 1 (left) Mouse 2 D A Menu Window-Ops # root window, button 2 (middle) Mouse 3 D A WindowList # # (find-man "1 fvwm" "Key Tab A M WindowList") # (find-man "1 fvwm" "WindowList [(conditions)]") # Mouse 0 T A move-or-raise # title bar Mouse 0 F A resize-or-raise # corners Mouse 0 S A resize-or-raise # side/top/bottom # 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-fvwmhelp "") # (find-fvwmhelp "AddToDecor") # (find-fvwmhelp "AddButtonStyle") # (find-fvwmhelp "ButtonStyle") # (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-es "fvwm" "FvwmCommand") # (find-man "1 FvwmConsole") # (find-fvwmhelp "DestroyFunc function") # (find-fvwmhelp "AddToFunc [ name [ I | M | C | H | D action ]]") # (find-fvwmhelp "AddToFunc [name [I | M | C | H | D action]]") # (find-fvwmhelp "Read filename [quiet]") DestroyFunc ee AddToFunc ee "I" read ee.fvwm # (find-man "1 FvwmCommand") # (find-man "1 FvwmCommand" "Module FvwmCommandS") # (find-man "1 fvwm" "initialization: StartFunction") # (find-man "1 fvwm" "AddToFunc [name [I | J | M | C | H | D action]]") # (find-man "1 fvwm" "DestroyFunc function") # (find-man "1 fvwm" "DestroyFunc StartFunction") # (find-sh0 "FvwmCommand 'CursorMove +5 +2'") # DestroyFunc StartFunction AddToFunc StartFunction + I Module FvwmCommandS + I Module FvwmMFL # (find-man "fvwm") # (find-man "fvwm" "\nINITIALIZATION") # «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-raise AddToFunc move-or-raise + "M" Move + "C" 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 DestroyFunc resize-or-raise AddToFunc resize-or-raise + "M" Resize + "C" Raise # 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]") # (find-fvwmhelp "DestroyMenu [recreate] menu") # «restart» (to ".restart") # (find-es "gnome" "pstree") # (find-fvwmhelp "Restart [window_manager [params]]") DestroyMenu Quit-Verify AddToMenu Quit-Verify "Really quit FVWM?" Title + "No, restart Fvwm" Restart + "Restart gnome-session" Restart gnome-session + "" Nop + "Yes, really quit" Quit # Obsolete: # + "fvwm -restart" Exec fvwm -replace -f withkeys.fvwm # + "fvwm -restart -f withkeys.fvwm" Exec fvwm -replace -f withkeys.fvwm # + "fvwm -restart -f nokeys.fvwm" Exec fvwm -replace -f nokeys.fvwm # + "" Nop # «KeyboardMenu» (to ".KeyboardMenu") # (find-es "x" "setxkbmap-switch") # (find-es "x" "mouse-parameters") # (find-angg "bin/mysetxkb") DestroyMenu KeyboardMenu AddToMenu KeyboardMenu "Mod4-K: Keyboard" Title + "xset mouse 0 0" Exec exec xset mouse 0 0 + "xset mouse default" Exec exec xset mouse default + "mysetxkb us" Exec exec mysetxkb us + "mysetxkb us_intl" Exec exec mysetxkb us_intl + "mysetxkb abnt2" Exec exec mysetxkb abnt2 + "mysetxkb xkbprint" Exec exec mysetxkb xkbprint # «UnclutterMenu» (to ".UnclutterMenu") # (find-es "x" "setxkbmap-switch") DestroyMenu UnclutterMenu AddToMenu UnclutterMenu "4-u: Unclutter" Title + "unclutter -idle 1 -root" Exec exec unclutter -idle 1 -root + "killall unclutter" Exec exec killall unclutter # «DebianMenu» (to ".DebianMenu") # (find-eevfile "debian/eev.menu") DestroyMenu /Debian AddToMenu /Debian Read "/etc/X11/fvwm/menudefs.hook" Quiet # (find-fline "/etc/X11/fvwm/menudefs.hook") # (find-sh "grep Destroy /etc/X11/fvwm/menudefs.hook") + "" Nop # (find-angg "bin/myxsettings") + "myxsettings (C4-s)" Exec $HOME/bin/myxsettings + "xterm (C4-x)" Exec xterm + "alsamixer (C4-m)" Exec xterm alsamixer + "xzoom" Exec xzoom # + "" Nop # + "uxterm" Exec uxterm # + "xzgv /tmp/d/" Exec xzgv /tmp/d/ -z -t -geometry=740x520 # + "xterm -e aumix" Exec exec xterm -e aumix # + "xmms" Exec xmms + "keyboard (C4-k)" Popup KeyboardMenu + "unclutter (C4-u)" Popup UnclutterMenu # (find-angg "bin/Xscreenshot") # (find-angg "bin/Xscreenshot-rect") # + "DeskTopSize 1x1" DeskTopSize 1x1 + "DeskTopSize 6x4" DeskTopSize 6x4 # + "Xscreenshot" Exec exec $HOME/bin/Xscreenshot + "Xscreenshot-rect" Exec exec $HOME/bin/Xscreenshot-rect + "Xscreenshot-rect ee" Exec exec sh -c 'source $HOME/.eev/ee.getrect' + "Xscreenshot: xzgv" Exec exec xzgv /tmp/screenshots/ + "end screencast" Exec exec $HOME/bin/scast k + "" Nop + "FvwmConsole" Module FvwmConsole + "sudo pm-suspend" Exec sudo /usr/sbin/pm-suspend + "Exit Fvwm" Popup Quit-Verify # (find-angg "elisp/eeimage.el") # (find-angg "bin/myxsettings") # (find-angg "bin/Xscreenshot") # (find-angg "bin/Xscreenshot-rect") # (find-node "(xzgv)Invoking xzgv" "`--geometry GEOM'") # «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 "Mod4-F1: Window Ops" Title + "Mod4-F2: Main Menu" Popup /Debian + "Mod4-F3: Lower" Lower + "Mod4-F4: Window List" WindowList + "Mod4-F5: Previous" Prev + "Mod4-F6: Next" Next + "Mod4-F7: Move" Move + "Mod4-F8: Resize" Resize # + "Mod4-F9: (De)Iconify" Iconify + "Mod4-F9: (De)Iconify" deiconify-and-focus + "Mod4-F10: (Un)Maximize to screen" Maximize 100 100 + "Mod4-F11: Raise" Raise + "Mod4-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") # -------- # -*- mode: fvwm-generic; coding: raw-text-unix -*- # Edrx, 2005feb20 # All the keybindings of my fvwm configuration. The non-keybinding # commands are in another file. # (find-angg ".fvwm/") # (find-angg ".fvwm/keys.fwvm") # (find-angg ".fvwm/nokeys.fvwm") # (find-angg ".fvwm/withkeys.fvwm") # (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-efile "generic-x.el") # (progn (require 'generic-x) (fvwm-generic-mode) (font-lock-mode 1)) # «key-bindings» (to ".key-bindings") # (find-woodyfvwmfile "system.fvwm2rc" "# Section: Key bindings") # (find-fvwmhelp "Key ") # (find-fvwmhelp "Conditions" "commas") # 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 [(window)] 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 - # «moving-the-cursor» (to ".moving-the-cursor") # (eeb-fvwm) # (find-fvwmhelp "Key [(window)] Keyname Context Modifiers Function" "'-'") # Modifier4 is the left "Windows" key. # (eev "xmodmap; xev") # (find-man "xmodmap") # (find-sh "xmodmap") # (find-comintprocess "xev" "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 # 4-v: maximize vertically (toggle) # Key h A 4 Maximize 100 0 # 4-h: maximize horizontally (toggle) # Key b A 4 Maximize 100 100 # 4-b: maximize both ways (toggle) # Key f A 4 WindowStyle NoTitle, !Borders # 4-f: full (no borders or title bar) # Key g A 4 WindowStyle Title, Borders # 4-g: put back borders and title bar Key s A C4 Exec $HOME/bin/myxsettings Key x A C4 Exec xterm Key m A C4 Exec xterm -geometry +200+200 alsamixer Key m A 4 Exec xterm -geometry +200+200 alsamixer Key k A C4 Popup KeyboardMenu Key u A C4 Popup UnclutterMenu Key p A 4 pager-to-bottom # 4-p: pager-to-bottom Key p A C4 pager-to-top # C4-p: pager-to-top Key p A S4 no-pager # S4-p: no-pager # Key x A S4 Exec xterm -fn 10x20 # To do: classes "Normal" and "Bare" # so that "xterm -class Bare" would create a borderless window. # (find-man "7 X") # (find-fvwmhelp "Style stylename options") # «Mod4Menu» (to ".Mod4Menu") # (find-es "fvwm" "menus-with-hot-keys") # To activate (from Emacs, in Mod4-less keyboards): # (find-fvwm0 "Key F1 A M Popup Mod4Menu") DestroyMenu Mod4Menu AddToMenu Mod4Menu "Mod4-keys" Title + "4-&v: maximize vertically (toggle)" Maximize 0 100 + "4-&h: maximize horizontally (toggle)" Maximize 100 0 + "4-&b: maximize both ways (toggle)" Maximize 100 100 + "4-&f: full (no borders or title bar)" WindowStyle NoTitle, !Borders + "4-&g: put back borders and title bar" WindowStyle Title, Borders + "" Nop + "4-&k: KeyboardMenu" Popup KeyboardMenu + "4-&u: UnclutterMenu" Popup UnclutterMenu Key F1 A M Popup Mod4Menu # «no-super-key» (to ".no-super-key") # (find-angg ".emacs" "no-super-key") Key F5 A M WindowStyle NoTitle, !Borders # no borders Key F6 A M WindowStyle Title, Borders # borders Key F7 A M Maximize 0 100 # maximize vertically (toggle) Key F8 A M Maximize 100 100 # maximize both ways (toggle) # # For machines without a Mod4 key. # # This doesn't work, but the Emacs function does. # DestroyFunc no-super-key # AddToFunc no-super-key # + "I" Key F5 A M WindowStyle NoTitle, !Borders # no borders # + "I" Key F6 A M WindowStyle Title, Borders # borders # + "I" Key F7 A M Maximize 0 100 # maximize vertically (toggle) # + "I" Key F8 A M Maximize 100 100 # maximize both ways (toggle) # # # (find-fvwmhelp "Key [(window)] Keyname Context Modifiers Function" "'-'") # DestroyFunc with-super-key # AddToFunc with-super-key # + "I" Key F5 A M - # + "I" Key F6 A M - # + "I" Key F7 A M - # + "I" Key F8 A M - # Tests: # (find-fvwm0 "no-super-key") # (find-fvwm0 "with-super-key") # To do: # Use this to test no-super-key and with-super-key: # (find-fvwmhelp "FakeKeypress") # Use this to move the Firefox window at startup: # (find-fvwmhelp "MoveToPage") # (find-angg ".emacs" "fvwm") # See: (find-eepitch-intro "3.3. `eepitch-preprocess-line'") # (setq eepitch-preprocess-regexp "^") # (setq eepitch-preprocess-regexp "^#: ") # #: * (eepitch-shell) #: * (eepitch-kill) #: * (eepitch-shell) # «numlock» (to ".numlock") # (find-es "fvwm" "numlock") IgnoreModifiers L25 # Local Variables: # coding: utf-8-unix # mode: fvwm-generic # End: