# Trying to compile an old .fvwrc to the  new fvwm-2.0 Format
###########################################
#                                         #
# This is Lee Man Yong's .hfvwm2rc file.  #
#                                         #
###########################################
TitleStyle LeftJustified Raised
TitleStyle ActiveUp (-- HiddenHandles) 
#TitleStyle InactiveTexture stone.xpm
TitleStyle InactiveTexture /usr/X11R6/lib/X11/hfvwm2/pixmaps/clouds.xpm
TitleStyle ActiveTexture /usr/X11R6/lib/X11/hfvwm2/pixmaps/wood.xpm
Style "*" ForeColor snow
Style "*" BackColor CadetBlue
Style "*" DecorateTransient
HilightColor   snow PaleVioletRed
ColormapFocus followsmouse

HangulFontType	HNC
HangulCode	Wansung

WindowFont              -adobe-helvetica-bold-r-*-*-17-*-*-*-*-*-*-*
HangulFont		-kaist-iyagi-bold-r-normal--16-160-75-75-c-160-johabsh-1
HangulWindowFont	-kaist-myeongjo-bold-r-normal--16-160-75-75-c-160-johabs-1
HangulIconFont		-kaist-gothic-medium-r-normal--16-160-75-75-c-160-johab-1
IconFont		fixed

Style "*" IconBox -50 +0 +1024 +768
Style "*" Icon xterm2.xpm
Style "*" SloppyFocus

########################      MWM EMULATION     #######################
MenuStyle   Black Grey SlateGrey -adobe-helvetica-medium-r-*-*-20-*-*-*-*-*-*-* mwm
########################      MISCELLANEOUS STUFF     #######################
#ClickTime 150
OpaqueMoveSize 100
EdgeScroll 100 100
EdgeResistance 500 0

########################      WINDOW PLACEMENT     #######################
Style "*" SmartPlacement, RandomPlacement
Style "*" NoPPosition


########################      DECORATIONS     #######################
#DecorateTransients

###########################################################################
DeskTopSize 3x3

##########################################################################
# Module path and paths to the icons
ModulePath /usr/X11R6/lib/X11/hfvwm2/
PixmapPath /usr/include/X11/pixmaps/:/usr/X11R6/lib/X11/hfvwm2/pixmaps/
IconPath   /usr/include/X11/bitmaps/

############################################################################
# Set the decoration styles and window options
# Order is important!!!!
#Style "*" BorderWidth 5, HandleWidth 5, Color Black/#60a0c0
Style "Fvwm*"      NoTitle, Sticky, WindowListSkip, CirculateSkip
Style "FvwmPager" StaysOnTop, NoHandles, BorderWidth 5, MWMBorder, BackColor DeepPink
Style "FvwmBanner" StaysOnTop
Style "FvwmFileMgr" Title, BorderWidth 0, Slippery, StaysPut
Style "Fvwm*Buttons"  StaysOnTop, NoTitle, NoHandles, Sticky, WindowListSkip, BorderWidth 0, ClickToFocus
Style "*lock"      NoTitle, NoHandles, Sticky, WindowListSkip
Style "xbiff"      NoTitle,            Sticky, WindowListSkip
Style "rxvt"       Icon  term.xpm
Style "xterm"      Icon xterm.xpm, Color black/grey
Style "xcalc"      NoButton 2, Icon xcalc.xpm
Style "xbiff"      Icon mail1.xpm
Style "xmh"        Icon mail1.xpm, StartsOnDesk 2
Style "xman"	   Icon xman.xpm
Style "xmag"	   Icon mag_glass.xpm
Style "xgraph"	   Icon graphs.xpm
Style "Fvwm*Buttons"  Icon toolbox.xpm
Style "Workman"	NoButton 3, NoButton 2, NoButton 6, StartIconic, DumbPlacement, StickyIcon
Style "Seyon"	StickyIcon, Title, DecorateTransient
Style "*"   MWMBorder
#Style "Seyon"	ActivePlacement, StickyIcon, Title, DecorateTransient
Style "hwp*"     NoButton 6, NoButton 1, NoButton 2, MWMBorder, MWMButtons, MWMDecor, IconBox 2 100 70 700
Style "X?z"     NoButton 6, NoButton 3, StaysOnTop, DecorateTransient
Style "File"    RandomPlacement
Style "Misc"	SmartPlacement
Style "hanterm" Icon xterm-linux.xpm, MWMBorder, MWMButtons, MWMDecor, IconBox 100 0 1024 100
Style "Netscape" MWMBorder, MWMButtons, MWMDecor, DecorateTransient
Style "EmiClock" Title, Slippery
Style "xdos"	Icon dosemu.xpm
Style "clock"	Title

#############################################################################
# Stuff to do at start-up
# X 츦 ó    ȭϵ

