# Change to suit your needs, actually this look only needs # 5 pixmaps called: # xterm_24.xpm # FilingCabinet_24.xpm # thunderbird_24.xpm # firefox_24.xpm # emacs_24.xpm # and those are available on the site you found this config on. # OR you can use gimp against 3dpixmaps to make your own # pixmap size is ~ 24x24 ImagePath /u/local/3dpixmaps/3d:/u/local/3dpixmaps/other:/usr/X11R6/icons:/usr/X11R6/include/X11/bitmaps:/usr/X11R6/lib/X11/fvwm2/pixmaps:/u/local/Textures EdgeResistance 250 10 EdgeScroll 0 0 ClickTime 750 ColormapFocus FollowsMouse TitleStyle LeftJustified TitleStyle Height 24 MenuStyle 'black' '#286385' gray45 "Shadow=0 SE:xft:Sans:pixelsize=16:minspace=true" mwm Style * HilightFore gainsboro, HilightBack '#5A5863' Style * Color gainsboro/'gray20' ############################################################################### # Color Sets ############################################################################### Colorset 1 fg black, bg #323232, RootTransparent Colorset 4 fg black, bg black, RootTransparent DefaultFont "Shadow=0 SE:xft:Sans:pixelsize=20:minspace=true" ############################################################################### # Mouse ############################################################################### Mouse 3 R A Menu RootMenu Nop Mouse 2 R A Menu Window-Ops Nop Mouse 1 R M WindowList OnlyIcons Mouse 1 R A WindowList Mouse 1 1 A Delete Mouse 2 1 A Close Mouse 3 1 A Close Mouse 1 2 A Iconify Mouse 2 2 A Stick Mouse 3 2 A WindowShade 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 RaiseLower Mouse 3 T A Menu Window-Ops2 Nop Mouse 3 SIF A RaiseLower ############################################################################### # start ############################################################################### AddToFunc StartFunction + I Module FvwmAuto 200 Raise Nop + I Module FvwmAnimate + I Module FvwmPager + I Module FvwmIconMan + I Module FvwmButtons + I Exec ( killall conky ; /usr/bin/conky -c ~/Data/conky/vtwm.slackware.1650 ) + I Exec Esetroot -s patryk-Krawaczinski-2.6.jpg ############################################################################### # Window Identify Defaults ############################################################################### *FvwmIdentBack snow *FvwmIdentFore black *FvwmIdentFont "Shadow=0 SE:xft:Sans:pixelsize=16:minspace=true" ############################################################################### # Icon Manager ############################################################################### Style FvwmIconMan BorderWidth 0 *FvwmIconMan*numManagers 1 *FvwmIconMan*1*managergeometry 9x1+0+0 *FvwmIconMan*1*focusbutton flat gray70 black *FvwmIconMan*1*plainbutton flat gray70 black *FvwmIconMan*1*selectbutton flat gray70 black *FvwmIconMan*1*titlebutton flat gray70 black *FvwmIconMan*1*iconbutton flat gray70 black *FvwmIconMan*1*shape true *FvwmIconMan*1*MaxButtonWidth 100 *FvwmIconMan*1*DontShow resource=Player # for Audacious *FvwmIconMan*1*DontShow resource=Audacious* ############################################################################### # Transparent FvwmPager ############################################################################### *FvwmPager: NoSeparators *FvwmPager: Colorset * 1 Style FvwmPager BorderWidth 4, HandleWidth 4 Style "FvwmPager" StaysOnBottom, Sticky DeskTopSize 3x2 *FvwmPagerBack "#708090" *FvwmPagerHilight "#C0C0C0" *FvwmPagerFore black *FvwmPagerFont none *FvwmPagerGeometry -0-0 *FvwmPagerSmallFont 5x8 *FvwmPagerBalloons All *FvwmPagerBalloonBack gray57 *FvwmPagerBalloonFore Black *FvwmPagerBalloonFont "Shadow=0 SE:xft:Sans:pixelsize=14:minspace=true" *FvwmPagerBalloonYOffset +2 *FvwmPagerBalloonBorderWidth 1 *FvwmPagerBalloonBorderColor Black ############################################################################### # FvwmButtons ############################################################################### # geometry for 1680x1050 *FvwmButtons: Geometry 164x34-1-75 *FvwmButtons: Font -adobe-times-medium-r-*-*-10-*-*-*-*-*-*-* *FvwmButtons: Rows 1 *FvwmButtons: Columns 5 *FvwmButtons: Colorset 4 *FvwmButtons: Back black *FvwmButtons: Fore black *FvwmButtons: BoxSize smart *FvwmButtons: (Icon xterm_24.xpm, Action (Mouse 1) `Exec exec rxvt`) *FvwmButtons: (Icon FilingCabinet_24.xpm, Action (Mouse 1) `Exec exec thunar`) *FvwmButtons: (Icon thunderbird_24.xpm, Action (Mouse 1) `Exec exec thunderbird`) *FvwmButtons: (Icon firefox_24.xpm, Action (Mouse 1) `Exec exec firefox`) *FvwmButtons: (Icon emacs_24.xpm, Action (Mouse 1) `Exec exec emacs`) ############################################################################### # Functions ############################################################################### AddToFunc SessionInitFunction + I Nop 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 C Iconify + M Move 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 AddToFunc RLOGIN I Exec xterm -fg $1 -bg $2 -e rlogin $0 -8 AddToFunc TELNET I Exec xterm -fg $1 -bg $2 -e telnet $0 AddToFunc FocusAndWarp I Focus + I WarpToWindow 2p 2p AddToFunc DeiconifyFocusAndWarp I Iconify -1 + I FocusAndWarp AddToFunc ChangeDefaultFocus I Style * $0 + I Recapture + I theme_restart ############################################################################### # Styles ############################################################################### Style * Font "Shadow=0 SE:xft:Sans:pixelsize=16:minspace=true" Style * BorderWidth 4, HandleWidth 4 Style !Xmms MWMFunctions, MWMDecor, HintOverride Style * DecorateTransient, NoPPosition Style * FocusFollowsMouse Style * RandomPlacement, DumbPlacement CursorStyle ROOT arrow Style "Fvwm*" NoTitle, Sticky, WindowListSkip Style "Fvwm*" BorderWidth 2, CirculateSkipIcon, CirculateSkip Style "FvwmBanner" StaysOnTop Style "FvwmButtons" ClickToFocus, BorderWidth 0, HandleWidth 0 Style "FvwmPager" MouseFocusClickRaises Style "FvwmIconMan" Color black/SlateGray, HilightBack SlateGray, Sticky Style "gnome-panel" NoTitle, !Borders, NeverFocus Style "wmfortune" NoTitle, Sticky, WindowListSkip, NoButton 2, StaysOnBottom Style "wmbiff" NoTitle, NoHandles, Sticky, WindowListSkip, ClickToFocus, StaysOnBottom Style "xconsole" NoTitle Style "xeyes" NoTitle, Sticky, WindowListSkip Style "cbb" MWMBorder, MWMButtons Style "xcalc" NoButton 2 Style "elvis" SloppyFocus, MWMBorder, MWMButtons Style "Vim" SloppyFocus, MWMBorder, MWMButtons Style "Gvim" SloppyFocus, MWMBorder, MWMButtons Style "Xedit" SloppyFocus, MWMBorder, MWMButtons Style "Textedit" SloppyFocus, MWMBorder, MWMButtons Style "LyX" SloppyFocus, MWMBorder, MWMButtons Style "editres" MWMBorder, MWMButtons Style "emacs" SkipMapping, SloppyFocus, MWMBorder, MWMButtons Style "xmosaic" Color Green/Yellow, ClickToFocus Style "pr_dialog" Sticky Style "Dialog" Sticky Style "Bigdialog" Sticky Style "Reminder" Sticky Style "Information" Sticky Style "Appointment" StaysOnTop, Sticky, NoTitle Style "Xmessage" StaysOnTop, NoTitle Style "Amarok*" StickyIcon Style "amarok*" StickyIcon Style "xmms" Sticky Style "Audacious" StickyIcon Style "audacious" StickyIcon Style "Audacious2" StickyIcon Style "audacious2" StickyIcon Style "gxine" StickyIcon Style "aterm" SloppyFocus, MWMBorder, MWMButtons Style "Cmdtool" SloppyFocus, MWMBorder, MWMButtons Style "Eterm" SloppyFocus, MWMBorder, MWMButtons Style "GnomeTerminal" SloppyFocus, MWMBorder, MWMButtons Style "rxvt" SloppyFocus, MWMBorder, MWMButtons Style "XTerm" SloppyFocus, MWMBorder, MWMButtons Style "*Gimp*" MWMBorder, MWMButtons Style "*gimp*" MWMBorder, MWMButtons Style "toolbox" NoButton 2 Style "bitmap" MWMBorder, MWMButtons Style "xfig" MWMBorder, MWMButtons Style "xv" NoButton 2 Style "xpaint" MWMBorder, MWMButtons Style "xgraph" ClickToFocus Style "xfontsel" NoButton 2 Style "xbmbrowser" MWMBorder, MWMButtons Style "xless" MWMBorder, MWMButtons Style "xmag" NoButton 2 Style "xbiff" NoButton 2 Style "xbiff" NoTitle, Sticky, WindowListSkip, ClickToFocus Style "xmh" NoButton 2 Style "xmh" NoIconTitle,StickyIcon Style "gkrellm" Sticky, WindowListSkip, StaysOnBottom, StaysOnBottom, NoTitle Style "bubblefishymon" NoTitle, NoHandles, Sticky, WindowListSkip, ClickToFocus, StaysOnBottom Style "wmWeather" NoTitle, NoHandles, Sticky, WindowListSkip, ClickToFocus, StaysOnBottom Style "asapm" NoTitle, NoHandles, Sticky, WindowListSkip, ClickToFocus, StaysOnBottom Style "xclock" NoTitle, NoHandles, Sticky, WindowListSkip, ClickToFocus, StaysOnBottom Style "rclock" NoTitle, NoHandles, Sticky, WindowListSkip, ClickToFocus, StaysOnBottom Style "oclock" NoTitle, NoHandles, Sticky, WindowListSkip, ClickToFocus, StaysOnBottom Style "asclock" NoTitle, NoHandles, Sticky, WindowListSkip, ClickToFocus, StaysOnBottom Style "emiclock" NoTitle, NoHandles, Sticky, WindowListSkip, ClickToFocus, StaysOnBottom Style "xdaliclock" NoTitle, NoHandles, Sticky, WindowListSkip, ClickToFocus, StaysOnBottom Style "xvclock" NoTitle, NoHandles, Sticky, WindowListSkip, ClickToFocus, StaysOnBottom Style "astime" NoTitle, NoHandles, Sticky, WindowListSkip, ClickToFocus, StaysOnBottom Style "xload" NoTitle, NoHandles, Sticky, WindowListSkip, ClickToFocus, StaysOnBottom Style "trayer" NoTitle, NoHandles, Sticky, WindowListSkip, ClickToFocus, StaysOnBottom Style "XOsview" NoTitle, Sticky, WindowListSkip, ClickToFocus, StaysOnBottom Style "dclock" NoTitle, NoHandles, Sticky, WindowListSkip, ClickToFocus, StaysOnBottom Style "wmitime" NoTitle, NoHandles, Sticky, WindowListSkip, ClickToFocus, StaysOnBottom Style "wmtime" NoTitle, NoHandles, Sticky, WindowListSkip, ClickToFocus, StaysOnBottom Style "xman" ClickToFocus Style "topBox" NoButton 2 Style "xclipboard" MWMBorder, MWMButtons Style "Confirm" notitle, StaysOnTop # xfm Style "Install Application" notitle, StaysOnTop # xfm Style "XBoard" NoButton 2 Style "xblackjack" NoButton 2 Style "xjumpjump" NoButton 2 Style "X De Block" Title, NoButton 2 Style "IceBreaker" Title, NoButton 2 Style "Missle Command" Title, NoButton 2 Style "Workman" NoButton 2 Style "xmahjongg" NoButton 2 Style "XGammon*" MWMBorder, MWMButtons Style doubling notitle, StaysOnTop Style "Xjewel*" Title, NoButton 2 Style "xsok" Title, NoButton 2 Style "Koules" Title, NoButton 2 Style "xrobots" Title, NoButton 2 Style "xbill" Title, NoButton 2 Style "New Game" notitle, StaysOnTop Style "Quit" notitle, StaysOnTop Style "xlife" Title Style "XGalaga" Title, NoButton 2 Style "xchomp" Title, NoButton 2 Style "ICBM3D*" Title, NoButton 2 Style "XScrabble" Title Style "XOIDS*" Title Style "GtkBalls" Title, NoButton 2 Style "Mastermind" Title Style "firefox*" SkipMapping, StartsOnPage 0 0 1 Style "mozilla*" SkipMapping, StartsOnPage 0 0 1 Style "konqueror*" SkipMapping, StartsOnPage 0 0 1 Style "galeon*" SkipMapping, StartsOnPage 0 0 1 Style "Galeon*" SkipMapping, StartsOnPage 0 0 1 Style "netscape" SkipMapping, StartsOnPage 0 0 1 Style "Navigator" SkipMapping, StartsOnPage 0 0 1 Style "xmessage" NoTitle, Sticky, WindowListSkip #--- can cause odd things because windows # are not all named thundrbird ##Style "thunderbird*" SkipMapping, StartsOnPage 0 0 1 #--- NEEDED by SAP GUI Style SAPGUI* FPLenient ############################################################################### # where to start some apps ############################################################################### Style "firefox*" SkipMapping, StartsOnPage 0 0 1 Style "mozilla*" SkipMapping, StartsOnPage 0 0 1 Style "konqueror*" SkipMapping, StartsOnPage 0 0 1 Style "galeon*" SkipMapping, StartsOnPage 0 0 1 Style "Galeon*" SkipMapping, StartsOnPage 0 0 1 Style "netscape" SkipMapping, StartsOnPage 0 0 1 Style "Navigator" SkipMapping, StartsOnPage 0 0 1 ############################################################################### # Keyboard ############################################################################### Key 1 A M Iconify Key 2 A M Maximize 0 100 # vertical Key 3 A M Maximize 100 0 # horizontal Key 4 A M Maximize 100 100 Key q A M Close Key m A M Popup RootMenu Key r A M Restart Key F1 A M GotoPage 0 0 Key F2 A M GotoPage 1 0 Key F3 A M GotoPage 2 0 Key F4 A M GotoPage 0 1 Key F5 A M GotoPage 1 1 Key F6 A M GotoPage 2 1 Key Tab A M RaiseLower # for 2.6+, you may want this instead ##Key Tab A M WindowList Root c c \ ## CurrentDesk, NoGeometry, CurrentAtEnd, IconifiedAtEnd, OnlyNormal ############################################################################### # decor and other options ############################################################################### Style * IconBox 800x50+1-1 # where icons go Style Magnify PositionPlacement w+80 w-0 Style Audacious PositionPlacement w+65 w-0 Style * NoIcon AddToDecor "as" TitleStyle Centered AddToDecor "as" TitleStyle Height 28 AddToDecor "as" TitleStyle Inactive VGradient 16 'gray10' 'gray20' AddToDecor "as" TitleStyle active VGradient 16 '#44424B' '#6C6B78' + ButtonStyle Reset + ButtonStyle 1 Vector 13 \ 16x28@0 35x49@1 16x67@0 \ 28x80@1 49x60@1 67x80@1 \ 80x67@1 60x49@0 80x28@1 \ 67x16@0 49x35@0 28x16@0 \ 16x28@0 + ButtonStyle 2 Vector 5 \ 22x22@1 78x22@0 \ 78x42@1 22x42@1 22x22@0 + ButtonStyle All -- UseTitleStyle Style * UseDecor as Style * Font "Shadow=2 SE:xft:Sans:pixelsize=16:minspace=true" Style * IconFont "Shadow=0 SE:xft:Sans:pixelsize=14:minspace=true" ############################################################################### # Menus ############################################################################### #------------------------------------------------------------------------------ # main / title windows #------------------------------------------------------------------------------ AddToMenu Window-Ops "Window Ops" Title + "Resize" Resize + "Move" Move + "Identify" Module FvwmIdent + "Raise" Raise + "Lower" Lower + "(De)Iconify" Iconify + "(Un)Stick" Stick + "(Un)Maximize" Maximize + "" Nop + "Close" Close + "Delete" Delete + "Destroy" Destroy + "" Nop + "Refresh Window" RefreshWindow + "Refresh Screen" Refresh + "Pin Menu" TearMenuOff AddToMenu Window-Ops2 "&Resize" Resize + "&Move" Move + "Identify" Module FvwmIdent + "R&aise" Raise + "&Lower" Lower + "(De)&Iconify" Iconify + "(Un)&Stick" Stick + "(Un)Ma&ximize" Maximize + "" Nop + "&Close" Close + "&Delete" Delete + "Destroy" Destroy + "" Nop + "ScrollBar" Module FvwmScroll 2 2 + "Print" PrintFunction + "Print Reverse" PrintReverseFunction + "Pin Menu" TearMenuOff AddToMenu RootMenu "FVWM" Title + "Shells" Popup menu_Shells + "" Nop + "Applications" Popup menu_Apps + "Utilities" Popup menu_Utilities + "" Nop + "Window Ops" Popup Window-Ops + "Others" Popup other_wm + "Lock screen" Exec exec xscreensaver-command -lock + "" Nop + "FVWM Options" Popup FVWM-Ops + "Quit fvwm" Quit + "Pin Menu" TearMenuOff #------------------------------------------------------------------------------ # sub menus #------------------------------------------------------------------------------ AddToMenu other_wm "Others" Title + "Restart Fvwm2" Restart + "Start vtwm" Restart vtwm + "" Nop + "Start e16" Restart e16 + "Start wmaker" Restart wmaker + "Start dummy" Restart xterm + "" Nop + "do nothing" Nop + "Pin Menu" TearMenuOff AddToMenu menu_Utilities "Utilities" Title + "File Manager" Exec exec thunar + "edit reminder" Exec exec gvim ~/.rclock + "Maginify" Exec exec wmagnify + "" Nop + "Top" Exec exec rxvt -geometry 80x45 -fg black -bg white -font 7x14 -T Top -n Top -e top AddToMenu menu_Apps "Applications" Title + "GNU Emacs" Exec exec emacs + "" Nop + "Office" Popup menu_office + "Graphics" Popup menu_Graphics + "Network" Popup menu_network + "Audio" Popup menu_audio + "Pin Menu" TearMenuOff AddToMenu menu_audio "Audio" Title + "gxine" Exec exec gxine + "Xmms" Exec exec xmms + "Amarok" Exec exec amarok + "Audacious" Exec exec audacious + "KDE cd Player" Exec exec kscd + "Pin Menu" TearMenuOff AddToMenu menu_network "Network" Title + "Firefox" Exec exec firefox + "Thunderbird" Exec exec thunderbird + "" Nop + "Ktorrent" Exec exec ktorrent + "Pin Menu" TearMenuOff AddToMenu menu_Graphics "Graphics" Title + "Gimp" Exec exec gimp + "XV" Exec exec xv + "Xfig" Exec exec xfig + "Xpaint" Exec exec xpaint + "Ghostview" Exec exec ghostview + "Pin Menu" TearMenuOff AddToMenu menu_office "Office" Title + "OO Spreadsheet" exec scalc + "OO Word Processor" exec swriter + "OO Presentation" exec simpress + "OO Database" exec sbase + "OO Math Editor" exec smath + "OO Draw" exec sdraw + "Open Office Main" exec soffice + "OO Printer Admin" exec spadmin + "" Nop + "Kspread" Exec exec kspread + "Kword" Exec exec kword + "Kwrite" Exec exec kwrite + "Kstars" Exec exec kstars + "Kdictionary" Exec exec kdict + "Kcalculator" Exec exec kcal + "korganizer" Exec exec korganizer ~/Data/kde.ics + "Pin Menu" TearMenuOff AddToMenu menu_Shells "Shells" Title + "Rxvt (10x20 font)" Exec exec rxvt -fn 10x20 + "Rxvt (9x18 font)" Exec exec rxvt -bg gray85 -fg black -fn 9x18 + "Rxvt (7x14 font)" Exec exec rxvt -bg gray85 -fg black -fn 7x14 + "Rxvt (6x12 font)" Exec exec rxvt -bg gray85 -fg black -fn 6x12 + "Xterm (10x20 font)" Exec exec xterm -fn 10x20 + "Xterm (7x14 font)" Exec exec xterm -bg gray85 -fg black -fn 7x14 + "Aterm (10x20 font)" Exec exec aterm + "Aterm green" Exec exec aterm -fg green -transparent -ls + "Aterm white" Exec exec aterm -fg white -transparent -ls + "Aterm black" Exec exec aterm -fg black -transparent -ls + "Aterm cyan" Exec exec aterm -fg cyan -transparent -ls + "Eterm (10x20 font)" Exec exec Eterm --font 10x20 --trans --shade 45 -ls + "Pin Menu" TearMenuOff #------------------------------------------------------------------------------ # FVWM menus #------------------------------------------------------------------------------ AddToMenu Misc-Ops "Misc Config Opts" Title + "Sloppy Focus" ChangeDefaultFocus SloppyFocus + "Click To Focus" ChangeDefaultFocus ClickToFocus + "Focus Follows Mouse" ChangeDefaultFocus FocusFollowsMouse + "" Nop + "Colormap Follows Mouse" ColormapFocus FollowsMouse + "Colormap Follows Focus" ColormapFocus FollowsFocus + "" Nop + "Full Paging ON" EdgeScroll 100 100 + "All Paging OFF" EdgeScroll 0 0 + "Horizontal Paging Only" EdgeScroll 100 0 + "Vertical Paging Only" EdgeScroll 0 100 + "Partial Paging" EdgeScroll 50 50 + "Full Paging && Edge Wrap" EdgeScroll 100000 100000 + "Pin Menu" TearMenuOff AddToMenu Module-Popup "FvwmModules" Title + "Identify" Module FvwmIdent + "Talk" Module FvwmTalk + "Animate" Module FvwmAnimate + "Kill Animate" KIllModule FvwmAnimate + "" Nop + "Backgrounds" Module FvwmBacker + "Stop Backgrounds" KillModule FvwmBacker + "add Gtk Support" Module FvwmGtk + "Stop Gtk Support" KillModule FvwmGtk + "" Nop + "Wharf" Module FvwmWharf + "Button-Bar" Module FvwmButtons + "Pager" Module FvwmPager 0 0 + "Pager (2 desks)" Module FvwmPager 0 1 + "WinList" Module FvwmWinList + "" Nop + "Banner" Module FvwmBanner + "ScrollBar" Module FvwmScroll 50 50 + "Background" Module FvwmBacker + "AutoRaise" Module FvwmAuto 200 Raise Nop + "Stop AutoRaise" KillModule FvwmAuto + "" Nop + "IconBox" Module FvwmIconBox + "IconMan" Module FvwmIconMan + "Stop IconMan" KillModule FvwmIconMan + "" Nop + "Form - Rlogin" Module FvwmForm Rlogin + "Form - MyFvwmTalk" Module FvwmForm MyFvwmTalk + "Form - QuitVerify" Module FvwmForm QuitVerify + "Pin Menu" TearMenuOff AddToMenu FVWM-Ops "FVWM Options" Title + "Fvwm Modules" Popup Module-Popup + "Fvwm Window Ops" Popup Window-Ops + "Fvwm Simple Config Ops" Popup Misc-Ops + "" Nop + "Refresh Screen" Refresh + "Recapture Screen" Recapture + "Pin Menu" TearMenuOff