Three till Seven

Archive for January, 2004

1 Jan 04 .fvwm2rc

Note: If you enjoy this article, you might also check out the Geeky Stuff section.

Here is my old .fvwm2rc configuration file for the F Virtual Window Manager.

# path to the images
ImagePath /usr/share/icons/mini:/usr/local/icons:/usr/local/icons/TkDesk:\
/usr/share/icons:/usr/share/icons/locolor:/usr/share/icons/large:

# active borders on the desktops
EdgeResistance 250 10
EdgeScroll 100 100
ClickTime 750

# make sure these fonts exist on your system:
WindowFont -adobe-times-bold-r-*-*-14-*-*-*-*-*-*-*
IconFont -adobe-helvetica-bold-r-*-*-10-*-*-*-*-*-*-*

# colors on the window-bars and number of desktops
# font color, background color
HilightColor #000000 #716C8A
DeskTopSize 3x2

# colors for the desktop popup menus
# font color, background color,
MenuStyle #000000 #716C8A #000000 -fixed-r-*-*-16-*-*-*-*-*-*-* fvwm
SetAnimation 10 -.01 0 .01 .03 .08 .18 .3 .45 .6 .75 .85 .90 .94 .97 .99 1.0
MenuStyle * Hilight3DThin, Animation
MenuStyle * TrianglesSolid, PopupDelay, PopupOffset -5 100

######################## Initialization Functions ############################
AddToFunc InitFunction "I" Module FvwmButtons
+ "I" exec xv -root -quit /home/sarah/myfiles/bkg/alice/collage3edit2.jpg
+ "I" Module FvwmAnimate
+ "I" exec xdaliclock \
-font -*-clean-medium-r-normal-*-9-*-*-*-*-*-*-* \
-fg black -noseconds -transparent -geometry +966+5

AddToFunc RestartFunction "I" Module FvwmButtons
+ "I" exec xv -root -quit /home/sarah/myfiles/bkg/alice/collage3edit2.jpg
+ "I" Module FvwmAnimate

ColormapFocus FollowsMouse

# default Styles:
Style "*" BorderWidth 4, HandleWidth 4
Style "*" Icon /usr/share/icons/unknown1.xpm, Color lightgrey/dimgrey
Style "*" MWMFunctions, MWMDecor, HintOverride
Style "*" DecorateTransient, NoPPosition
Style "*" IconBox 0 -10 -280 -1
Style "*" FocusFollowsMouse
Style "*" RandomPlacement, SmartPlacement

# Styles for various Fvwm modules:
Style "Fvwm*" NoTitle, Sticky, WindowListSkip, NoHandles
Style "Fvwm*" BorderWidth 3, CirculateSkipIcon, CirculateSkip
Style "FvwmPager" StaysOnTop
Style "FvwmBanner" StaysOnTop
Style "FvwmButtons" NoTitle, Sticky, WindowListSkip, CirculateSkip
Style "FvwmButtons" ClickToFocus

# Styles for your common terminal emulator programs:
Style "XTerm" Icon /usr/share/icons/xterm.xpm, SloppyFocus
Style "rxvt" Icon /usr/share/icons/xterm.xpm, SloppyFocus
Style "rxvt" MWMBorder, MWMButtons

# Styles for various common programs:
Style "*lock" NoTitle, Sticky, WindowListSkip, ClickToFocus
Style "xbiff" NoTitle, Sticky, WindowListSkip, ClickToFocus
Style "xcalc" Icon /usr/share/icons/xcalc.xpm, NoButton 2, RandomPlacement, ClickToFocus
Style "xmh" Icon /usr/share/icons/mail1.xpm, NoIconTitle,StickyIcon
Style "xmh" RandomPlacement, NoButton 2
Style "xman" Icon /usr/share/icons/xman.xpm, RandomPlacement, ClickToFocus
Style "xmag" Icon /usr/share/icons/mag_glass.xpm, RandomPlacement, ClickToFocus

######################## Menus ###################
#Read "menu"
AddToMenu RootMenu "" Nop
+ "" Nop
+ "> go%/home/sarah/myfiles/icons/menu.xpm%" Popup GrunjMenu
+ "" Nop
+ "> fvwm.modules%/home/sarah/myfiles/icons/menu.xpm%" Popup Module-Popup
+ "" Nop
+ "> fvwm.window.ops%/home/sarah/myfiles/icons/menu.xpm%" Popup Window-Ops
+ "" Nop
+ "> fvwm.simple.config.ops%/home/sarah/myfiles/icons/menu.xpm%" Popup Misc-Ops
+ "" Nop
+ "> refresh.screen%/home/sarah/myfiles/icons/menu.xpm%" Refresh
+ "" Nop
+ "> recapture.screen%/home/sarah/myfiles/icons/menu.xpm%" Recapture
+ "" Nop
+ "> exit%/home/sarah/myfiles/icons/menu.xpm%" Popup Quit-Verify #Module FvwmForm QuitVerify

