Latest Tweet
- Dropped container of polynesian sauce on floor, fully-open side down. NOTHING CAME OUT. Chick-fil-A, champion of viscous sauces. 6 days ago
- More updates...
Categories
Tags
academia alcohol animals boyfriend cooking databases email forwards family Flickr food friends health Javascript Lexington Linux list Mario math movies music news OS X Perl PHP politics programming quizzes Rails rants reading Ruby screenshots shopping Sims sports themes tutorials Twilight is ridiculous vehicles video games videos weather Web development work zombies again-
Recent Comments
-
Random Quote
"The civil rights of none shall be abridged on account of religious belief or worship, nor shall any national religion be established, nor shall the full and equal rights of conscience be in any manner, or on any pretence, infringed.'
— James Madison (Original wording of the First Amendment; Annals of Congress 434 (June 8, 1789).) Syndication
All posts RSS feed
.fvwm2rc
Here is my old .fvwm2rc configuration file for the F Virtual Window Manager.
# path to the imagesImagePath /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 desktopsEdgeResistance 250 10EdgeScroll 100 100ClickTime 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 colorHilightColor #000000 #716C8ADeskTopSize 3x2# colors for the desktop popup menus# font color, background color,MenuStyle #000000 #716C8A #000000 -fixed-r-*-*-16-*-*-*-*-*-*-* fvwmSetAnimation 10 -.01 0 .01 .03 .08 .18 .3 .45 .6 .75 .85 .90 .94 .97 .99 1.0MenuStyle * Hilight3DThin, AnimationMenuStyle * 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+5AddToFunc RestartFunction "I" Module FvwmButtons+ "I" exec xv -root -quit /home/sarah/myfiles/bkg/alice/collage3edit2.jpg+ "I" Module FvwmAnimateColormapFocus FollowsMouse# default Styles:Style "*" BorderWidth 4, HandleWidth 4Style "*" Icon /usr/share/icons/unknown1.xpm, Color lightgrey/dimgreyStyle "*" MWMFunctions, MWMDecor, HintOverrideStyle "*" DecorateTransient, NoPPositionStyle "*" IconBox 0 -10 -280 -1Style "*" FocusFollowsMouseStyle "*" RandomPlacement, SmartPlacement# Styles for various Fvwm modules:Style "Fvwm*" NoTitle, Sticky, WindowListSkip, NoHandlesStyle "Fvwm*" BorderWidth 3, CirculateSkipIcon, CirculateSkipStyle "FvwmPager" StaysOnTopStyle "FvwmBanner" StaysOnTopStyle "FvwmButtons" NoTitle, Sticky, WindowListSkip, CirculateSkipStyle "FvwmButtons" ClickToFocus# Styles for your common terminal emulator programs:Style "XTerm" Icon /usr/share/icons/xterm.xpm, SloppyFocusStyle "rxvt" Icon /usr/share/icons/xterm.xpm, SloppyFocusStyle "rxvt" MWMBorder, MWMButtons# Styles for various common programs:Style "*lock" NoTitle, Sticky, WindowListSkip, ClickToFocusStyle "xbiff" NoTitle, Sticky, WindowListSkip, ClickToFocusStyle "xcalc" Icon /usr/share/icons/xcalc.xpm, NoButton 2, RandomPlacement, ClickToFocusStyle "xmh" Icon /usr/share/icons/mail1.xpm, NoIconTitle,StickyIconStyle "xmh" RandomPlacement, NoButton 2Style "xman" Icon /usr/share/icons/xman.xpm, RandomPlacement, ClickToFocusStyle "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 QuitVerifyAddToMenu 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 100000AddToMenu 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%" RefreshWindowAddToMenu 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%" PrintReverseFunctionAddToMenu 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 MyFvwmTalkAddToMenu 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 menusDestroyMenu "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#--------- HtmlDestroyMenu "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#--------- AccessoriesDestroyMenu "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 &#--------- GamesDestroyMenu "Games"AddToMenu "Games" \"-xBill%/home/sarah/myfiles/icons/menu.xpm%" Exec xbill &#--------- EditorsDestroyMenu "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 managersDestroyMenu "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 &#--------- GraphicsDestroyMenu "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 &#----------ThemesDestroyMenu "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"#--------- ShellsDestroyMenu "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 ThemeDestroyDecor PurpleAddToDecor Purple+ WindowFont -*-clean-medium-r-normal-*-*-*-*-*-*-*-*-*+ TitleStyle ActiveDown (Solid Purple)\ActiveUp (Solid Purple) Inactive (Solid Grey)+ HilightColor #383838 #e300ff+ ButtonStyle 1 -- UseBorderStyleStyle Purple UseDecor Purple, BorderWidth 4, HandleWidth 4,\MWMborder, MWMbuttons# Function to change all windows to a new style.DestroyFunc ChangeStyleAddToFunc 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 [*] FocusKey Prior A SCM Prev [*] FocusKey Menu A N Menu RootMenu Nop# Let's bind some keys to pan the desktop aroundKey Left A C Scroll -100 0Key Right A C Scroll +100 +0Key Up A C Scroll +0 -100Key Down A C Scroll +0 +100Key Left A SC Scroll -10 +0Key Right A SC Scroll +10 +0Key Up A SC Scroll +0 -10Key Down A SC Scroll +0 +10# These key bindings let the user use fvwm without a mouseKey Left A SC CursorMove -1 0Key Right A SC CursorMove +1 +0Key Up A SC CursorMove +0 -1Key Down A SC CursorMove +0 +1Key Left A SM CursorMove -10 +0Key Right A SM CursorMove +10 +0Key Up A SM CursorMove +0 -10Key Down A SM CursorMove +0 +10# Alt-Tab simili-Windows behaviourKey Tab A M WindowList Root c c NoDeskSort# some simple default mouse bindings:# for the root window:Mouse 1 R A Menu RootMenu NopMouse 2 R A Menu Window-Ops NopMouse 3 R A WindowList# for the title bar buttons:Mouse 0 1 A Menu Window-Ops2 CloseMouse 0 2 A Maximize-FuncMouse 0 4 A Iconify# for other parts of the window/borders/icons:Mouse 1 F A Resize-or-RaiseMouse 1 TS A Move-or-RaiseMouse 1 I A Move-or-IconifyMouse 2 I A IconifyMouse 2 FST A Menu Window-Ops2 NopMouse 3 TSIF A RaiseLower######################## Sample Functions ##########################AddToFunc MailFunction "I" Next [$0] Iconify -1+ "I" Next [$0] Focus+ "I" None [$0] Exec $0 $1AddToFunc Move-or-Raise "I" Raise+ "M" Move+ "D" LowerAddToFunc Move-or-Raise2 "M" Raise+ "M" Move+ "D" LowerAddToFunc Maximize-Func "M" Maximize 0 100+ "C" Maximize 0 80+ "D" Maximize 100 100AddToFunc Move-or-Iconify "I" Raise+ "M" Move+ "D" IconifyAddToFunc Resize-or-Raise "I" Raise+ "M" Resize+ "D" LowerAddToFunc Resize-or-Raise2 "M" Raise+ "M" Resize+ "D" LowerAddToFunc PrintFunction "I" Raise+ "I" Exec xdpr -id $wAddToFunc PrintReverseFunction "I" Raise+ "I" Exec xdpr 1/2 -h -rv -id $wAddToFunc Iconify-and-Raise "I" Iconify+ "I" Raise# RLOGIN machine fg bgAddToFunc RLOGIN "I" Exec xterm -fg $1 -bg $2 -e rlogin $0 -8AddToFunc FocusAndWarp "I" Focus+ "I" WarpToWindow 2p 2pAddToFunc DeiconifyFocusAndWarp "I" Iconify -1+ "I" FocusAndWarpAddToFunc 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###########################################################################################