# Copy or better yet link this to # ~/.fvwm/.fvwm2rc # this is configured for 1600x900 or 1680x1050, see README # you may need to adjust '*ButtonSet2' geometry # if your X resolution is different # ImagePath $HOME/.fvwm/g3/xpm ############################################################################### # Colors and Fonts ############################################################################### EdgeResistance 250 10 EdgeScroll 0 0 ClickTime 750 ColormapFocus FollowsMouse MenuStyle * "Mwm", Foreground "black", Background "Grey50", Animation MenuStyle * MenuFace HGradient 64 'Gray60' 'Gray40' Emulate Mwm Style * MwmBorder, MwmButtons, MwmDecor, MwmFunctions #--- TitleBar TitleStyle Center TitleStyle Height 24 TitleStyle ActiveUp ColorSet 102 TitleStyle Inactive ColorSet 102 #--- Inactive Text Color/Inactive Border Color Style * Color gray40/grey70 ############################################################################### # Some Fonts ############################################################################### Test (x 1600x900.sh)MenuStyle * Font "Shadow=0 SE:xft:Sans:pixelsize=20:minspace=true", "AnimationOff" Test (x 1680x1050.sh)MenuStyle * Font "Shadow=0 SE:xft:Sans:pixelsize=17:minspace=true", "AnimationOff" DefaultFont "Shadow=0 SE:xft:Sans:pixelsize=20:minspace=true" Style * IconFont "Shadow=0 SE:xft:Sans:pixelsize=12:minspace=true" ############################################################################### # Mouse and Titlebar ############################################################################### Mouse 3 R A Menu RootMenu Nop Mouse 2 R A Menu Window-Ops Nop Mouse 1 R A WindowList Mouse 1 R M WindowList OnlyIcons ButtonStyle 1 10 20x20@1 20x80@1 80x80@0 80x20@0 20x20@1 80x20@1 \ 50x65@2 35x35@0 65x35@0 50x65@1 ButtonStyle 2 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 Mouse 1 1 A Iconify Mouse 2 1 A Stick Mouse 3 1 A WindowShade Mouse 1 2 A Delete Mouse 2 2 A Destroy Mouse 3 2 A Close 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 MenuIconOps Nop Mouse 3 SIF A RaiseLower ############################################################################### # Color Sets -- color set # ############################################################################### Colorset 102 VGradient 50 grey90 grey60 Colorset 106 fg gray70, bg #323232, RootTransparent Colorset 107 fg gray70, bg black BorderColorset 207 fg gray10 DefaultColors black gray70 ############################################################################### # Functions ############################################################################### AddToFunc PauseModule + I Exec ~/.fvwm/g3/bin/g3_start.sh + I PipeRead "sleep 2" + I Module FvwmButtons ButtonSet3 + I Module FvwmButtons ButtonSet2 + I Module FvwmButtons ButtonSet1 DestroyFunc autohide AddToFunc autohide + I ThisWindow ($0) Deschedule $[w.id] + I ThisWindow ($0) KeepRc ThisWindow (shaded) WindowShade off + I TestRc (!Match) All ($0, !shaded) autohide_hide $1 $2 DestroyFunc autohide_hide AddToFunc autohide_hide + I Schedule $0 $[w.id] WindowShade $1 + I Schedule $0 $[w.id] Deschedule $[w.id] DestroyFunc enter_handler AddToFunc enter_handler + I autohide ButtonSet2 250 500 W DestroyFunc StartFunction AddToFunc StartFunction + I Module FvwmAuto 1 -menter enter_handler + I Module FvwmAuto 200 Raise Nop + I Module FvwmAnimate + I Exec Esetroot -fit /u/local/Pictures/ALL/RubikSapphire1600x900.jpg + I PauseModule # Function: IconManClick # This function is run from FvwmIconMan when the button is clicked. DestroyFunc IconManClick AddToFunc IconManClick + I ThisWindow (Raised, !Shaded, !Iconic, CurrentPage) Iconify + I TestRc (Match) Break + I ThisWindow (!Raised) Raise + I ThisWindow (Shaded) WindowShade + I ThisWindow (Iconic) Iconify + I ThisWindow (AcceptsFocus) FlipFocus # for DateTimeaand exit DestroyModuleConfig FvwmScript:* *FvwmScript: DefaultColorset 106 ############################################################################### # Modules -- Pager and Buttons ############################################################################### # # Window Identify Defaults # *FvwmIdentBack snow *FvwmIdentFore black *FvwmIdentFont "Shadow=0 SE:xft:Sans:pixelsize=16:minspace=true" # # FvwmPager # DesktopName 0 Main DesktopName 1 Games DesktopName 2 WEB DesktopName 3 Other DeskTopSize 1x5 DestroyModuleConfig FvwmPager:* *FvwmPagerBack azure3 *FvwmPagerHilight azure4 *FvwmPagerFore black *FvwmPagerFont none *FvwmPager: Colorset * 106 *FvwmPagerBalloons All *FvwmPagerBalloonBack Yellow *FvwmPagerBalloonFore Black *FvwmPagerBalloonFont "Shadow=0 SE:xft:Sans:pixelsize=14:minspace=true" *FvwmPagerBalloonYOffset +2 *FvwmPagerBalloonBorderWidth 1 *FvwmPagerBalloonBorderColor Black # Pager and stalonetray, always visable *ButtonSet3: Font "Shadow=0 SE:xft:bold:Sans:pixelsize=12:minspace=true" *ButtonSet3: Columns 1 *ButtonSet3: Back white *ButtonSet3: Fore black *ButtonSet3: BoxSize dumb *ButtonSet3: Colorset 106 *ButtonSet3: Rows 6 ### each button should be 100x56 for 1600x900 *ButtonSet3: Geometry 105x336-3-1 # *ButtonSet3(1x1, Swallow(UseOld,Respawn,NoTitle) "xload" `Exec xload -nolabel -fg red`) *ButtonSet3: (Container(rows 6, columns 1, Frame 1)) *ButtonSet3: (Container(rows 2, columns 1, Frame 2)) *ButtonSet3(1x1, Swallow Weather "Module FvwmScript $[HOME]/.fvwm/g3/modules/FvwmScript-W") *ButtonSet3: (Container(rows 1, columns 4, Frame 3)) *ButtonSet3(Id desk0, Title "I", Action GotoDesk 0 0, Frame 3) *ButtonSet3(Id desk1, Title "II", Action GotoDesk 0 1, Frame 3) *ButtonSet3(Id desk2, Title "III", Action GotoDesk 0 2, Frame 3) *ButtonSet3(Id desk3, Title "IV", Action GotoDesk 0 3, Frame 3) *ButtonSet3: (End) *ButtonSet3: (End) *ButtonSet3(1x5 Swallow(UseOld) "FvwmPager" "Module FvwmPager *") *ButtonSet3: (End) ### Application Launcher, autohidden buttons 68x68 #-- 68*8 = 544 #-- (900-544)/2 = 178 for use below *ButtonSet2: Columns 1 *ButtonSet2: Back #918191 *ButtonSet2: Fore black *ButtonSet2: BoxSize dumb *ButtonSet2: Colorset 106 *ButtonSet2: Rows 8 Test (x 1600x900.sh)*ButtonSet2: Geometry 68x544+0+178 Test (x 1680x1050.sh)*ButtonSet2: Geometry 68x544+0+253 *ButtonSet2: (Container(rows 8, columns 1, Frame 1)) *ButtonSet2: (Icon defaultterm.xpm, \ Action (Mouse 1) Exec xterm, \ Action (Mouse 2) Exec xterm -fn '-*-terminus-medium-r-normal-*-16-*-*-*-*-*-*-*' -bg snow -fg black, \ Action (Mouse 3) Exec aterm) *ButtonSet2: (Icon FilingCabinet.xpm, \ Action (Mouse 1) Exec ~/.fvwm/g3/bin/xrun_prog.sh FILEMANAGER, \ Action (Mouse 2) Exec ~/.fvwm/g3/bin/xrun_prog.sh xfe, \ Action (Mouse 3) Exec ~/.fvwm/g3/bin/xrun_prog.sh MAGNIFY) *ButtonSet2: (Icon firefox.xpm, \ Action (Mouse 1) Exec ~/.fvwm/g3/bin/xrun_prog.sh firefox, \ Action (Mouse 2) Exec ~/.fvwm/g3/bin/xrun_prog.sh konqueror, \ Action (Mouse 3) Exec ~/.fvwm/g3/bin/xrun_prog.sh seamonkey) *ButtonSet2: (Icon thunderbird.xpm, \ Action (Mouse 1) Exec ~/.fvwm/g3/bin/xrun_prog.sh thunderbird, \ Action (Mouse 2) Exec xterm -title tin -e ~/bin/tin.sh, \ Action (Mouse 3) Exec xterm -title mutt -e mutt) *ButtonSet2: (Icon emacs.xpm, \ Action (Mouse 1) Exec ~/.fvwm/g3/bin/xrun_prog.sh emacs, \ Action (Mouse 2) Exec ~/.fvwm/g3/bin/xrun_prog.sh kate, \ Action (Mouse 3) Exec ~/.fvwm/g3/bin/xrun_prog.sh gvim) *ButtonSet2: (Icon kiriki_01.xpm, \ Action (Mouse 1) Exec ~/.fvwm/g3/bin/xrun_prog.sh kiriki, \ Action (Mouse 2) Exec ~/.fvwm/g3/bin/xrun_prog.sh kapman, \ Action (Mouse 3) Exec ~/.fvwm/g3/bin/xrun_prog.sh kpat -caption Patience) *ButtonSet2: (Icon lock2_48.xpm, \ Action Exec xscreensaver-command -lock) *ButtonSet2: (Icon RedLight.xpm, \ Action (Mouse 1) Module FvwmScript FvwmScript-ConfirmQuit, \ Action (Mouse 2) Restart, \ Action (Mouse 3) Close) *ButtonSet2: (End) ### each button should be 144x24 for 1600x900 Test (x 1600x900.sh)*ButtonSet1: Geometry 1600x24+0+0 Test (x 1680x1050.sh)*ButtonSet1: Geometry 1680x24+0+1 *ButtonSet1: BoxSize smart *ButtonSet1: Colorset 106 *ButtonSet1: Columns 10 *ButtonSet1: Rows 1 *ButtonSet1: (10x1, Container(rows 1, columns 10)) *ButtonSet1(1x1, Swallow DateTime "Module FvwmScript $[HOME]/.fvwm/g3/modules/FvwmScript-DTjmc") *ButtonSet1(8x1, Swallow "FvwmIconMan" "Module FvwmIconMan") *ButtonSet1(1x1, Swallow(UseOld,Respawn,NoTitle) "stalonetray" `Exec /usr/bin/stalonetray --config ~/.fvwm/g3/stalonetrayrcN-swallow`) *ButtonSet1: (End) # *ButtonSet1(1x1, Padding 0, Swallow "xclock" `Exec exec xclock -sharp -render -digital -bg black -fg Gray70 -strftime '%a %m/%d %H:%M'`) ############################################################################### # Icon Managers ############################################################################### Style FvwmIconMan BorderWidth 0, Sticky *FvwmIconMan*numManagers 1 #------------------------------------------------------------------------------ # title Icon Manager #------------------------------------------------------------------------------ Test (x 1600x900.sh)*FvwmIconMan: ManagerGeometry 10x1+0+0 Test (x 1600x900.sh)*FvwmIconMan: ButtonGeometry 100x0 Test (x 1600x900.sh)*FvwmIconMan: geometry 1440x24+0+0 Test (x 1680x1050.sh)*FvwmIconMan: managergeometry 10x1+0+0 Test (x 1680x1050.sh)*FvwmIconMan: buttongeometry 100x0 Test (x 1680x1050.sh)*FvwmIconMan: geometry 1520x24+0+0 *FvwmIconMan: title "Main" *FvwmIconMan: shape true *FvwmIconMan: followfocus true *FvwmIconMan: focusbutton up gray20 rgb:62/79/8B *FvwmIconMan: selectbutton up gray20 rgb:62/79/8B *FvwmIconMan: iconbutton up gray20 SteelBlue4 *FvwmIconMan: plainbutton up gray20 SteelBlue4 *FvwmIconMan: titlebutton up gray20 SteelBlue4 *FvwmIconMan: action Key Left A M gotobutton Left, select *FvwmIconMan: Resolution desk *FvwmIconMan: Action Mouse 1 A sendcommand IconManClick *FvwmIconMan: Action Mouse 2 A sendcommand Nop *FvwmIconMan: Action Mouse 3 A sendcommand "Menu MenuIconOps" *FvwmIconMan: ColorSet 106 *FvwmIconMan: Font 10x20 #'-*-terminus-medium-r-bold-*-20-*-*-*-*-*-*-*' ##1 terminus sizes 2 14 16 17 18 20 22 24 28 32 ############################################################################### # Keyboard ############################################################################### # # RunDualog from: https://forums.freebsd.org/threads/56316/ # Bethlehem post # 17 # *RunDialog: WarpPointer *RunDialog: Fore #000000 *RunDialog: Back #AEB2C3 *RunDialog: ItemFore #000000 *RunDialog: ItemBack #AEB2C3 *RunDialog: Line center *RunDialog: Text "Run Program" *RunDialog: Input Func 40 "" *RunDialog: Line expand *RunDialog: Button quit "Run" ^M *RunDialog: Command Exec $(Func) *RunDialog: Button quit "Cancel" ^C *RunDialog: Command Nop *RunDialog: Geometry +580+1 # # 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 Close Key m A 4 Popup RootMenu Key i A 4 WindowList SelectOnRelease Key F1 A 4 GotoPage 0 0 Key F2 A 4 GotoPage 0 1 Key F3 A 4 GotoPage 0 2 Key F4 A 4 GotoPage 0 3 Key F5 A 4 GotoPage 0 4 Key q A M Close Key m A M Popup RootMenu Key i A M WindowList SelectOnRelease Key F1 A M GotoPage 0 0 Key F2 A M GotoPage 0 1 Key F3 A M GotoPage 0 2 Key F4 A M GotoPage 0 3 Key F5 A M GotoPage 0 4 Key r A 4 Module FvwmForm RunDialog Key r A M Module FvwmForm RunDialog #Key r A M Restart #Key r A 4 Restart Key Up A CM Scroll 0 -100 Key Down A CM Scroll 0 100 Key Right A CM Exec $[HOME]/.fvwm/g3/bin/next_window.sh next Key left A CM Exec $[HOME]/.fvwm/g3/bin/next_window.sh prev Silent Key F1 A SC GotoDesk 0 0 Silent Key F2 A SC GotoDesk 0 1 Silent Key F3 A SC GotoDesk 0 2 Silent Key F4 A SC GotoDesk 0 3 #--- print a window to a file Key Print A M Exec exec ~/.fvwm/g3/bin/print_window.sh Key Print A C Exec exec ~/.fvwm/g3/bin/print_window.sh ksnapshot ############################################################################### # window warping from: # http://www.linuxquestions.org/questions/linux-desktop-74/fvwm-making-an-accurate-clone-of-the-alt-tab-function-of-win98-2000-xp-886054/#post4384222 ############################################################################### SetEnv DIR Next AddToFunc FocusRaiseAndStuff + I Iconify off + I Focus + I Raise AddToFunc SwitchWindow + I $[DIR] (CurrentPage, !Iconic, !Sticky) FocusRaiseAndStuff + I Deschedule 134000 + I PipeRead `[ "$[DIR]" == "Prev" ] && \ echo 'SetEnv NDIR Next' || \ echo 'SetEnv NDIR Prev'` + I Schedule 700 134000 SetEnv DIR $[NDIR] Key Tab A M SwitchWindow #---- Windows like, but should turn off FvwmAuto #Key Tab A M WindowList Root c c CurrentDesk, NoGeometry, CurrentAtEnd, IconifiedAtEnd, OnlyNormal ############################################################################### # misc 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 #--- uniconify and warp to the window AddToFunc mwm_goto + I Iconify False + I WarpToWindow 10 10 ############################################################################### # misc functions ############################################################################### 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 *FvwmPager: UseSkipList #------------------------------------------------------------------------------ # Title settings #------------------------------------------------------------------------------ Style "wmfortune" NoTitle, Sticky, WindowListSkip, NoButton 2, StaysOnBottom Style "wmbiff" NoTitle, NoHandles, Sticky, WindowListSkip, ClickToFocus, StaysOnBottom Style "xconsole" NoTitle, Sticky, WindowListSkip, StaysOnBottom 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 "xmosaic" Color Green/Yellow, ClickToFocus Style "emacs" SloppyFocus, MWMBorder, MWMButtons 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 "urxvt" 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 "minidock" NoTitle, NoHandles, Sticky, WindowListSkip, ClickToFocus, StaysOnBottom Style "asbutton" NoTitle, NoHandles, Sticky, WindowListSkip, ClickToFocus, StaysOnBottom 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 "xnetload" 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 "xmessage" NoTitle, Sticky, WindowListSkip Style "conky-semi" NoTitle, !Border, !Handles, Sticky, WindowListSkip Style "conky-semi" MwmBorder, MwmButtons, MwmDecor, MwmFunctions Style "stalonetray" NoTitle, Sticky, WindowListSkip #--- NEEDED by SAP GUI Style SAPGUI* FPLenient Style SAPGUI* lenience ############################################################################### # 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 + "" Nop + "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 + "" Nop + "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 + "" Nop + "Pin Menu" TearMenuOff AddToMenu menu_Shells "Shells" Title + "XTerm" Exec exec ~/.fvwm/g3/bin/xrun_prog.sh xterm + "ATerm" Exec exec ~/.fvwm/g3/bin/xrun_prog.sh aterm + "Eterm" Exec exec ~/.fvwm/g3/bin/xrun_prog.sh Eterm --font '-*-terminus-bold-r-normal-*-28-*-*-*-*-*-*-*' --trans --shade 45 -ls + "Rxvt" Exec exec ~/.fvwm/g3/bin/xrun_prog.sh rxvt + "" Nop + "Pin Menu" TearMenuOff AddToMenu menu_Utilities "Utilities" Title Test (x wmagnify) + "Maginify" Exec exec ~/.fvwm/g3/bin/xrun_prog.sh wmagnify Test (x xmag) + "Xmag" Exec exec ~/.fvwm/g3/bin/xrun_prog.sh xmag Test (x galculator) + "Calculator" Exec exec ~/.fvwm/g3/bin/xrun_prog.sh galculator Test (x kcalc) + "KCalculator" Exec exec ~/.fvwm/g3/bin/xrun_prog.sh kcalc Test (x xcalc) + "Xcalc" Exec exec ~/.fvwm/g3/bin/xrun_prog.sh xcalc + "" Nop Test (x xbiff) + "Xbiff" Exec exec ~/.fvwm/g3/bin/xrun_prog.sh xbiff Test (x xload) + "Xload" Exec exec ~/.fvwm/g3/bin/xrun_prog.sh xload Test (x ksysguard) + "ksysguard" Exec exec ~/.fvwm/g3/bin/xrun_prog.sh ksysguard Test (x kgpg) + "gpg Manager" Exec exec ~/.fvwm/g3/bin/xrun_prog.sh kgpg -k Test (x kgpg) + "gpg Editor" Exec exec ~/.fvwm/g3/bin/xrun_prog.sh kgpg -d + "" Nop Test (x xfontsel) + "Xfontsel" Exec exec ~/.fvwm/g3/bin/xrun_prog.sh xfontsel Test (x xmh) + "Mail" Exec exec ~/.fvwm/g3/bin/xrun_prog.sh xmh "-font fixed" Test (x xbmbrowser) + "Xbmbrowser" Exec exec ~/.fvwm/g3/bin/xrun_prog.sh xbmbrowser Test (x xxgdb) + "Xxgdb" Exec exec ~/.fvwm/g3/bin/xrun_prog.sh xxgdb Test (x bitmap) + "bitmap" Exec exec ~/.fvwm/g3/bin/xrun_prog.sh bitmap Test (x editres) + "Editres" Exec exec ~/.fvwm/g3/bin/xrun_prog.sh editres + "" Nop Test (x xman) + "Xman" Exec exec ~/.fvwm/g3/bin/xrun_prog.sh xman Test (x xgrab) + "Xgrab" Exec exec ~/.fvwm/g3/bin/xrun_prog.sh xgrab Test (x cervisia) + "CVS Front End" Exec exec ~/.fvwm/g3/bin/xrun_prog.sh cervisia Test (x xscreensaver-command) + "" Nop Test (x xscreensaver-command) + "Lock screen" Exec exec xscreensaver-command -lock + "" Nop + "Pin Menu" TearMenuOff AddToMenu menu_Graphics "Graphics" Title Test (x gimp) + "Gimp" Exec exec ~/.fvwm/g3/bin/xrun_prog.sh gimp Test (x dia) + "Dia" Exec exec ~/.fvwm/g3/bin/xrun_prog.sh dia Test (x xv) + "XV" Exec exec ~/.fvwm/g3/bin/xrun_prog.sh xv Test (x xfig) + "Xfig" Exec exec ~/.fvwm/g3/bin/xrun_prog.sh xfig Test (x xpaint) + "Xpaint" Exec exec ~/.fvwm/g3/bin/xrun_prog.sh xpaint Test (x ghostview ) + "Ghostview" Exec exec ~/.fvwm/g3/bin/xrun_prog.sh ghostview + "" Nop + "Pin Menu" TearMenuOff AddToMenu menu_office "Office" Title Test (x soffice) + "Libre Office" Exec exec ~/.fvwm/g3/bin/xrun_prog.sh soffice Test (x soffice) + "" Nop Test (x kspread) + "Kspread" Exec exec ~/.fvwm/g3/bin/xrun_prog.sh kspread Test (x kword) + "Kword" Exec exec ~/.fvwm/g3/bin/xrun_prog.sh kword Test (x kwrite) + "Kwrite" Exec exec ~/.fvwm/g3/bin/xrun_prog.sh kwrite Test (x kstars) + "Kstars" Exec exec ~/.fvwm/g3/bin/xrun_prog.sh kstars Test (x kdict) + "Kdictionary" Exec exec ~/.fvwm/g3/bin/xrun_prog.sh kdict + "" Nop Test (x galculator) + "Calculator" Exec exec ~/.fvwm/g3/bin/xrun_prog.sh galculator Test (x kcalc) + "Kcalculator" Exec exec ~/.fvwm/g3/bin/xrun_prog.sh kcalc Test (x korganizer) + "korganizer" Exec exec ~/.fvwm/g3/bin/xrun_prog.sh korganizer ~/Data/jmc_kde.ics + "" Nop + "Pin Menu" TearMenuOff AddToMenu menu_Apps "Applications" Title Test (x firefox) + "Firefox" Exec exec ~/.fvwm/g3/bin/xrun_prog.sh firefox Test (x thunderbird) + "Thunderbird" Exec exec ~/.fvwm/g3/bin/xrun_prog.sh thunderbird Test (x ktorrent) + "Ktorrent" Exec exec ~/.fvwm/g3/bin/xrun_prog.sh ktorrent Test (x seamonkey ) + "Seamonkey" Exec exec ~/.fvwm/g3/bin/xrun_prog.sh seamonkey Test (x konqueror) + "Konqueror" Exec exec ~/.fvwm/g3/bin/xrun_prog.sh konqueror Test (x pidgin) + "Pidgin" Exec exec ~/.fvwm/g3/bin/xrun_prog.sh pidgin Test (x wicd-client) + "wicd Wireless" Exec exec ~/.fvwm/g3/bin/xrun_prog.sh wicd-client -n + "" Nop Test (x emacs) + "GNU Emacs" Exec exec ~/.fvwm/g3/bin/xrun_prog.sh emacs + "File Manager" Exec exec ~/.fvwm/g3/bin/xrun_prog.sh FILEMANAGER Test (x VirtualBox) + "Virtual Box" Exec exec ~/.fvwm/g3/bin/xrun_prog.sh /usr/bin/VirtualBox + "" Nop + "Graphics" Popup menu_Graphics + "Other Office" Popup menu_office + "" Nop + "Pin Menu" TearMenuOff AddToMenu other_wm "Others" Title + "Restart Fvwm2" Restart + "" Nop Test (x vtwm) + "Start vtwm" Restart vtwm Test (x fluxbox) + "Start fluxbox" Restart fluxbox Test (x wmaker) + "Start wmaker" Restart wmaker Test (x twm) + "Start twm" Restart twm Test (x ctwm) + "Start ctwm" Restart ctwm Test (x xterm) + "Start dummy" Restart xterm + "" Nop + "do nothing" Nop + "" Nop + "Pin Menu" TearMenuOff #------------------------------------------------------------------------------ # 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 + "" Nop + "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 + "" Nop + "Pin Menu" TearMenuOff AddToMenu RootMenu "Root menu" Title #__USE_WORK__#+ "IBM Menu" Popup Menu-Work + "Shells" Popup menu_Shells + "" Nop + "Applications" Popup menu_Apps + "Utilities" Popup menu_Utilities + "" Nop + "Window Ops" Popup Window-Ops + "Others" Popup other_wm + "FVWM Options" Popup FVWM-Ops Test (x xscreensaver-command) + "Lock screen" Exec exec xscreensaver-command -lock + "" Nop + "Last Run" Popup menu_dyn1 + "Quit fvwm" Module FvwmScript FvwmScript-ConfirmQuit + "" Nop + "Pin Menu" TearMenuOff ############################################################################### # Overrides ############################################################################### Style * NoIcon # No ICONS Style FvwmButtons BorderWidth 0, HandleWidth 0 Style stalonetray !MwmBorder, !MwmButtons, !MwmDecor, !MwmFunctions Style stalonetray NoTitle, WindowListSkip, StaysOnBottom 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 ButtonSet3 !Borders Style ButtonSet2 Borders, TitleAtLeft, !Title, StaysOnTop Style FvwmButtons !Borders #--- override fonts Test (x 1600x900.sh)Style * Font "Shadow=0 SE:xft:Sans:pixelsize=16:minspace=true" Test (x 1680x1050.sh)Style * Font "Shadow=0 SE:xft:Sans:pixelsize=16:minspace=true" Test (x 1600x900.sh)WindowFont "Shadow=0 SE:xft:Sans:bold:pixelsize=16:minspace=true" Test (x 1680x1050.sh)WindowFont "Shadow=0 SE:xft:Sans:bold:pixelsize=16:minspace=true" #--- prevents apps from taking focus DestroyFunc UrgencyFunc ############################################################################### # additional Menus ############################################################################### DestroyMenu MenuIconOps AddToMenu MenuIconOps + "Resize" Resize + "Move" Move + "Identify" Module FvwmIdent + "" Nop + "Send To Desk" Popup MenuSendToDesk + "" Nop + "(De)Iconify" Iconify + "(Un)Maximize" Maximize + "(Un)Shade" WindowShade + "(Un)Sticky" Stick + "(No)TitleBar" Pick (CirculateHit) ToggleTitle + "" Nop + "Close" Close + "Destroy" Destroy + "" Nop + "Raise" Raise + "Lower" Lower + "" Nop + "StaysOnTop" Pick (CirculateHit) Layer 0 6 + "StaysPut" Pick (CirculateHit) Layer 0 4 + "StaysOnBottom" Pick (CirculateHit) Layer 0 2 DestroyMenu MenuSendToDesk AddToMenu MenuSendToDesk + "Current" MoveToDesk + "Desk 1" MoveToDesk 0 0 + "Desk 2" MoveToDesk 0 1 + "Desk 3" MoveToDesk 0 2 + "Desk 4" MoveToDesk 0 3 ############################################################################### # Must be last ############################################################################### Style * SnapAttraction 15 SameType ScreenAll, SnapGrid ## For gkrellm reminder Style gkrellm-reminder StaysOnTop, Sticky Style * BorderWidth 4, HandleWidth 4 Style FvwmPager BorderWidth 4 Style ConfirmQuit !Title, PositionPlacement Center, WindowListSkip, Layer 6 Style * SnapAttraction 15 SameType ScreenAll, SnapGrid ############################### END: gkrellmt #################################