AddToMenu Misc-Ops "Misc Config Opts%/home/sarah/myfiles/icons/menu.xpm%" Title
+ "Sloppy Focus%/home/sarah/myfiles/icons/menu.xpm%" ChangeDefaultFocus SloppyFocus
+ "Click To Focus%/home/sarah/myfiles/icons/menu.xpm%" ChangeDefaultFocus ClickToFocus
+ "Focus Follows Mouse%/home/sarah/myfiles/icons/menu.xpm%" ChangeDefaultFocus FocusFollowsMouse
+ "" Nop
+ "Colormap Follows Mouse%/home/sarah/myfiles/icons/menu.xpm%" ColormapFocus FollowsMouse
+ "Colormap Follows Focus%/home/sarah/myfiles/icons/menu.xpm%" ColormapFocus FollowsFocus
+ "" Nop
+ "Full Paging ON%/home/sarah/myfiles/icons/menu.xpm%" EdgeScroll 100 100
+ "All Paging OFF%/home/sarah/myfiles/icons/menu.xpm%" EdgeScroll 0 0
+ "Horizontal Paging Only%/home/sarah/myfiles/icons/menu.xpm%" EdgeScroll 100 0
+ "Vertical Paging Only%/home/sarah/myfiles/icons/menu.xpm%" EdgeScroll 0 100
+ "Partial Paging%/home/sarah/myfiles/icons/menu.xpm%" EdgeScroll 50 50
+ "Full Paging && Edge Wrap%/home/sarah/myfiles/icons/menu.xpm%" EdgeScroll 100000 100000

AddToMenu Window-Ops "Window Ops" Title
+ "Move%/home/sarah/myfiles/icons/menu.xpm%" Move
+ "Resize%/home/sarah/myfiles/icons/menu.xpm%" Resize
+ "Raise%/home/sarah/myfiles/icons/menu.xpm%" Raise
+ "Lower%/home/sarah/myfiles/icons/menu.xpm%" Lower
+ "(De)Iconify%/home/sarah/myfiles/icons/menu.xpm%" Iconify
+ "(Un)Stick%/home/sarah/myfiles/icons/menu.xpm%" Stick
+ "(Un)Maximize%/home/sarah/myfiles/icons/menu.xpm%" Maximize
+ "" Nop
+ "(Un)Windowshade%/home/sarah/myfiles/icons/menu.xpm%" Windowshade
+ "Change theme%/home/sarah/myfiles/icons/menu.xpm%" Popup NewTheme
+ "Change decor%/home/sarah/myfiles/icons/menu.xpm%" Popup NewDecor
+ "Backgrounds%/home/sarah/myfiles/icons/menu.xpm%" Popup Backgrounds
+ "" Nop
+ "Delete%/home/sarah/myfiles/icons/menu.xpm%" Delete
+ "Close%/home/sarah/myfiles/icons/menu.xpm%" Close
+ "Destroy%/home/sarah/myfiles/icons/menu.xpm%" Destroy
+ "" Nop
+ "Refresh Window%/home/sarah/myfiles/icons/menu.xpm%" RefreshWindow

AddToMenu Window-Ops2 "&Close" Close
+ "Destroy%/home/sarah/myfiles/icons/menu.xpm%" Destroy
+ "" Nop
+ "&Move%/home/sarah/myfiles/icons/menu.xpm%" Move
+ "&Resize%/home/sarah/myfiles/icons/menu.xpm%" Resize
+ "R&aise%/home/sarah/myfiles/icons/menu.xpm%" Raise
+ "&Lower%/home/sarah/myfiles/icons/menu.xpm%" Lower
+ "(De)&Iconify%/home/sarah/myfiles/icons/menu.xpm%" Iconify
+ "(Un)&Stick%/home/sarah/myfiles/icons/menu.xpm%" Stick
+ "(Un)Ma&ximize%/home/sarah/myfiles/icons/menu.xpm%" Maximize
+ "(Un)Windowshade%/home/sarah/myfiles/icons/menu.xpm%" Windowshade
+ "" Nop
+ "Change theme%/home/sarah/myfiles/icons/menu.xpm%" Popup NewTheme
+ "Change decor%/home/sarah/myfiles/icons/menu.xpm%" Popup NewDecor
+ "Change desktop%/home/sarah/myfiles/icons/menu.xpm%" Popup Backgrounds
+ "" Nop
+ "&Delete%/home/sarah/myfiles/icons/menu.xpm%" Delete
+ "ScrollBar%/home/sarah/myfiles/icons/menu.xpm%" Module FvwmScroll 2 2
+ "Print%/home/sarah/myfiles/icons/menu.xpm%" PrintFunction
+ "Print Reverse%/home/sarah/myfiles/icons/menu.xpm%" PrintReverseFunction