AddToFunc "InitFunction"
#+		"I" Exec exec xv -root -quit ~/hfvwm2.pixmaps/raindrop.xpm &
+		"I" Exec exec xsetroot -solid SteelBlue &
+		"I" Exec exec xpmroot /usr/X11R6/lib/X11/hfvwm2/Alzza.RedHat.Background.xpm &
+               "I" Module FvwmBanner
+		"I" Wait FvwmBanner
+		"I" Module FvwmPager 0 0
+               "I" Module FvwmAudio
+		"I" Module FvwmAuto 1200
+		"I" Exec exec hanterm -T "ѱ ͹̳" -n "ū" -bg LemonChiffon -ls -geometry +200+150 -sb -sl 500 &
+		"I" Wait hanterm
#+		"I" Exec exec tkdesk &
+		"I" Exec exec cdplay 2> /dev/null &
+		"I" Module Fvwm3Buttons
#+		"I" Exec exec /usr/local/bin/setmix &

# ۽ÿ  ȭϵ (   ⿡ Ѵ )

AddToFunc RestartFunction 
#"I" Module FvwmButtons
+		"I" Module FvwmPager 0 0
+		"I" Module FvwmAuto 1200
+		"I" Module FvwmAudio
+		"I" Module Fvwm3Buttons
+		"I" Module FvwmBacker

############################################################################
AddToFunc "Move-or-Raise" "M" Move
+              "M" Raise
+              "C" Raise
+              "D" RaiseLower

AddToFunc "maximize_func" "M" Maximize 0 100
+              "C" Maximize 0 80
+              "D" Maximize 100 100

AddToFunc "Move-or-Lower" "M" Move
+              "M" Lower
+              "C" Lower
+              "D" RaiseLower

AddToFunc "Move-or-Iconify" "M" Move
+              "D" Iconify

AddToFunc "Resize-or-Raise" "M" Resize
+              "M" Raise
+              "C" Raise
+              "D" RaiseLower

AddToMenu Shells "ο ͹̳ *mini-sh1.xpm*" Title
+              " 3.04b%mini-term.xpm%" Exec exec hanterm -ls -bg PapayaWhip  -T "      " -sb -sl 500 &
+	       " ()%mini-term.xpm%"	Exec exec hanterm -hfn -daewoo-gothic-medium-r-normal--16-120-100-100-c-160-ksc5601.1987-0 -ks -ls -sb -sl 500&
+	       "̴ %mini-term.xpm%"	Exec exec hanterm -fn fixed -hfn -hanyang-kodig-medium-r-normal--12-120-72-72-c-120-ksc5601.1987-0 -ks -ls -sb -sl 500&
+	       "" Nop
+              "X %mini-term.xpm%" Exec exec /usr/bin/X11/xterm -fn 9x15bold -sb -sl 500 -j -ls &
+              "ū X    (10x20 Ʈ)%mini-term.xpm%" Exec exec /usr/bin/X11/xterm -sb -sl 500 -j -ls -fn 10x20 &
+              "ū Rxvt   (10x20 Ʈ)%mini-term.xpm%" Exec exec /usr/bin/X11/rxvt -font 10x20 -ls &
+              "÷ X  (10x20 Ʈ)%mini-term.xpm%" Exec exec /usr/bin/X11/color_xterm -sb -sl 500 -j -ls -fn 10x20 &

AddToMenu "Screenlock" " ȭ  %mini-lock.xpm%" Title
+              "׶ ׶ ƹų..." Exec exec xlock -nice 0 -mode random &
+              "" Nop
+              "" Exec exec xlock -nice 0 -mode bat &
+              "Ҳ?" Exec exec xlock -nice 0 -mode blank &
+              "蹫" Exec exec xlock -nice 0 -mode blot &
+              "Ƣ ౸ 2002  " Exec exec xlock -nice 0 -mode bounce &
+              "ϴ ϰ" Exec exec xlock -nice 0 -mode galaxy &
+              "߷°" Exec exec xlock -nice 0 -mode grav &
+              "پ " Exec exec xlock -nice 0 -mode helix &
+              " ȩ" Exec exec xlock -nice 0 -mode hop &
+              "򰥸 3" Exec exec xlock -nice 0 -mode hyper &
+              "Į̵ڿ" Exec exec xlock -nice 0 -mode kaleid &
+              "" Exec exec xlock -nice 0 -mode life &
+              " 3D" Exec exec xlock -nice 0 -mode life3d &
+              "̷ã" Exec exec xlock -nice 0 -mode maze &
+              "Ҳɳ" Exec exec xlock -nice 0 -mode pyro &
+              " ӵ" Exec exec xlock -nice 0 -mode rock &
+              " ȸ" Exec exec xlock -nice 0 -mode rotor &
+              "ü " Exec exec xlock -nice 0 -mode sphere &
+              "ö" Exec exec xlock -nice 0 -mode spline &
+              " 1" Exec exec xlock -nice 0 -mode swarm &
+              " 2" Exec exec xlock -nice 0 -mode worm &
+              "ϴ " Exec exec xlock -nice 0 -mode world &

