|
Warning: this is an htmlized version!
The original is here, and the conversion rules are here. |
# -*- mode: fvwm-generic; coding: raw-text-unix -*-
# Standard settings taken from `system.fvwm2rc' files.
# Edrx, 2004aug29
#
# (find-fline "/usr/share/doc/menu/examples/system.fvwm2rc.gz")
# (find-fline "/hdb1/etc/X11/fvwm/system.fvwm2rc")
# (code-c-d "woodyfvwm" "/hdb1/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")
# «.window-ops-menu» (to "window-ops-menu")
# «.functions» (to "functions")
# «.debian-menu» (to "debian-menu")
# «.key-bindings» (to "key-bindings")
# «.mouse-bindings» (to "mouse-bindings")
# «.window-styles» (to "window-styles")
# «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
# «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
# «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
#
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
# «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..
#
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 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 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
### Disable the M-Fn keys. I don't use them in fvwm so much, and we've
### just defined aliases for them: 4-Fn, i.e., win-Fn.
#
# Key F1 A M Popup Window-Ops
# Key F2 A M Popup /Debian
# Key F3 A M Lower
# Key F4 A M WindowList
# Key F5 A M Prev
# Key F6 A M Next
# Key F7 A M Move
# Key F8 A M Resize
# Key F9 A M Iconify
# Key F10 A M Maximize 100 100
# Key F11 A M Raise
# Key F12 A M Stick
# (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
# Root window, buttons 1 (left), 2 (middle), 3 (right)
#
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
#
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" "# Configure the FvwmPager module")
# «window-styles» (to ".window-styles")
#
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, StaysOnBottom, Handles, HandleWidth 5
#
# (find-man "FvwmIdent")
Style "FvwmIdent" Title
Style "FvwmIdent" WindowListHit
Style "FvwmIdent" CirculateHit
# (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-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
# «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]")