AddToMenu Module-Popup "FvwmModules" Title
+ "Identify%/home/sarah/myfiles/icons/menu.xpm%" Module FvwmIdent
+ "Talk%/home/sarah/myfiles/icons/menu.xpm%" Module FvwmTalk
+ "" Nop
+ "Button-Bar%/home/sarah/myfiles/icons/menu.xpm%" Module FvwmButtons
+ "Pager%/home/sarah/myfiles/icons/menu.xpm%" Module FvwmPager 0 0
+ "Pager (2 desks)%/home/sarah/myfiles/icons/menu.xpm%" Module FvwmPager 0 1
+ "WinList%/home/sarah/myfiles/icons/menu.xpm%" Module FvwmWinList
+ "" Nop
+ "Banner%/home/sarah/myfiles/icons/menu.xpm%" Module FvwmBanner
+ "ScrollBar" Module FvwmScroll 50 50
+ "Background%/home/sarah/myfiles/icons/menu.xpm%" Module FvwmBacker
+ "AutoRaise" Module FvwmAuto 200 Raise Nop
+ "Stop AutoRaise" KillModule FvwmAuto
+ "" Nop
+ "IconBox%/home/sarah/myfiles/icons/menu.xpm%" Module FvwmIconBox
+ "IconMan" Module FvwmIconMan
+ "" Nop
+ "Form - Rlogin" Module FvwmForm Rlogin
+ "Form - MyFvwmTalk" Module FvwmForm MyFvwmTalk

AddToMenu Quit-Verify
+ "Done already?%/home/sarah/myfiles/icons/menu.xpm%" Title
+ "" Nop
+ "Flee, flee!%/home/sarah/myfiles/icons/menu.xpm%" Quit
+ "Restart me..%/home/sarah/myfiles/icons/menu.xpm%" Restart fvwm2

# noir's menus
DestroyMenu "GrunjMenu"
AddToMenu "GrunjMenu" \
"..html/net..%/home/sarah/myfiles/icons/menu.xpm%" Popup Html
+ "" Nop
+ "..themes..%/home/sarah/myfiles/icons/menu.xpm%" Popup Themes
+ "" Nop
+ "..accessories..%/home/sarah/myfiles/icons/menu.xpm%" Popup Accessories
+ "" Nop
+ "..graphics..%/home/sarah/myfiles/icons/menu.xpm%" Popup Graphics
+ "" Nop
+ "..editors..%/home/sarah/myfiles/icons/menu.xpm%" Popup Editors
+ "" Nop
+ "..file managers..%/home/sarah/myfiles/icons/menu.xpm%" Popup FileManagers
+ "" Nop
+ "..games..%/home/sarah/myfiles/icons/menu.xpm%" Popup Games
+ "" Nop
+ "..shells..%/home/sarah/myfiles/icons/menu.xpm%" Popup Shells

#--------- Html
DestroyMenu "Html"
AddToMenu "Html" \
"-BlueFish%/home/sarah/myfiles/icons/menu.xpm%" Exec bluefish &
+ "" Nop
+ "-ncFTP%/home/sarah/myfiles/icons/menu.xpm%" Exec xterm -title ncFTP -e ncftp &
+ "-gFTP%/home/sarah/myfiles/icons/menu.xpm%" Exec gftp &
+ "" Nop
+ "-mICQ%/home/sarah/myfiles/icons/menu.xpm%" Exec Exec xterm -title mICQ -e micq &
+ "" Nop
+ "-curfloo%/home/sarah/myfiles/icons/menu.xpm%" Exec xterm -title curfloo -e /home/sarah/Downloads/curfloo &
+ "-xchat%/home/sarah/myfiles/icons/menu.xpm%" Exec xchat &
+ "" Nop
+ "-gNapster%/home/sarah/myfiles/icons/menu.xpm%" Exec gnapster &
+ "" Nop
+ "-Mozilla%/home/sarah/myfiles/icons/menu.xpm%" Exec /home/sarah/./mozilla -geometry 790x575+8+8 &
+ "-Netscape%/home/sarah/myfiles/icons/menu.xpm%" Exec netscape -geometry 790x575+8+8 &
+ "-Konqueror%/home/sarah/myfiles/icons/menu.xpm%" Exec konqueror -geometry 790x575+8+8 &
+ "" Nop
+ "-Abook%/home/sarah/myfiles/icons/menu.xpm%" Exec xterm -title Address\ Book -e abook &
+ "-Pine%/home/sarah/myfiles/icons/menu.xpm%" Exec xterm -title Pine -e pine &
+ "-fetchmail -d0%/home/sarah/myfiles/icons/menu.xpm%" Exec xterm -title fetchmail -e fetchmail -d0
+ "" Nop
+ "-port scanner%/home/sarah/myfiles/icons/menu.xpm%" Exec xterm -title port\ scanner -e /usr/local/src/portscan-1.1/./ports