AddToMenu "Happy" "ſ α׷..." Title
+		"÷ ñ%mini-colors.xpm%" Exec exec /usr/lib/tk4.1/demos/tcolor &
+              "CD ֱ%mini-cdlabel.xpm%" Exec exec xplaycd &
+              " ͼ%mini-audiovol.xpm%" Exec exec xtmix -t " ͼ" &
+              " ҳ ð" Exec exec emiclock &
+              "Ϳ " Exec exec xneko &
+              "̴ %mini-eyes.xpm%" Exec exec xeyes &
+              "%jx.xpm%  󸶳 質?" Exec exec xcolormap &
+              "%jx.xpm% ̷ã" Exec exec maze &
+              "ü%mini-slon.xpm%" Exec exec xboard &
+              "ΰ%mini-bx2.xpm%" Exec exec xlogo &
+              "%mini-xmahjongg.xpm%" Exec exec xmahjongg &
+              "Ʈ%mini-tetris.xpm%" Exec exec xtetris &

AddToMenu "Games" "ִ " Title
+		" DOOM%mini-bball.xpm%" Exec exec xdoom &
+               " Abuse%mini-bball.xpm%" Exec exec xabuse &
+		" ſ%mini-bball.xpm%" Exec exec mirrormagic &
+		"  XBoing%mini-bball.xpm%" Exec exec xboing &
+		"Ʈ, %mini-bball.xpm%" Exec exec Maelstrom -fullscreen &
+		" ̾Ƹ%mini-bball.xpm%" Exec exec rockndiamonds &
+		"  ƶ!%mini-bball.xpm%" Exec exec xbill &
+		"Ϳ ּ  %mini-bball.xpm%" Exec exec xkobo &
+		" I %mini-bball.xpm%" Exec exec xshisen &
+		" II%mini-bball.xpm%" Exec exec shanghai &
+		"ù ũ%jx.xpm%" Exec exec xquake &

AddToMenu "Applications" "α׷" Title
+              "  ѱ/X 3.0.3%mini-bx2.xpm%" Exec exec hwp &
+              "  ׽%mini-nscape.xpm%" Exec exec netscape.linux &
+              "  NCSA %mini-bball.xpm%" Exec exec Mosaic &
+              "  ڹ%mini-exp.xpm%" Exec exec /usr/local/HotJava/bin/hotjava &
+              "  Ʈ%mini-gv.xpm%" Exec exec ghostview -bg ivory3 &
+              "   %mini-bx2.xpm%" Exec exec seyon -modem /dev/modem -- -bg DarkBlue -fg white -sb -sl 500 -T " ѱ  α׷" -n ""&
+              "  X V %mini-xv.xpm%" Exec exec xv &
+              "  ϴϸ%mini-bx2.xpm%" Exec exec hanemacs -bg LemonChiffon &
+              "  Ʈ%mini-paint.xpm%" Exec exec xpaint &
+              "  GIMP%mini-paint.xpm%" Exec exec gimp &
+              "  X %mini-edit.xpm%" Exec exec xedit &
+	       "  Ʈ%jx.xpm%" Exec exec bitmap &
+	       "  Ʈ%mini-bx2.xpm%" Exec exec xfontsel &

AddToMenu "Quit-Verify" "ðڽϱ?" Title
+              "ٽ ϱ%mini-turn.xpm%" Restart
+              "" Nop
+              " X Ŵ ü%mini-bball.xpm%" Restart twm
+              "(Sun) ü%mini-olwm.xpm%" Restart /usr/openwin/bin/olvwm
+              "" Nop
+              "¥ %mini-exclam.xpm%" Quit
+              "! %mini-cross.xpm%" Nop

AddToMenu "Module-Popup" "fvwm " Title
+              "ũѹ" Module FvwmScroll 1 1
+              "ü%mini-question.xpm%" Module FvwmIdent
+              " ų%mini-pencil.xpm%" Module FvwmClean
+              "" Nop
+              "Fvwm " Module FvwmAuto 1000
+              "ũ " Module FvwmSaveDesk
+		"Ǳ %mini-hammer.xpm%" Module FvwmConfig
+		"" Nop
+		"Fvwm " Module FvwmTalk

