FVWM: Re: Please send your .fvwm2rc

From: Eric Ding <ericding_at_San-Jose.ate.slb.com>
Date: Wed, 01 Nov 1995 16:26:51 -0800

Hi Bret,

here's my .fvwm2rc... it's got some pixmaps that don't come with the
distribution, but hope it helps!

Eric
--
# fvwm 2.0 resource file
WindowFont -adobe-helvetica-bold-r-normal--*-120-*-*-*-*-*-*
IconFont -adobe-helvetica-bold-r-normal--*-100-*-*-*
EdgeScroll 100 100
EdgeResistance 250 50
ModulePath /u/ericding/lib/fvwm2
PixmapPath /u/ericding/lib/fvwm2:/u/ericding/lib/fvwm:/u/ericding/Pictures/xpm
IconPath   /u/ericding/lib/fvwm2:/u/ericding/lib/fvwm
HilightColor   Black #5f9da0
DeskTopSize 2x2
MenuStyle Black #60a0c0 SlateGrey -adobe-helvetica-bold-r-normal--*-120-*-*-*-*-*-* mwm
XorValue 25
Style "*"		BorderWidth 5,HandleWidth 5
Style "*"		Color Black/gray64
Style "*"		IconBox 105 1 700 300
Style "*"		MWMFunctions,MWMButtons,MWMDecor,MWMBorder
Style "*"		HintOverride,RandomPlacement,SmartPlacement,NoPPosition
Style "Fvwm*"		NoTitle,NoHandles,Sticky,WindowListSkip,BorderWidth 0
Style "Fvwm Pager"	StaysOnTop
Style "FvwmPager"	StaysOnTop
Style "FvwmBanner"	StaysOnTop
Style "FvwmButtons"	NoTitle,NoHandles,Sticky,WindowListSkip,BorderWidth 0
Style "FvwmIconMan"	HandleWidth 5, BorderWidth 5
Style "FvwmTalk"	HandleWidth 5, Title, BorderWidth 5
Style "*x-face*"	NoTitle,NoHandles,WindowListSkip
Style "*lock"		NoTitle,NoHandles,Sticky,WindowListSkip
Style "*xbiff"		NoTitle,NoHandles,Sticky,WindowListSkip
Style "xload"		NoTitle,NoHandles,Sticky,WindowListSkip
Style "Cm"		Sticky,NoIconTitle,WindowListSkip
Style "mh-e"		Icon mailtool2.xpm, IconBox 1043 54 -1 -1
Style "xcalc"		Icon xcalc.xpm, Sticky
Style "xmag"		Icon mag_glass.xpm
Style "userload"	Sticky, NoButton 2
Style "CONSOLE*"	Sticky
Style "*logout"		Sticky,NoTitle,NoHandles,WindowListSkip
Style "Morning*Evening"	Sticky, IconBox 403 883 520 902
# Arrow Keys
# press arrow + control anywhere, and scroll by 1 page
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
# Keyboard accelerators
Key F1		A	C	GotoPage 0 0
Key F2		A	C	GotoPage 1 0
Key F3		A	C	GotoPage 0 1
Key F4		A	C	GotoPage 1 1
Key F5		A	A	Warp mh-e "mh-e -f my-mh-rmail -geometry -100+100"
Key F6		A	A	Warp Athena "xterm -T Athena -n Athena -bg midnightblue -fg lightyellow -cr lightyellow -fn 6x13 -geometry 80x40 -e telnet gaston.mit.edu"
Key F7		A	A	Warp morningandEvening morneve
Key F8		A	A	Warp cm cm
Key F9		A	C	Next [CurrentDesk xterm] Focus
Key F10		A	C	Next [CurrentDesk emacs] Focus
Key L5          A       A       RaiseLower
Key L7          A       A       Iconify
Mouse 1		R   	A       Menu "Main" Nop
Mouse 2		R    	A      	WindowList
Mouse 3		R    	A       Menu "Apps" Nop
# Title bar buttons
Mouse 0		1    	A      	Menu Window_Ops2 Delete
Mouse 0		2    	A     	Maximize-Func
Mouse 0		4    	A     	Iconify
Mouse 1		T	A	Move-or-Raise
Mouse 1		FS	A	Resize-or-Raise
Mouse 1		I	A	Move-or-Iconify
Mouse 2		I	A	Iconify
Mouse 3		I	A	Move-or-Iconify
Mouse 2		FST	A	Menu Window_Ops2 Delete
Mouse 3		FST	A	RaiseLower
Mouse 2		W	M	Resize
Mouse 3         W       M       Move-or-Raise
#################### Initialization Functions ####################
AddToFunc InitFunction	"I" Module FvwmButtons
+			"I" Desk 0 0
AddToFunc RestartFunction	"I" Module FvwmButtons
######################## Complex Functions #######################
AddToFunc Toggle-Page	"I" EdgeScroll 0 0
+			"I" EdgeScroll 100 100
# This one moves the window if you drag the mouse, only raises the window
# if you click, or does a RaiseLower if you double click
AddToFunc Move-or-Raise	"M" Move
+			"C" Raise
+			"D" RaiseLower
# This one maximizes vertically if you click (leaving room for the
# GoodStuff bar at the bottom, or does a full maximization if you double
# click, or a true full vertical maximization if you just hold the mouse
# button down.
AddToFunc Maximize-Func	"M" Maximize 0 100
+			"C" Maximize 0 80
+			"D" Maximize 100 100
# This one moves and then lowers the window if you drag the mouse, only
# lowers the window if you click, or does a RaiseLower if you double click
AddToFunc Move-or-Lower	"M" Move
+			"M" Lower
+			"C" Lower
+			"D" RaiseLower
# This one moves or (de)iconifies
AddToFunc Move-or-Iconify	"M" Move
+				"D" Iconify
+				"D" Raise
# This one resizes and then raises the window if you drag the mouse, only
# raises the window if you click, or does a RaiseLower if you double click
AddToFunc Resize-or-Raise	"M" Resize
+				"M" Raise
+				"C" Raise
+				"D" RaiseLower
AddToFunc Warp	"I" Next [$0] Iconify -1
+		"I" Next [$0] Focus
+		"I" None [$0] Exec $1 
AddToFunc XPMBack "I" Exec xpmroot /u/ericding/Pictures/xpm/$0
AddToFunc ImageBack "I" Exec xv -root -quit /u/ericding/Pictures/images/$0
AddToFunc Rsh-Func "I" Exec rxterm $0 white:gray30 80x40 $DISPLAY "-cr white -title $0 -e ~rod/bin/tcsh -l"
############################# Menus ##############################
AddToMenu Quit-Verify "Really Quit Fvwm?" Title
+	"Restart fvwm"		Restart fvwm2
+	"Start twm"		Restart twm
+	"Start vtwm"		Restart vtwm.gamma
+	"Start mwm"		Restart mwm
+	"Start olwm"		Restart /usr/openwin/bin/olwm
+	""			Nop
+	"Yes, Really Quit"	Quit
AddToMenu Module "Modules" Title
+	"Buttons"	Module FvwmButtons
+	"Clean-Up"	Module FvwmClean
+	"Debug"		Module FvwmDebug
+	"Icon Box"	Module FvwmIconBox
+	"Icon Manager"	Module FvwmIconMan
+	"Identify"	Module FvwmIdent
+	"SaveDesktop"	Module FvwmSave
+	"Talk"		Module FvwmTalk
+	"WinList"	Module FvwmWinList
AddToMenu Apps "Applications" Title
+	"Archie%mini.xarchie.xpm%"	Exec LD_LIBRARY_PATH="" xarchie
+	"Athena"	Exec xterm -T Athena -n Athena -bg midnightblue -fg lightyellow -cr lightyellow -fn 6x13 -geometry 80x40 -e telnet gaston.mit.edu
+	"Boing%mini.xboing.xpm%"	Exec xboing -speed 2 -maxvol 13 -sound
+	"Calendar"	Exec cm -icon_position 0 0
+	"Cricketerm%mini.xterm.xpm%"	Exec xterm -rv -title cricketerm -n cricketerm
+	"Emacs"		Exec emacs
+	"mh-e"		Exec mh-e -f my-mh-rmail -geometry -100+100
+	"Mule"		Exec mule
+	"Mosaic L10N"	Exec xmosaic-cjk
+	"Netscape%mini.netscape.xpm%"	Exec netscape -install
+	"XEmacs"	Exec xemacs
AddToMenu XPM_Backgrounds "Beehive" XPMBack background1.xpm
+	"Stained Glass"	XPMBack background2.xpm
+	"Rain Shower"	XPMBack background3.xpm
+	"Puzzle"	XPMBack background4.xpm
+	"Velvet"	XPMBack background5.xpm
+	"Tiles"		XPMBack background6.xpm
+	"Maze"		XPMBack background7.xpm
+	"Carpet"	XPMBack background8.xpm
+	"Waves"		XPMBack background9.xpm
AddToMenu "Backgrounds" "Backgrounds" Title
+	"Default"	Exec xsetroot -default
+	"Light Gray"	Exec xsetroot -solid gray80
+	"LightBlue"	Exec xsetroot -solid LightBlue
+	"Plum1"		Exec xsetroot -solid Plum1
+	"Big Fish"	Exec xsetroot -bitmap /u/ericding/Pictures/bitmaps/bigfish.bmp
+	"Cool XPM's"	Popup XPM_Backgrounds
+	""		Nop
+	"Beauty"	ImageBack fullbeauty.jpg
+	"Fantasia"	ImageBack fantasia.gif
+	"Hitchhiker"	ImageBack hgttg.gif
+	"SR-71A"	ImageBack sr71a.gif
+	"2010"		ImageBack 2010.gif
AddToMenu "Rxterm" "Sparc 20" Title
+	"Calgary"	Rsh-Func Calgary
+	"Grenoble"	Rsh-Func Grenoble
+	"Nirvana"	Rsh-Func Nirvana
+	"Toro"		Rsh-Func Toro
+	"Weisshom"	Rsh-Func Weisshom
+	""		Nop
+	"Sparc 10"	Title
+	"Antofalla"	Rsh-Func Antofalla
+	"Marmolejo"	Rsh-Func Marmolejo
+	"Missouri"	Rsh-Func Missouri
+	"Olympus"	Rsh-Func Olympus
# +	"Semeru"	Rsh-Func Semeru
AddToMenu Xterms "Clearcase" Exec xterm -rv -e /usr/atria/bin/cleartool setview ericding_view
+	"10x20"	Exec xterm -bg antiquewhite -fn 10x20
+	"Green"	Exec xterm -bg darkgreen -fg lavender -cr lavender
+	"Blue"	Exec xterm -bg skyblue4 -fg beige -cr beige
+	"Pink"	Exec xterm -bg pink -fg black -cr black
+	"Rxterm" Popup Rxterm
AddToMenu Bell	"Loud"	Exec xset b 100
+		"Quiet"	Exec xset b 30
+		"Off"	Exec xset b 0
AddToMenu Keyclick	"Loud"	Exec xset c 100
+			"Quiet"	Exec xset c 13
+			"Off"	Exec xset c 0
AddToMenu Utilities	"Bell"			Popup Bell
+			"Keyclick"		Popup Keyclick
+			"Xmag"			Exec xmag
+			"Xcalc"			Exec xcalc
+			""			Nop
+			"Refresh Screen"	Refresh
# This defines the most common window operations
AddToMenu Window_Ops "Window Ops" Title
+	"Move%mini.move.xpm%"		Move-or-Raise
+	"Resize%mini.resize.xpm%"	Resize-or-Raise
+	"Raise%mini.raise.xpm%"		Raise
+	"Lower%mini.lower.xpm%"		Lower
+	"(De)Iconify%mini.iconify.xpm%"	Iconify
+	"(Un)Stick%mini.stick.xpm%"	Stick
+	"(Un)Maximize"			Maximize
+	""				Nop
+	"Destroy%mini.destroy.xpm%"	Destroy
+	"Delete%mini.exit.xpm%"		Delete
+	""				Nop
+	"ScrollBar"			FvwmScroll 2 2
# A trimmed down version of "Window_Ops", good for binding to decorations
AddToMenu "Window_Ops2" "Move%mini.move.xpm%" Function Move-or-Raise
+	"Resize%mini.resize.xpm%"	Resize-or-Raise
+	"Raise%mini.raise.xpm%"		Raise
+	"Lower%mini.lower.xpm%"		Lower
+	"Iconify%mini.iconify.xpm%"	Iconify
+	"(Un)Stick%mini.stick.xpm%"	Stick
+	""		Nop
+	"Destroy%mini.destroy.xpm%"	Destroy
+	"Delete%mini.exit.xpm%"		Delete
+	""		Nop
+	"ScrollBar"	FvwmScroll 2 2
AddToMenu "Main" "*cross.xpm*" Nop
+	""		Nop
+	"Quit/Restart"	Popup Quit-Verify
+	""		Nop
+	"Applications"	Popup Apps
+	"Backgrounds"	Popup Backgrounds
+	"Xterms%mini.xterm.xpm%"	Popup Xterms
+	"Utilities"	Popup Utilities
+	"Windows"	Popup Window_Ops
+	"Modules"	Popup Module
+	""		Nop
+	".Xresources"	Exec xrdb -load /u/ericding/.Xresources
+	"XLock%mini.xlock.xpm%"	Exec nice /usr/openwin/bin/xlock -mode flame
######################### FvwmButtons #########################
# Colors
*FvwmButtonsFore Black
*FvwmButtonsBack #909090
# Font
*FvwmButtonsFont -adobe-helvetica-bold-r-*-*-11-*-*-*-*-*-*-*
*FvwmButtonsGeometry +0+769
# Layout: specify rows or columns, not both
*FvwmButtonsRows 2
*FvwmButtons Xterm   rterm.xpm   Exec "cricketerm" xterm -rv -title cricketerm -n cricketerm
*FvwmButtons Emacs kitchen-sink.xpm   Exec "emacs" emacs
*FvwmButtons Mail    mail2.xpm   Warp mh-e "mh-e -f my-mh-rmail -geometry -100+100"
*FvwmButtons Athena  athena.xpm   Exec "Athena" xterm -T Athena -n Athena -bg midnightblue -fg lightyellow -cr lightyellow -fn 6x13 -geometry 80x40 -e telnet gaston.mit.edu
*FvwmButtons Netscape  netscape.xpm Warp netscape "netscape -install"
*FvwmButtons xv xv.xpm  Exec "xv" xv
*FvwmButtons Frame frame.xpm Warp FrameMaker maker
*FvwmButtons xlock xlock.xpm Exec "" /usr/openwin/bin/xlock -mode flame
#*FvwmButtons Paging clamp1.xpm Function Toggle-Page
*FvwmButtons(3x1) - whatever SwallowModule "FvwmPager" FvwmPager 0 0
*FvwmButtons(2x1) - NULL Swallow "xload" Exec nice -16 xload -font -adobe-helvetica-bold-r-\*-\*-10-\* -bg antiquewhite -geometry -1500-1500
*FvwmButtons - NULL Swallow "audio-xbiff" Exec audio-xbiff -geometry -1500-1500
########################## Window-Identifier #########################
# Just choose colors and a fonts
*FvwmIdentBack MidnightBlue
*FvwmIdentFore Yellow
*FvwmIdentFont -adobe-helvetica-medium-r-*-*-12-*-*-*-*-*-*-*
########################### Pager ####################################
*FvwmPagerBack #909090
*FvwmPagerFore #484048
*FvwmPagerFont -adobe-helvetica-bold-r-*-*-10-*-*-*-*-*-*-*
*FvwmPagerHilight #cab3ca
*FvwmPagerGeometry +1-1
*FvwmPagerLabel 0 Jesus Reigns!
*FvwmPagerSmallFont 5x8
##########################FvwmWinList##################################
*FvwmWinListBack #908090
*FvwmWinListFore Black
*FvwmWinListFont -adobe-helvetica-bold-r-*-*-10-*-*-*-*-*-*-*
*FvwmWinListAction Click1 Iconify -1,Focus
*FvwmWinListAction Click2 Iconify
*FvwmWinListAction Click3 Module "FvwmIdent" FvwmIdent
*FvwmWinListUseSkipList
*FvwmWinListGeometry +370-1
*FvwmWinListUseIconNames
########################## FvwmIconBox ################################
*FvwmIconBoxIconBack    #cfcfcf
*FvwmIconBoxIconHiFore  black
*FvwmIconBoxIconHiBack  LightSkyBlue
*FvwmIconBoxBack        #5f9ea0
#*FvwmIconBoxFore       blue
*FvwmIconBoxGeometry    5x1+0+0
*FvwmIconBoxMaxIconSize 64x38
*FvwmIconBoxFont        -adobe-helvetica-medium-r-*-*-12-*-*-*-*-*-*-*
*FvwmIconBoxSortIcons
*FvwmIconBoxPadding     4
*FvwmIconBoxLines       5
*FvwmIconBoxPlacement   Left Top
*FvwmIconBoxPixmap      background5.xpm
#
# mouse bindings
#
*FvwmIconBoxMouse       1       Click           RaiseLower
*FvwmIconBoxMouse       1       DoubleClick     Iconify
*FvwmIconBoxMouse       2       Click           Iconify -1, Focus
*FvwmIconBoxMouse       3       Click           Module "FvwmIdent" FvwmIdent
#
# Key bindings
#
*FvwmIconBoxKey         r       RaiseLower
*FvwmIconBoxKey         space   Iconify
*FvwmIconBoxKey         d       Close
#
# FvwmIconBox built-in functions
#
*FvwmIconBoxKey         n       Next
*FvwmIconBoxKey         p       Prev
*FvwmIconBoxKey         h       Left
*FvwmIconBoxKey         j       Down
*FvwmIconBoxKey         k       Up
*FvwmIconBoxKey         l       Right
#
# Icon file spcifications
#
*FvwmIconBox            "*"             unknown1.xpm
*FvwmIconBox            "Fvwm*"         -
*FvwmIconBox            "FvwmButtons"   -
*FvwmIconBox		"cm"		-
*FvwmIconBox		"*clock"	-
*FvwmIconBox            "rxvt"          term.xpm
*FvwmIconBox            "xterm"         xterm.xpm
*FvwmIconBox            "editres"       editres.xpm
*FvwmIconBox            "xman"          xman.xpm
*FvwmIconBox            "xbiff"         mail1.xpm
*FvwmIconBox            "audio-xbiff"   mail1.xpm
*FvwmIconBox            "xmh"           mail1.xpm
*FvwmIconBox            "xcalc"         xcalc.xpm
*FvwmIconBox		"Mosaic"	mosaic.xpm
*FvwmIconBox		"Athena"	athena.xpm
*FvwmIconBox		"xv"		xv.xpm
*FvwmIconBox		"emacs"		toolbox.xpm
*FvwmIconBox		"mh-e"		mail2.xpm
*FvwmIconMan*nummanagers	1
*FvwmIconMan*resolution		page
*FvwmIconMan*background		slategrey
*FvwmIconMan*foreground		white
*FvwmIconMan*font		-adobe-helvetica-medium-r-*-*-12-*-*-*-*-*-*-*
*FvwmIconMan*action		click1 Iconify
*FvwmIconMan*action		click3 Module "FvwmIdent" FvwmIdent
--
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_hpc.uh.edu.
To report problems, send mail to fvwm-owner_at_hpc.uh.edu.
Received on Wed Nov 01 1995 - 18:27:08 GMT

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:37:57 BST