#--------- Accessories
DestroyMenu "Accessories"
AddToMenu "Accessories" \
"-xosview%/home/sarah/myfiles/icons/menu.xpm%" Exec xosview +net &
+ "-Xscreensave%/home/sarah/myfiles/icons/menu.xpm%r" Exec xscreensaver &
+ "-System load%/home/sarah/myfiles/icons/menu.xpm%" Exec xload -fg black -bg white &
+ "-Calculator%/home/sarah/myfiles/icons/menu.xpm%" Exec xcalc &
+ "-Manual pages%/home/sarah/myfiles/icons/menu.xpm%" Exec xman &
+ "-Magnifying glass%/home/sarah/myfiles/icons/menu.xpm%" Exec xmag &
+ "-Abiword%/home/sarah/myfiles/icons/menu.xpm%" Exec abiword &
+ "-Xclock%/home/sarah/myfiles/icons/menu.xpm%" Exec xclock &
+ "-Xclipboard%/home/sarah/myfiles/icons/menu.xpm%" Exec xclipboard &
+ "-Font viewer%/home/sarah/myfiles/icons/menu.xpm%" Exec xfontsel &
+ "-xplaycd%/home/sarah/myfiles/icons/menu.xpm%" Exec xplaycd &
+ "-XMMS%/home/sarah/myfiles/icons/menu.xpm%" Exec xmms &

#--------- Games
DestroyMenu "Games"
AddToMenu "Games" \
"-xBill%/home/sarah/myfiles/icons/menu.xpm%" Exec xbill &

#--------- Editors
DestroyMenu "Editors"
AddToMenu "Editors" \
"-Pico%/home/sarah/myfiles/icons/menu.xpm%" Exec xterm -fg white -bg black -T pico -e pico &
+ "-Emacs%/home/sarah/myfiles/icons/menu.xpm%" Exec emacs &
+ "-Xedit%/home/sarah/myfiles/icons/menu.xpm%" Exec xedit &
+ "-vi%/home/sarah/myfiles/icons/menu.xpm%" Exec xterm -fg white -bg black -T vi -e vi &
+ "-Siag%/home/sarah/myfiles/icons/menu.xpm%" Exec siag &

#--------- File managers
DestroyMenu "FileManagers"
AddToMenu "FileManagers" \
"-Midnight Commander%/home/sarah/myfiles/icons/menu.xpm%" Exec rxvt -fg white -bg black \
-geometry 100x30 -e mc &
+ "-Tk desk%/home/sarah/myfiles/icons/menu.xpm%" Exec tkdesk &
+ "-File manager%/home/sarah/myfiles/icons/menu.xpm%" Exec xfm &

#--------- Graphics
DestroyMenu "Graphics"
AddToMenu "Graphics" \
"-Gimp%/home/sarah/myfiles/icons/menu.xpm%" Exec gimp &
+ "-Bitmap editor%/home/sarah/myfiles/icons/menu.xpm%" Exec bitmap &
+ "-Xview%/home/sarah/myfiles/icons/menu.xpm%" Exec xv &
+ "-Xfig%/home/sarah/myfiles/icons/menu.xpm%" Exec xfig &
+ "-Paint%/home/sarah/myfiles/icons/menu.xpm%" Exec xpaint &

#----------Themes
DestroyMenu "Themes"
AddToMenu "Themes"
+ "-Purple%/home/sarah/myfiles/icons/menu.xpm%" ChangeStyle "*" "UseStyle Purple"
+ "-Mwm%/home/sarah/myfiles/icons/menu.xpm%" ChangeStyle "*" "UseStyle Mwm"
+ "-Flat%/home/sarah/myfiles/icons/menu.xpm%" ChangeStyle "*" "UseStyle Flat"