# This menu will fire up some very common utilities
AddToMenu "Utilities" " Ͻʴϱ?*mini-redhat.xpm*" Title
+              "  ͹̳ %mini-sh1.xpm%" Exec exec hanterm -ls -bg PapayaWhip  -T "      " -sb -sl 500 &
+              "  ý Ȳ%mini-run.xpm%" Exec exec xterm -font 7x14 -T "ǽð ý Ȳ" -n Top -e top &
+              "  %mini-calc.xpm%" Exec exec xcalc &
+              "  X Ŵ%mini-book1.xpm%" Exec exec xman &
+              "  X %mini-zoom.xpm%" Exec exec xmag &
+	       "   %mini-redhat.xpm%" Exec exec control-panel &
+              "" Nop
+              "  %mini-x2.xpm%" Popup Applications
+              "" Nop
+              "   Shell%mini-term.xpm" Popup Shells
+              "" Nop
+              "  ե, ե, ե%mini-happy.xpm%" Popup Happy
+              "  ſ %mini-happy.xpm%" Popup Games
+              "" Nop
+              "  ȭ%mini-lock.xpm%" Popup Screenlock
+              "" Nop
+              "  %mini-modules.xpm%" Popup Module-Popup
+              "" Nop
+              "  %mini-stop.xpm%"        Popup   Quit-Verify
+              "" Nop
+              "  ȭ鰻%mini-ray.xpm%" Refresh

# This defines the most common window operations
AddToMenu Window_Ops "⺻ â %jx.xpm%" Title
+              "/%mini-iconify.xpm%" Iconify
+              "Stick Ӽ " Stick
+              "" Nop
+              "%mini-maxtall.xpm%η Ȯ/" Maximize 0 100
+              "%mini-maxwide.xpm%η Ȯ/" Maximize 100 0
+              "%mini-shrink-windows-full.xpm%ȭ/" Maximize
+              "" Nop
+              "â ݱ%mini-cross.xpm%" Close
+              " ݱ%mini.destroy.xpm%" Destroy
+              "" Nop
+              "ũѹ ̱%mini-scroll-arrows.xpm%" Module FvwmScroll 1 1
+              "ȭ %mini-ray.xpm%" Refresh

AddToMenu "KillButtonFunction" "ݱ%jball.xpm%" Close
+		" %jball.xpm%" Destroy
+              "%mini-cross.xpm%" Nop

# A trimmed down version of "Window Ops", good for binding to decorations
AddToMenu "Window "Move" Function Move-or-Raise
+              "Resize" Function Resize-or-Raise
+              "Raise" Raise
+              "Lower" Lower
+              "Iconify" Iconify
+              "(Un)Stick" Stick
+              "" Nop
+              "Destroy" Destroy
+              "Delete" Delete
+              "" Nop
+              "ScrollBar" Module FvwmScroll 2 2

#############################################################################
# One more complex function - couldn't be defined earlier because it used 
# pop-up menus
#
# This creates a motif-ish sticky menu for the title-bar window-ops
# pop-up
# Menu acts like normal twm menu if you just hold the button down,
# but if you click instead, the menu stays up, motif style
AddToFunc "window_ops_func" "C" PopUp Window Ops2
+              "M" PopUp Window Ops2

##############################################################################
# This defines the mouse bindings

# First, for the mouse in the root window
# Button 1 gives the Utilities menu
# Button 2 gives the Window Ops menu
# Button 3 gives the WindowList (like TwmWindows)
# I use the AnyModifier (A) option for the modifier field, so you can hold down
# any shift-control-whatever combination you want!

#     Button	Context Modifi 	Function
Mouse 1		R   	A       Menu Utilities Nop
Mouse 2		R    	A       Menu Window_Ops Nop
Mouse 3		R    	A      	WindowList


# From Top-Left To Bottom-Right 
ButtonStyle 2 11 10x10@1 40x10@1 25x20@0 80x70@1 90x60@1 90x85@0 60x85@0 70x75@1 20x30@0 10x40@0 10x10@1
# Cross Kill
#ButtonStyle : 6 13 20x20@1 40x20@1 50x50@1 60x20@1 80x20@1 60x50@0 80x80@0 60x80@0 50x50@1 40x80@0 20x80@0 40x50@1 20x20@1
ButtonStyle 6 16 20x20@1 30x20@1 50x40@1 70x20@1 80x20@1 80x30@0 60x50@0 80x80@0 70x80@0 50x60@0 30x80@0 20x80@0 20x70@0 40x50@1 20x30@0 20x20@1
#ButtonStyle : 6 16 20x20@1 30x20@1 50x40@1 70x20@1 80x20@1 80x30@0 60x50@0 
#                   80x80@0 70x80@0 50x60@0 30x80@0 20x80@0 20x70@0 40x50@1 
#                   20x30@0 20x20@1
# Growing Box
#ButtonStyle : 2 13 10x0@1 80x0@1 80x10@1 80x80@0 0x80@0 0x60@1 10x65@1 70x65@0 70x0@0 55x0@1 55x10@1 55x55@0 10x55@0
# UpArrow
#ButtonStyle : 2 4  50x30@1 70x70@0 30x70@0 50x30@1
#ButtonStyle : 1 4  50x35@1 65x65@0 35x65@0 50x35@1 
# DownArrow
#ButtonStyle : 1 4  50x65@1 35x35@1 65x35@1 50x65@0
#ButtonStyle 1 5 39x75@0 61x75@0 39x25@0 61x25@1 39x75@1
ButtonStyle 3 5 20x70@1 80x70@1 80x80@0 20x80@0 20x70@1
# OS/2 Warp Style
#ButtonStyle : 2 5 20x20@0 80x20@0 80x80@0 20x80@0 20x20@0
#ButtonStyle : 4 5 30x30@0 70x30@0 70x70@0 30x70@0 30x30@0

