# # clone of a ctwm theme, gfive # http://www.plig.org/xwinman/ctwm.php # http://www.plig.org/xwinman/screenshots/ctwm-gfive.jpg # 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 Center MenuStyle Ivory "slategray4" black "Shadow=0 SE:xft:Sans:pixelsize=14:minspace=true" mwm Style * HilightFore Ivory, HilightBack slategray4 Style * Color Ivory/gray70 ############################################################################### # Mouse ############################################################################### Mouse 3 R A Menu RootMenu Nop Mouse 2 R A Menu Window-Ops Nop Mouse 1 R A WindowList OnlyIcons Mouse 1 R M WindowList 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 ############################################################################### # Title Buttons ############################################################################### #-- Dot ButtonStyle 1 5 40x40@1 60x40@1 60x60@0 40x60@0 40x40@1 #-- X ButtonStyle 3 17 20x20@1 30x20@1 50x40@1 70x20@1 80x20@1 80x30@0 60x50@0 80x70@1 80x80@0 70x80@0 50x60@0 30x80@0 20x80@0 20x70@0 40x50@1 20x30@0 20x20@1 Mouse 1 1 A Iconify Mouse 2 1 A Stick Mouse 3 1 A WindowShade Mouse 1 3 A Delete Mouse 2 3 A Close Mouse 3 3 A Close Mouse 1 2 A Maximize 0 100 # vertical Mouse 2 2 A Maximize 100 0 # horizontal Mouse 3 2 A Maximize 100 100 ############################################################################### # Functions ############################################################################### AddToFunc StartFunction + I Module FvwmPager + I Module FvwmIconMan + I Module FvwmAuto 200 Raise Nop + I Module FvwmButtons + I Module FvwmAnimate + I Exec set_root.sh coup_de_grace.jpg + I Exec dclock -date "%b %d %Y" -fg Slategray4 -bg white -nomiltime -geometry "100x74+0-0" -led_off white -slope 90 -thickness 0.7 -noblink + I Exec xload -geometry 98x73-129-0 -fg red -bg gray50 + I Exec xbiff -geometry +900-0 -fg red -bg gray50 ############################################################################### # Window Identify Defaults ############################################################################### *FvwmIdentBack snow *FvwmIdentFore black *FvwmIdentFont "Shadow=0 SE:xft:Sans:pixelsize=16:minspace=true" ############################################################################### # FvwmPager ############################################################################### DeskTopSize 2x2 *FvwmPagerBack black *FvwmPagerHilight Ivory *FvwmPagerFore black *FvwmPagerFont none *FvwmPagerGeometry -0-0 *FvwmPagerSmallFont 5x8 *FvwmPager: DeskTopScale 29 *FvwmPagerBalloons All *FvwmPagerBalloonBack Yellow *FvwmPagerBalloonFore Black *FvwmPagerBalloonFont "Shadow=0 SE:xft:Sans:pixelsize=14:minspace=true" *FvwmPagerBalloonYOffset +2 *FvwmPagerBalloonBorderWidth 1 *FvwmPagerBalloonBorderColor Black *FvwmPager: Label 0 'Desktop overview' ############################################################################### # FvwmButtons -- Button Bar, Pager, rclock and xload ############################################################################### Style "FvwmButtons" StaysOnBottom *FvwmButtons: Geometry 216x112+600-0 *FvwmButtons: Font -adobe-times-medium-r-*-*-10-*-*-*-*-*-*-* *FvwmButtons: Rows 2 *FvwmButtons: Columns 4 *FvwmButtons: Back gray70 *FvwmButtons: Fore black *FvwmButtons: BoxSize dumb *FvwmButtons: "" /u/local/3dpixmaps/3d/Document.xpm Exec emacs *FvwmButtons: "" /u/local/3dpixmaps/3d/linuxterm.xpm Exec rxvt *FvwmButtons: "" /u/local/3dpixmaps/3d/WWW.xpm Exec firefox *FvwmButtons: "" /u/local/3dpixmaps/3d/money_01.xpm Exec skrooge *FvwmButtons: "" /u/local/3dpixmaps/3d/Paint4.xpm Exec gimp *FvwmButtons: "" /u/local/3dpixmaps/3d/Radio.xpm Exec audacious *FvwmButtons: "" /u/local/3dpixmaps/3d/Padlock.xpm Exec kgpg -k *FvwmButtons: "" /u/local/3dpixmaps/3d/FilingCabinet.xpm Exec thunar #------------------------------------------------------------------------------ # FvwmAnimate # Frame, Lines, Flip, Turn, Zoom3D, Twist, Random #------------------------------------------------------------------------------ *FvwmAnimate: Effect Zoom3D *FvwmAnimate: Width 2 *FvwmAnimate: Color ivory1 *FvwmAnimate: Delay 7 ############################################################################### # Icon Manager ############################################################################### *FvwmIconMan*numManagers 1 *FvwmIconMan*1*managergeometry 4x0+140-0 *FvwmIconMan*1*buttongeometry 110x0 *FvwmIconMan*1*title "Main" *FvwmIconMan*1*shape true *FvwmIconMan*1*followfocus true *FvwmIconMan*1*shape true *FvwmIconMan*1*focusbutton up black slategray3 *FvwmIconMan*1*selectbutton up Ivory slategray4 *FvwmIconMan*1*iconbutton up Ivory slategray4 *FvwmIconMan*1*plainbutton up Ivory slategray4 *FvwmIconMan*1*titlebutton up Ivory slategray4 *FvwmIconMan*1*action Key Left A M gotobutton Left, select *FvwmIconMan*1*Font 10x20 ############################################################################### # 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 ############################################################################### # Window 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, SmartPlacement 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 "wmfortune" NoTitle, Sticky, WindowListSkip, NoButton 2, StaysOnBottom Style "wmbiff" NoTitle, Sticky, 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 "emacs" StartsOnPage 0 0 1 Style "thunderbird*" SkipMapping, StartsOnPage 0 0 1 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 "xmosaic" Color Green/Yellow, ClickToFocus Style "Calendar" SkipMapping, StartsOnPage 0 1 1 Style "gnomecal" SkipMapping, StartsOnPage 0 1 1 Style "ical" SkipMapping, StartsOnPage 0 1 1 Style "Dayview" SkipMapping, StartsOnPage 0 1 1 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 "dclock" 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 "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 * NoIcon # No ICONS ############################################################################### # Keyboard ############################################################################### Key 1 A 4 Iconify Key 2 A 4 Maximize 0 100 # vertical Key 3 A 4 Maximize 100 0 # horizontal Key 4 A 4 Maximize 100 100 Key q A 4 Delete Key m A 4 Popup RootMenu Key r A 4 Restart Key F1 A 4 GotoPage 0 0 Key F2 A 4 GotoPage 1 0 Key F3 A 4 GotoPage 0 1 Key F4 A 4 GotoPage 1 1 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 Delete 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 0 1 Key F4 A M GotoPage 1 1 ##Key Tab A M RaiseLower # for 2.5+ #Key Tab A M WindowList Root c c \ # CurrentDesk, NoGeometry, CurrentAtEnd, IconifiedAtEnd Key Tab A M RaiseLower ############################################################################### # Override Standard Styles, Ex: Turn off Icons, color titlebars ############################################################################### Style * IconBox 1000x50+1-1 # where icons go Style * BorderWidth 7, HandleWidth 7 Style "FvwmButtons" StaysOnBottom Style "xbiff" StaysOnBottom #--- cannot figure out how to get borders in IconMan #Style "FvwmIconMan" BorderWidth 7 #Style "FvwmIconMan" HandleWidth 7, Handles, BorderWidth 5 ############################################################################### # 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