#--------- Shells
DestroyMenu "Shells"
AddToMenu "Shells" \
"-Xterm%/home/sarah/myfiles/icons/menu.xpm%" Exec xterm \
-fg black -bg grey &
+ "-Wterm%/home/sarah/myfiles/icons/menu.xpm%" Exec wterm \
-fg green -transparent -cursorColor blue -borderColor blue &
+ "-Rxvt%/home/sarah/myfiles/icons/menu.xpm%" Exec rxvt &

################## Styles #################################################
# Blue Theme
DestroyDecor Purple
AddToDecor Purple
+ WindowFont -*-clean-medium-r-normal-*-*-*-*-*-*-*-*-*
+ TitleStyle ActiveDown (Solid Purple)\
ActiveUp (Solid Purple) Inactive (Solid Grey)
+ HilightColor #383838 #e300ff
+ ButtonStyle 1 -- UseBorderStyle
Style Purple UseDecor Purple, BorderWidth 4, HandleWidth 4,\
MWMborder, MWMbuttons

# Function to change all windows to a new style.
DestroyFunc ChangeStyle
AddToFunc ChangeStyle
+ "I" Style $0 $1
+ "I" Recapture

################## Fvwm Buttons Button-Bar ################################
# Clean, medium [C], size 8, points, antialiasing off = icons
*FvwmButtonsFore #000000
*FvwmButtonsBack #000000
*FvwmButtonsFont -adobe-helvetica-bold-r-*-*-8-*-*-*-*-*-*-*
*FvwmButtonsGeometry +1+1
*FvwmButtonsColumns 1
*FvwmButtons(1x1,Container(Rows 1,Frame 4))
*FvwmButtons(Frame 2 Padding 2 2 Container(Rows 1 Columns 16 Frame 1 \
Padding 7 0))
*FvwmButtons(1x1 Frame 2 Swallow(UseOld) "FvwmPager" "Module FvwmPager 0 0")

*FvwmButtons(Icon /XX/images/icons/tkdesk.xpm, Action \
'Exec tkdesk &')

*FvwmButtons(Icon /XX/images/icons/xterm.xpm, Action \
'Exec xterm -cr black -bd black -bg white -fg black -T X\ T\ E\ R\ M &')

*FvwmButtons(Icon /XX/images/icons/mc.xpm, Action \
'Exec xterm -cr black -bd black -bg white -fg black -T M\ C -e mc &')

*FvwmButtons(Icon /XX/images/icons/mozilla.xpm, Action \
'Exec /home/sarah/mozilla/./mozilla -geometry 1016x742+0+0 &')

*FvwmButtons(Icon /XX/images/icons/netscape.xpm, Action \
'Exec netscape -geometry 1016x742+0+0 &')

*FvwmButtons(Icon /XX/images/icons/ncftp.xpm, Action \
'Exec xterm -cr black -bd black -bg white -fg black -T N\ C\ F\ T\ P -e ncftp &')

*FvwmButtons(Icon /XX/images/icons/bluefish.xpm, Action \
'Exec bluefish &')

*FvwmButtons(Icon /XX/images/icons/gimp.xpm, Action \
'Exec gimp &')

*FvwmButtons(Icon /XX/images/icons/curfloo.xpm, Action \
'Exec xterm -cr black -bd black -bg white -fg black -T C\ U\ R\ F\ L\ O\ O -e curfloo &')

*FvwmButtons(Icon /XX/images/icons/icq.xpm, Action \
'Exec xterm -title M\ I\ C\ Q -cr black -bd black -bg white -fg black -e /usr/local/src/micq-0.4.6/micq &')

*FvwmButtons(Icon /XX/images/icons/napster.xpm, Action \
'Exec gnapster &')

*FvwmButtons(Icon /XX/images/icons/xmms.xpm, Action \
'Exec xmms &')

*FvwmButtons(Icon /XX/images/icons/copyscrn.xpm, Action \
'Exec import -window root /home/sarah/myfiles/desktop.png &')

*FvwmButtons(Icon /XX/images/icons/kill.xpm, Action \
'Exec xkill &')

# *FvwmButtons(Frame 3 Swallow(UseOld,NoHints,Respawn) "xdaliclock" `Exec exec xdaliclock -font -*-clean-medium-r-normal-*-8-*-*-*-*-*-*-* -fg black -transparent -padding 0 -update 1`)

*FvwmButtons(End)