# Now the title bar buttons
# Any button in the left title-bar button gives the window ops menu
# Any button in the right title-bar button Iconifies the window
# Any button in the rightmost title-bar button maximizes
# Note the use of "Mouse 0" for AnyButton.

#     Button	Context Modifi 	Function
Mouse 0		1	A 	Menu Window_Ops Nop
Mouse 0		2    	A       Maximize 80 100	
Mouse 0		3	A	WindowList
Mouse 0		4    	A     	Iconify
Mouse 0		6	A 	Menu "KillButtonFunction"	 Nop
#Mouse 0		0	A	Popup "Shells"
#Mouse 0		9	A	Popup "Applications"

# Now the rest of the frame
# Here I invoke my complex functions for Move-or-lower, Move-or-raise,
# and Resize-or-Raise. 
# Button 1 in the corner pieces, with any modifiers, gives resize or raise
Mouse 1		F	A	Function "Resize-or-Raise"
# Button 1 in the title, sides, or icon, w/ any modifiers, gives move or raise
Mouse 1		TS	A	Function "Move-or-Raise"

# Button 1 in an icons gives move for a drag, de-iconify for a double-click,
# nothing for a single click
# Button 2 in an icon, w/ any modifiers, gives de-iconify

Mouse 1		I	A	Function "Move-or-Iconify"
Mouse 2		I	A	Iconify

# Button 2 in the corners, sides, or title-bar gives the window ops menu
Mouse 2		FST	A	Function "window_ops_func"
# Button 3 anywhere in the decoration (except the title-bar buttons)
# does a raise-lower
Mouse 3		TSIF	A	RaiseLower

# Button 3 in the window, with the Modifier-1 key (usually alt or diamond)
# gives Raise-Lower. Used to use control here, but that interferes with xterm
Mouse 3         W       M       RaiseLower
Mouse 1		R	C	Exec exec hanterm -ls -sb -bg LemonChiffon -T "  : $HOSTNAME ($HOSTTYPE)" &
Mouse 2		R	C	Exec exec hanterm -ls -sb -bg ivory3  -T "  : $HOSTNAME ($HOSTTYPE)" &
Mouse 3		R	C	Exec exec hanterm -ls -sb -bg PapayaWhip  -T "  : $HOSTNAME ($HOSTTYPE)" &

############################################################################
# Now some keyboard shortcuts.

# Arrow Keys
# press arrow + control anywhere, and scroll by 1 page
Key Left	A	CM	Scroll -100 0
Key Right	A	CM	Scroll +100 +0
Key Up		A	CM	Scroll +0   -100
Key Down	A	CM	Scroll +0   +100

# press arrow + meta key, and scroll by 1/10 of a page
#Key Left	A	M	Scroll -10 +0
#Key Right	A	M	Scroll +10 +0
#Key Up		A	M	Scroll +0   -10
#Key Down	A	M	Scroll +0   +10

# press shift arrow + control anywhere, and move the pointer by 1% of a page
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

# press shift arrow + meta key, and move the pointer by 1/10 of a page
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
Key Tab		A	M	Next [!iconic] Focus
Key Tab		A	SM	Prev [!iconic] Focus

# Keyboard accelerators

#Page Up/Dapge Down keys are used to scroll by one desktop page
# in any context, press page up/down + control
# in root context, just pressing page up/down is OK
# 
# I prefer the non-wrapping scroll. These are for example purposes only
#Key Next	A       C       Scroll 100000 0
#Key Next	R       N       Scroll 100000 0  
#Key Prior	A       C       Scroll -100000 0
#Key Prior	R       N       Scroll -100000 0

#Key F9		A	C	Quit
#Key F11		A	N	Scroll -100 0
#Key F12		A	N	Scroll +100 0

############################################################################
############################################################################
# ⼭ʹ  ÿ  ̴.  ⺻ Լ  
#   ʾұ   ʴ´. ڼ  fvwm ޴ 
# ٶ.

###################### GoodStuff button-bar ################################
# Colors
Style "FvwmButtons" StaysPut

#*FvwmButtonsGeometry 60x660-1-1
#*FvwmButtonsFore snow
#*FvwmButtonsBack rgb:90/80/90
#*FvwmButtonsFont -bitstream-charter-medium-r-*-*-12-*-*-*-*-*-*-*
#*FvwmButtonsColumns 1
#*FvwmButtonsFrame 1
*FvwmButtons ( 1x2 Container( Rows 2) )
*FvwmButtons ( 1x1 Padding 0 1, Back Blue, Swallow "FvwmPager" 'Module FvwmPager 0 0' )
*FvwmButtons ( 1x1 Swallow(Kill) xmem `Exec xmem -update 2 -bg PeachPuff` )
*FvwmButtons ( End )
*FvwmButtons ( Container )
*FvwmButtons ( Swallow(Kill) xclock `Exec exec xclock -hd red -fg snow -bg SteelBlue -padding 0`) 
*FvwmButtons ( End )
*FvwmButtons ( Swallow(Kill) xload `Exec xload -geometry -1000-1000 -bg RoyalBlue`, \
*FvwmButtons 	Action Beep )
*FvwmButtons ( Title Xcalc, Icon calc.xpm, Action  'Exec xcalc &' )
*FvwmButtons ( Title XView, Icon xv.xpm, Action  'Exec xv &' )
*FvwmButtons ( Fore Black Title PS, Icon gsicon.xbm, Action(Mouse 1) 'Exec ghostview -a4 -magstep 3 &',\
				Action(Mouse 2) 'Exec gv &', \
				Action(Mouse 3) 'Exec gv &' )
*FvwmButtons ( Title Term, Icon rterm.xpm, Action 'Popup "Shells"' )
*FvwmButtons ( Title Apps, Icon wizard.xpm, Action (Mouse 1) 'Popup "Applications"',\
				Action (Mouse 3) 'Exec xdir', \
				Action (Mouse 2) Beep  )
*FvwmButtons ( Title (Side) Kill, Icon bomb.xpm, Action Destroy )
*FvwmButtons ( Title Again, Icon fvwm.xpm, Action 'Restart /usr/X11/bin/hfvwm2' )

# xterm or rxvts on remote machines can be done like this
# Output re-direction is csh style, not sh style
# You will want to substitute your own hosts here!

########################## GoodStuff 2 ####################################
Style "Fvwm2Buttons"	StaysPut
*Fvwm2ButtonsFore PeachPuff 
*Fvwm2ButtonsBack #908090

*Fvwm2ButtonsFont -adobe-courier-medium-r-*-*-11-*-*-*-*-*-*-*
*Fvwm2ButtonsGeometry 1020x60+0+0

*Fvwm2ButtonsRows 1
*Fvwm2ButtonsFrame 1
*Fvwm2ButtonsPadding 2 2

*Fvwm2Buttons ( Container (Columns 2 Padding 2 2) )
*Fvwm2Buttons ( Swallow (Kill) "oclock" 'Exec exec oclock -bg yellow -hour Red -minute Blue -geometry -1000-1000')
*Fvwm2Buttons - whatever	Swallow "xcmap" Exec exec xcmap -geometry -1500-1500
*Fvwm2Buttons ( End )
*Fvwm2Buttons ( Container (Columns 2) )
*Fvwm2Buttons ( Swallow "xlogo" 'Exec xlogo -bg steelblue -fg snow' )
*Fvwm2Buttons ( Fore Black ) Hanterm xterm.xpm Exec "" hanterm -T "ѱ ͹̳" -n "" -bg PapayaWhip -ls -geometry 80x25 &
*Fvwm2Buttons ( End )
*Fvwm2Buttons ( Container (Columns 2) )
*Fvwm2Buttons ( Title Audio, Icon cdrom.xpm, Action 'Exec workman -b&' )
*Fvwm2Buttons Mixer xfm_au.xpm	Exec "X Audio Mixer" xamixer &
*Fvwm2Buttons ( End )
*Fvwm2Buttons ( Container (Columns 2) )
*Fvwm2Buttons "HWP/X 3.0" han2.xpm      Exec "HWP"      hwpx &
*Fvwm2Buttons XMosaic Mosaic.xpm Exec "XMosaic" xmosaic &
*Fvwm2Buttons ( End )
*Fvwm2Buttons ( Container )
*Fvwm2Buttons ( Back Black, Swallow "xeyes" 'Exec xeyes' )
*Fvwm2Buttons ( End )
*Fvwm2Buttons ( Container (Columns 2) )
*Fvwm2Buttons Mozilla netscape.xpm	Exec "Netscape" netscape &
*Fvwm2Buttons COMM phone_book.xpm Exec "" seyon -emulator hanterm -modem /dev/cua1 -- -T "  ķ" -sb &
*Fvwm2Buttons ( End )
*Fvwm2Buttons ( Container (Columns 2) )
*Fvwm2Buttons ( Title Refresh, Icon xlogo16, Action Refresh )
*Fvwm2Buttons ( Back steelblue, Swallow (Kill) XBiff 'Exec exec xbiff -fg snow -bg steelblue &' )
*Fvwm2Buttons ( End )
*Fvwm2Buttons ( Container (Columns 2) )
*Fvwm2Buttons ( Swallow "xneko" 'Exec xneko -geometry +1023+767' )
*Fvwm2Buttons ( Icon editres.xpm Title "X res" Action `Exec exec editres&` )
*Fvwm2Buttons ( End )