########################## Icon Manager ####################################
# this FvwmIconMan setup is for swallowing in above button bar example
*FvwmIconMan*numManagers 1
*FvwmIconMan*Resolution page
*FvwmIconMan*background #ffffff
*FvwmIconMan*foreground #000000
*FvwmIconMan*font -adobe-helvetica-bold-r-*-*-10-*-*-*-*-*-*-*
*FvwmIconMan*format "%t"
*FvwmIconMan*action Mouse 1 N sendcommand Focus, sendcommand "Iconify"
*FvwmIconMan*action Mouse 2 N sendcommand "Iconify 1"
*FvwmIconMan*action Mouse 3 N sendcommand "FvwmIdent"
*FvwmIconMan*followfocus true
*FvwmIconMan*sort false
*FvwmIconMan*plainbutton up black bisque3
*FvwmIconMan*selectbutton down black bisque3
*FvwmIconMan*focusbutton up yellow firebrick
*FvwmIconMan*focusandselectButton down yellow firebrick
*FvwmIconMan*dontshow icon=Untitled name=Untitled
#*FvwmIconMan*drawicons true
*FvwmIconMan*buttongeometry 300x0
*FvwmIconMan*managergeometry 1x5

########################## Window-Identifier ###############################
# Just choose colors and a fonts
*FvwmIdentBack #000000
*FvwmIdentFore #000000
*FvwmIdentFont -adobe-helvetica-medium-r-*-*-12-*-*-*-*-*-*-*

########################### Pager #########################################
*FvwmPagerBack #000000
*FvwmPagerFore #c0c0c0
# turn off desktop names for swallowing in above button bar example:
*FvwmPagerFont none
*FvwmPagerHilight #ffffff
*FvwmPagerGeometry 35x35+760+0
*FvwmPagerLabel 0 Misc
*FvwmPagerLabel 1 Maker
*FvwmPagerLabel 2 Mail
*FvwmPagerLabel 3 Matlab
*FvwmPagerSmallFont 5x8
*FvwmPagerBalloons All
*FvwmPagerBalloonBack #ffffff
*FvwmPagerBalloonFore #000000
*FvwmPagerBalloonFont clean-10
*FvwmPagerBalloonYOffset +2
*FvwmPagerBalloonBorderWidth 2
*FvwmPagerBalloonBorderColor #000000

########################## FvwmWinList ##################################
*FvwmWinListBack #000000
*FvwmWinListFore #000000
*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 #000000
*FvwmBackerDesk 1 #000000
*FvwmScrollBack #000000
*FvwmScrollFore #000000

##########################--Key Bindings--################################
# some simple default key bindings:
Key Next A SCM Next [*] Focus
Key Prior A SCM Prev [*] Focus
Key Menu A N Menu RootMenu Nop

# Let's bind some keys to pan the desktop around
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 SC Scroll -10 +0
Key Right A SC Scroll +10 +0
Key Up A SC Scroll +0 -10
Key Down A SC Scroll +0 +10

# These key bindings let the user use fvwm without a mouse
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

# Alt-Tab simili-Windows behaviour
Key Tab A M WindowList Root c c NoDeskSort

# some simple default mouse bindings:
# for the root window:
Mouse 1 R A Menu RootMenu Nop
Mouse 2 R A Menu Window-Ops Nop
Mouse 3 R A WindowList

# for the title bar buttons:
Mouse 0 1 A Menu Window-Ops2 Close
Mouse 0 2 A Maximize-Func
Mouse 0 4 A Iconify

# for other parts of the window/borders/icons:
Mouse 1 F A Resize-or-Raise
Mouse 1 TS A Move-or-Raise
Mouse 1 I A Move-or-Iconify
Mouse 2 I A Iconify
Mouse 2 FST A Menu Window-Ops2 Nop
Mouse 3 TSIF A RaiseLower

######################## Sample 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 PrintReverseFunction "I" Raise
+ "I" Exec xdpr 1/2 -h -rv -id $w

AddToFunc Iconify-and-Raise "I" Iconify
+ "I" Raise

# RLOGIN machine fg bg
AddToFunc RLOGIN "I" Exec xterm -fg $1 -bg $2 -e rlogin $0 -8

AddToFunc FocusAndWarp "I" Focus
+ "I" WarpToWindow 2p 2p

AddToFunc DeiconifyFocusAndWarp "I" Iconify -1
+ "I" FocusAndWarp

AddToFunc ChangeDefaultFocus "I" Style "*" $0
+ "I" Recapture

############################################################
# Note that icons are shown in the module
# only if NoIcon commnand is applied.
#Style "*" NoIcon