######################### No Clutter ########################################
# I only wrote NoClutter as a simple test case, but maybe some big sites like
# universities really have usage problems (too many open windows)....
# Time delays are in seconds.
*FvwmNoClutter 3600 Iconify 1
*FvwmNoClutter 86400 Delete

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

########################### Pager #########################################
*FvwmPagerColumns	1
*FvwmPagerBack LemonChiffon
*FvwmPagerFore Black 
*FvwmPagerFont -adobe-helvetica-bold-r-*-*-10-*-*-*-*-*-*-*
*FvwmPagerHilight #cab3ca
*FvwmPagerGeometry 70x70+0+3
*FvwmPagerLabel 0 Linux
*FvwmPagerLabel 1 W W W 
#*FvwmPagerLabel 2 Misc 
#*FvwmPagerLabel 3 Matlab
*FvwmPagerSmallFont 5x8
#*FvwmPagerStartIconic
#
# 2nd FvwmPager
*Fvwm2PagerRows		1
*Fvwm2PagerGeometry	-1000-1000
*Fvwm2PagerLabel 2	Girls	
*Fvwm2PagerFont -adobe-helvetica-bold-r-*-*-10-*-*-*-*-*-*-*
*Fvwm2PagerHilight #cab3ca
*Fvwm2PagerSmallFont 5x8
*Fvwm2PagerBack SeaGreen 
*Fvwm2PagerFore white

##########################FvwmWinList##################################
Style "FvwmWinList"	StaysOnTop
Style "xeyes"	WindowListSkip
*FvwmWinListGeometry +0-1
*FvwmWinListBack #908090
*FvwmWinListFore Black
*FvwmWinListFont -adobe-helvetica-bold-r-*-*-16-*-*-*-*-*-*-*
*FvwmWinListAction Click1 Iconify -1, Focus
*FvwmWinListAction Click2 Iconify 

*FvwmWinListAction Click3 Module "FvwmIdent" FvwmIdent
*FvwmWinListUseSkipList
#*FvwmWinListUseIconNames
#*FvwmWinListNoAnchor

######################### FvwmFileMgr ###################################
*FvwmFileMgrFore	White	
*FvwmFileMgrBack	#908090
*FvwmFileMgrFont	fixed
*FvwmFileMgrGeometry	+0-1
#*FvwmFileMgrMaxGeometry 
*FvwmFileMgrMinGeometry 200x200

########################## FvwmBacker ###################################
*FvwmBackerDesk 0       xpmroot ~/hfvwm2.pixmaps/clouds.xpm
*FvwmBackerDesk 1       xv -root -quit ~/girls/cates.jpg
*FvwmBackerDesk 2	xv -root -quit ~/girls/May96PlayBoy.jpg

########################### FvwmScroll ##################################
*FvwmScrollFore		LightGrey	
*FvwmScrollBack		DarkGrey	

######################## FvwmIconBox ####################################
Style "FvwmIconBox"	Slippery, NoHandles, StaysOnTop, WindowListSkip, BorderWidth 1
*FvwmIconBoxGeometry 6x1-1-1
*FvwmIconBoxFore	Red
*FvwmIconBoxBack	LightGrey
*FvwmIconBoxIconFore	White
*FvwmIconBoxIconBack	Blue
*FvwmIconBoxIconHiFore	Red
*FvwmIconBoxIconHiBack	White
*FvwmIconBoxHideSC	Horizontal
*FvwmIconBoxMaxIconSize	50x50
*FvwmIconBoxPadding	3
*FvwmIconBoxFont	fixed
#*FvwmIconBoxSortIcons
*FvwmIconBoxPlacement	Right Top
*FvwmIconBoxLines	6
*FvwmIconBoxPixmap	fvwm.xpm
#
# Mouse Binding
#
*FvwmIconBoxMouse	1	Click	RaiseLower
*FvwmIconBoxMouse	1	DoubleClick	Iconify
*FvwmIconBoxMouse	2	Click	Iconify -1, Focus
*FvwmIconBoxMouse	3	Click	Module "FvwmIdent" FvwmIdent
*FvwmIconBoxMouse	3	DoubleClick	Destroy
#
# Icon file specifications
#
*FvwmIconBox	"*"	xlogo32	
*FvwmIconBox	"FvwmFileMgr"	-
*FvwmIconBox	"Good*"	-
*FvwmIconBox	"xeyes"	-
*FvwmIconBox	"workman"	cdrom.xpm


########################## FvwmAudio ##################################
*FvwmAudioPlayCmd	/usr/local/bin/play
*FvwmAudioDir		/usr/local/lib/sounds
*FvwmAudioDelay		0
*FvwmAudioRplayHost	localhost
*FvwmAudioRplayPriority 127
*FvwmAudioRplayVolume	70

*FvwmAudio      startup         computer.au
*FvwmAudio      shutdown        gong.au

ButtonStyle 2 16 60x40@1 60x80@0 15x80@0 15x40@1 60x40@1 40x40@1 40x25@1 75x25@1 75x60@0 60x60@0 75x60@0 75x40@0 85x40@0 85x15@0 60x15@1 60x25@1
ButtonStyle 6 8 35x15@1 20x50@1 40x50@0 30x80@1 75x40@0 50x40@1 75x15@0 35x15@1
ButtonStyle 3 Pixmap mini-bball.xpm 
ButtonStyle 6 Pixmap mini.destroy.xpm
ButtonStyle 4 Pixmap mini.iconify.xpm
ButtonStyle 1 Pixmap jx.xpm mini.stick.xpm

#Read .fvwmrc-config

#------------------ Fvwm3Buttons: The CDE Front Panel (almost) !
Style "Fvwm3Buttons" BorderWidth 5, MWMBorder, BackColor #aeb2c3
*Fvwm3ButtonsFore white
*Fvwm3ButtonsBack #aeb2c3
*Fvwm3ButtonsFont -adobe-helvetica-bold-r-*-*-10-*-*-*-*-*-*-*
# Geometry - really likes to pick its own size, but giving a position is OK
*Fvwm3ButtonsGeometry -77-2
# Layout: specify rows or columns, not both
*Fvwm3ButtonsFrame 1
*Fvwm3ButtonsPadding 0 0
*Fvwm3ButtonsRows 1

# Here we go!
*Fvwm3Buttons(1x1,Container(Rows 4,Frame -1,Padding 0 0))
*Fvwm3Buttons - vueleft2.xpm             Menu Applications
*Fvwm3Buttons - -                        Nop
*Fvwm3Buttons - -                        Nop
*Fvwm3Buttons - vuesubpanel.xpm          Menu Shells
*Fvwm3Buttons - -                        Nop
*Fvwm3Buttons(5x3,Container(Rows 1,Frame 0,Padding 0 0))
*Fvwm3Buttons(Icon clock.xpm, \
             Swallow(UseOld) "xclock" 'Exec xclock -bg \#aeb2c3 \
             -padding 7 -geometry -1500-1500 -fg Black -hd white -hl white -bd white &')
*Fvwm3Buttons ( Swallow (UseOld) "asclock" 'Exec exec asclock')
*Fvwm3Buttons - vuefile1a.xpm            Menu Filemanagers
*Fvwm3Buttons(Icon vuetext.xpm, \
             Action 'Exec "Editor" editor &')
*Fvwm3Buttons - vuemail.xpm              Menu Internet
*Fvwm3Buttons(End)
*Fvwm3Buttons(End)

*Fvwm3Buttons(1x1,Container(Rows 4,Frame 0,Padding 0 0))
*Fvwm3Buttons - vuelock.xpm     Exec xlock -nice 0 -mode pyro &
*Fvwm3Buttons - -                        Nop
*Fvwm3Buttons - -                        Nop
*Fvwm3Buttons - vuestart.xpm             Restart hfvwm2
*Fvwm3Buttons(4x3,Container(Rows 1,Frame 0,Padding 0 0))
*Fvwm3Buttons(1x1) - -                   Nop
*Fvwm3Buttons(2x1,Container(Columns 1,Frame 0,Padding 0 0))
*Fvwm3Buttons(1x2,Container(Rows 2,Frame 1,Padding 0 0))
*Fvwm3Buttons - vueone3.xpm              Desk 0 0 
*Fvwm3Buttons - vuetwo3.xpm              Desk 0 1
*Fvwm3Buttons - vuethree3.xpm            Desk 0 2
*Fvwm3Buttons - vuefour3.xpm             Desk 0 3
*Fvwm3Buttons(End)
*Fvwm3Buttons - -                        Nop
*Fvwm3Buttons(End)
*Fvwm3Buttons - vueexit.xpm              Quit
*Fvwm3Buttons(End)
*Fvwm3Buttons(End)

# I haven't implemented the Printer or Trash Icons yet...
*Fvwm3Buttons(1x1,Container(Rows 4,Frame -1,Padding 0 0)
*Fvwm3Buttons - vuesubpanel.xpm          Menu Utilities
*Fvwm3Buttons - -                        Nop
*Fvwm3Buttons - -                        Nop
*Fvwm3Buttons - vuesubpanel.xpm          Menu Happy
*Fvwm3Buttons - vueright.xpm             Iconify 1
*Fvwm3Buttons(5x3,Container(Rows 1,Frame 0,Padding 0 0))
*Fvwm3Buttons(Icon vueprint.xpm)
*Fvwm3Buttons - vuepaint.xpm             Menu Graphics
*Fvwm3Buttons - vuefile2.xpm             Menu Applications
*Fvwm3Buttons(Icon vueman.xpm)
*Fvwm3Buttons - vuetrash.xpm             Nop
*Fvwm3Buttons(End)
*Fvwm3Buttons(End)