############################################################
*FvwmIconBoxIconBack #000000
*FvwmIconBoxIconHiFore #000000
*FvwmIconBoxIconHiBack LightSkyblue
*FvwmIconBoxBack #5f9ea0
*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
*FvwmIconBoxSetWMIconSize
*FvwmIconBoxHilightFocusWin
*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*" -

# FvwmForm alias - rlogin or telnet to host via xterm
*RloginWarpPointer
*RloginFont *helvetica*m*r*n*12*
*RloginButtonFont *helvetica*m*o*n*12*
*RloginInputFont *cour*m*r*n*12*
*RloginFore Black
*RloginBack Light Gray
*RloginItemFore Wheat
*RloginItemBack Gray50

# begin items
*RloginLine center
*RloginText "Login to Remote Host"
*RloginLine center
*RloginText "Host:"
*RloginInput HostName 30 ""
*RloginLine center
*RloginSelection meth single
*RloginChoice TN TN off "telnet"
*RloginChoice RL RL on "rlogin"
*RloginSelection UserSel single
*RloginText "(Userid:"
*RloginInput UserName 10 ""
*RloginText ")"
*RloginLine center
*RloginText "FG:"
*RloginInput FgColor 15 ""
*RloginText "BG:"
*RloginInput BgColor 15 ""
*RloginLine expand
*RloginButton quit "Login" ^M
*RloginCommand Exec xterm $(FgColor?-fg $(FgColor)) $(BgColor?-bg $(BgColor)) -T xterm@$(HostName) -e $(RL?rlogin) $(TN?telnet) $(HostName) $(RL?-8 $(UserName?-l $(UserName)))
*RloginButton restart "Clear"
*RloginCommand Beep
*RloginButton quit "Cancel"
*RloginCommand Nop

# FvwmForm alias - query exit ala mwm
*QuitVerifyGrabServer
*QuitVerifyWarpPointer
*QuitVerifyFont *helvetica*m*r*n*14*
*QuitVerifyButtonFont 7x13bold
*QuitVerifyFore #00ff00
*QuitVerifyBack #000000
*QuitVerifyItemFore #00ff00
*QuitVerifyItemBack #000000

# begin items
*QuitVerifyLine center
*QuitVerifyText "Do you really want to exit FVWM?"
*QuitVerifyLine expand
*QuitVerifyButton quit " Exit "
*QuitVerifyCommand Quit
*QuitVerifyButton quit "Cancel"
*QuitVerifyCommand Nop

# MyTalk & MyFvwmTalk from Dave Goldberg
# MyTalk Form - dissappears after use
*MyTalkWarpPointer
*MyTalkFont *helvetica*m*r*n*14*
*MyTalkButtonFont *helvetica*m*o*n*14*
*MyTalkInputFont *cour*m*r*n*14*
*MyTalkFore blue
*MyTalkBack Gray
*MyTalkItemFore blue
*MyTalkItemBack Gray
*MyTalkLine center
*MyTalkText "Fvwm Function"
*MyTalkInput Func 40 ""
*MyTalkLine expand
*MyTalkButton quit "Run" ^M
*MyTalkCommand $(Func)
*MyTalkButton restart "Clear" ^R
*MyTalkButton quit "Cancel" ^C
*MyTalkCommand Nop
# MyFvwmTalk Form - sticks around
*MyFvwmTalkWarpPointer
*MyFvwmTalkFont *helvetica*m*r*n*14*
*MyFvwmTalkButtonFont *helvetica*m*o*n*14*
*MyFvwmTalkInputFont *cour*m*r*n*14*
*MyFvwmTalkFore blue
*MyFvwmTalkBack Gray
*MyFvwmTalkItemFore blue
*MyFvwmTalkItemBack Gray
*MyFvwmTalkLine center
*MyFvwmTalkText "Fvwm Function"
*MyFvwmTalkInput Func 40 ""
*MyFvwmTalkLine expand
*MyFvwmTalkButton restart "Run" ^M
*MyFvwmTalkCommand $(Func)
*MyFvwmTalkButton restart "Clear" ^R
*MyFvwmTalkCommand Nop
*MyFvwmTalkButton restart "Iconify" ^Z
*MyFvwmTalkCommand Next [MyFvwmTalk] Iconify
*MyFvwmTalkButton quit "Quit" ^C
*MyFvwmTalkCommand Nop

# to change banner pixmap
#*FvwmBannerPixmap fvwm3.xpm
#*FvwmBannerTimeout 2

# This line chooses which effect is used when (de)iconizing a window
# Random means the effect is chosen randomly each time
# Valid values are: Frame, Lines, Flip, Turn, Zoom3D, Twist Random, and None.

*FvwmAnimateEffect Random

###############################################################
##########################THE END############################
###############################################################

4 Jan 04 menage a trois

Note: This was a dream of mine. I have this warning here because some visitors have thought my life had just gone to pot, when really they were only reading one of my crazy dreams. :)

I was at some camp for acting and it was held at my house. Well, in the dream it wasn’t my house, but in real life, it was on our property. I was in love with two guys that were at the camp also, and they were in love with me and each other. It was a big menage a trois, and we were very happy together, but no one knew about us. I’ll call them John and Ted, since I didn’t know their names.

There was some kind of scheme going on with a couple of campers and directors, and Ted was involved in it. The involved students and directors, including Ted, were talking to me as we walked across our field. They kept [verbally] taking stabs at me, and my guy couldn’t defend me. He pretended he didn’t care, but he kept shooting me looks saying otherwise. We got up to our driveway and they went over to take a photo with the rest of the group, and I ran off down the road, alone.

I heard some girl shout, “Hey, where’s Sarah the sow going?” And someone else shouted, “You know, sow rhymes with cow!” I made it to the woods partially down my road and turned to run into them. The campers/directors had begun chasing me. I got a little into the woods and knew I wouldn’t be able to escape, so I turned around and came back out into the clearing they were in.

I walked slowly and determinedly, and shouted out crazy things. They were all in a huge circle and I walked straight to the middle of it, all the while shouting out weird stuff. They didn’t do anything to grab me. I was wearing a white, flowing dress. I stood in the center and was quiet, while some of the ringleaders discussed what to do with me.

I saw somebody I know in real life looking at me, and I kept smiling and staring at him. I tried looking elsewhere, but finally, to keep from directly grinning at him, I just fell straight over on my side and laid there on the ground, still grinning like a basketcase.

We all suddenly got this feeling that something was coming, like were being hunted. I leapt up and ran over to the directors, and began shouting stuff at them in some made-up language, saying how the Thing was coming and they were all going to be punished. The campers and directors, scared, turned and ran back up the road, toward the camp.

I ran farther into the woods, grabbing the red gloves I’d dropped when I was trying to escape the campers, and finally ending up in a field. It wasn’t one of our fields IRL. It was really hilly and had two barns in it. One barn had just been built, and the other was some old, dilapidated thing. At first I ran toward the old one, but then I realized that the Thing that we were all afraid of was actually a tornado, so I ran back to the new barn. Before I made it, the danger had passed and the sky just looked dark and gloomy.

I saw a different guy over on the other side of the barn (I was on a high hill) and he shouted at me to wait. I shouted back in the made-up language, calling him Stephen. Then I said, “I’ll be there in a minute, asshole,” and went into the barn. He met me there and started to apologize for something, but I put my finger to his lips and hushed him, then pulled him down to kiss me. After that, he told me it was too sad that Ginny had died. He was referring to the redhaired girl from Harry Potter, which is who Ted had become before he died in the tornado. I wasn’t really sorry, but I missed what he and John and I had had together. I don’t know what happened to John.

The dream shifted, and I was at a wedding. It was in third person point of view and I was watching myself. I was some tall, skinny blonde girl, and I was the bride. There was a young child with darker blonde hair sitting next to me, also dressed as a bride. We were talking and giggling. Then, someone called to us to come up to the alter. We were shocked because they called for both of us. The little girl seemed surprised that she was getting married today, too, even though she was dressed in a wedding gown. I was marrying Stephen.

25 Jan 04 /bin/lib/html

Note: This was a dream of mine. I have this warning here because some visitors have thought my life had just gone to pot, when really they were only reading one of my crazy dreams. :)

It was springtime, warm and breezy. I was over near my garage and saw some funny seeds on the ground. I picked them up and they had little spikes that made them hook together. When I pushed them a bit, they hooked together so nicely that they became a smooth ball. I gathered more and kept making a larger ball. My mother came by and warned me that they’d turn my hands pink. I dropped the ball and checked my hands but they were fine.

I went inside and up to my computer. My dad was having trouble with my mom’s computer and I thought I could help. Running Linux of course, I went into the /bin directory and was going to chmod some stuff. I went into /bin/lib/html/ and chmodded everything to some number. I sat and watched tons of things flash by on the screen. Finally, it stopped scrolling and I was back at a prompt but it was red. Everything I typed caused it to mess up. I’d screwed up my ls or something. I was really upset because nothing was working. I ran downstairs and had a friend with me. We went to my mother’s computer and tried to fix my computer from there, but my dad interrupted us.