--- fvwm-2.5.18/fvwm/ConfigFvwmSetup.alt-config 2006-09-13 17:30:07 +0400 +++ fvwm-2.5.18/fvwm/ConfigFvwmSetup 2006-09-13 17:38:38 +0400 @@ -6,7 +6,7 @@ EdgeResistance 250 10 EdgeScroll 100 100 ClickTime 750 -DeskTopSize 2x2 +DeskTopSize 1x1 MenuStyle * fvwm, Foreground maroon, Background grey60, Greyed grey40 MenuStyle * Font -adobe-times-bold-r-*-*-14-*-*-*-*-*-*-* @@ -34,25 +34,57 @@ Style FvwmButtons Icon toolbox.xpm, Clic # Styles for your common terminal emulator programs. # xterms and rxvts in a separate icon box: -Style XTerm Icon xterm.xpm, SloppyFocus, IconBox -70 1 -1 -140 -Style rxvt Icon term.xpm, SloppyFocus, IconBox -70 1 -1 -140 -Style rxvt MWMBorder, MWMButtons +Style *XTerm* Icon xterm.xpm, SloppyFocus, IconBox -70 1 -1 -140, MWMBorder, MWMButtons +Style *rxvt* Icon term.xpm, SloppyFocus, IconBox -70 1 -1 -140, MWMBorder, MWMButtons # Styles for various common programs: Style *lock NoTitle, NoHandles, Sticky, WindowListSkip, ClickToFocus Style xbiff NoTitle, Sticky, WindowListSkip, ClickToFocus Style xcalc Icon xcalc.xpm, NoButton 2,ClickToFocus -Style xmh Icon mail1.xpm, NoIconTitle,StickyIcon -Style xmh NoButton 2 +Style xmh Icon mail1.xpm, NoIconTitle,StickyIcon, NoButton 2 Style xman Icon xman.xpm, ClickToFocus Style xmag Icon mag_glass.xpm, ClickToFocus -Style xgraph Icon graphs.xpm, ClickToFocus -Style xmosaic Color Green/Yellow, ClickToFocus +Style xeyes NoTitle # some simple default key bindings: Key Next A SCM Next [*] Focus Key Prior A SCM Prev [*] Focus +Key Menu A N Menu MenuFvwmRoot Nop + +# Let's bind some keys to pan the desktop around +Key Left A C Scroll -100 0 +Key Right A C Scroll +100 +0 +Key Up A C Scroll +0 -100 +Key Down A C Scroll +0 +100 +Key Left A M Scroll -10 +0 +Key Right A M Scroll +10 +0 +Key Up A M Scroll +0 -10 +Key Down A M Scroll +0 +10 + +# Desktop navigation. +Key F1 A M GotoDesk 0 0 +Key F2 A M GotoDesk 0 1 +Key F3 A M GotoDesk 0 2 +Key F4 A M GotoDesk 0 3 +Key F5 A M GotoDesk 0 4 +Key F6 A M GotoDesk 0 5 +Key F7 A M GotoDesk 0 6 +Key F8 A M GotoDesk 0 7 +Key F9 A M GotoDesk 0 8 +Key F10 A M GotoDesk 0 9 +Key F11 A M GotoDesk 0 10 +Key F12 A M GotoDesk 0 11 + +# These key bindings let the user use fvwm without a mouse +Key Left A SC CursorMove -1 0 +Key Right A SC CursorMove +1 +0 +Key Up A SC CursorMove +0 -1 +Key Down A SC CursorMove +0 +1 +Key Left A SM CursorMove -10 +0 +Key Right A SM CursorMove +10 +0 +Key Up A SM CursorMove +0 -10 +Key Down A SM CursorMove +0 +10 # some simple default mouse bindings: # for the root window: @@ -74,27 +106,24 @@ Mouse 2 FST A Menu MenuFvwmWin Mouse 3 TSIF A RaiseLower ######################## Initialization Functions ############################ -AddToFunc StartFunction -+ I Module FvwmAnimate -+ I Module FvwmBanner -+ I Module FvwmButtons - AddToFunc InitFunction -+ I exec xsetroot -mod 2 2 -fg rgb:55/40/55 -bg rgb:70/50/70 - -# For some SM-s (like gnome-session) there is an internal background setter. -AddToFunc SessionInitFunction -+ I Nop ++ I Module FvwmAnimate ++ I Module FvwmTaskBar +#+ I Module FvwmButtons ++ I exec xsetroot -cursor_name left_ptr +#+ I exec xli -onroot -quiet /usr/share/wallpapers/unix_inside.gif + +AddToFunc RestartFunction ++ I Module FvwmAnimate ++ I Module FvwmTaskBar +#+ I Module FvwmButtons ++ I exec xsetroot -cursor_name left_ptr +#+ I exec xli -onroot -quiet /usr/share/wallpapers/unix_inside.gif ######################## Menus ################### DestroyMenu MenuFvwmRoot -AddToMenu MenuFvwmRoot "$[gt.Root Menu]" Title -+ "&1. XTerm" Exec exec xterm -+ "&2. Rxvt" Exec exec rxvt -+ "" Nop -+ "&R. $[gt.Remote Logins]" Popup MenuFvwmLogins -+ "" Nop -+ "&U. $[gt.Utilities]" Popup MenuFvwmUtilities +Read /etc/X11/fvwm/menu +AddToMenu MenuFvwmRoot + "" Nop + "&M. $[gt.Fvwm Modules]" Popup MenuFvwmModules + "&W. $[gt.Fvwm Window Ops]" Popup MenuFvwmWindowOps @@ -105,21 +134,6 @@ AddToMenu MenuFvwmRoot "$[gt.Root Menu] + "" Nop + "&X. $[gt.Exit Fvwm]" Popup MenuFvwmQuitVerify -DestroyMenu MenuFvwmUtilities -AddToMenu MenuFvwmUtilities "$[gt.Utilities]" Title -+ "&T. Top" Exec exec xterm -T Top -n Top -e top -+ "&C. Calculator" Exec exec xcalc -+ "&M. Xman" Exec exec xman -+ "&G. Xmag" Exec exec xmag -+ "&R. Editres" Exec exec editres -+ "" Nop -+ "&E. XEmacs" Exec exec xemacs -+ "&A. Xmh Mail" FuncFvwmMailXmh xmh "-font fixed" -+ "" Nop -+ "&L. XLock" Exec exec xlock -mode random -+ "" Nop -+ "&D. $[gt.Reset X defaults]" Exec xrdb -load $HOME/.Xdefaults - DestroyMenu MenuFvwmConfig AddToMenu MenuFvwmConfig "$[gt.Fvwm Config Ops]" Title + "&S. $[gt.Sloppy Focus]" FuncFvwmFocusPolicyChange SloppyFocus @@ -172,24 +186,6 @@ FuncFvwmWindowCommon MenuFvwmWindowOps2 + "&$[gt.Print]" FuncFvwmPrint + "$[gt.Print Re&verse]" FuncFvwmPrintReverse -# 3 different ways to log on, take your pick: -DestroyFunc FuncFvwmRloginXterm -AddToFunc FuncFvwmRloginXterm \ - I Exec xterm -name $0 -title "$USER @ $0" -e rlogin $0 -DestroyFunc FuncFvwmRloginRxvt -AddToFunc FuncFvwmRloginRxvt \ - I Exec rxvt -name $0 -n $0 -title $USER@$0 -e rlogin $0 -DestroyFunc FuncFvwmRloginSshRxvt -AddToFunc FuncFvwmRloginSshRxvt \ - I Exec Exec ssh $0 rxvt -display $HOSTDISPLAY - -# be sure to fill these in with your correct machine names: -DestroyMenu MenuFvwmLogins -AddToMenu MenuFvwmLogins -+ &dopey FuncFvwmRloginXterm dopey -+ &snoopy FuncFvwmRloginXterm snoopy -+ s&ignal Exec rxterm signal - DestroyMenu MenuFvwmModules AddToMenu MenuFvwmModules "$[gt.Fvwm Modules]" Title + "&1. $[gt.Control Animation]" Popup MenuFvwmAnimate @@ -225,7 +221,6 @@ DestroyMenu MenuFvwmForms AddToMenu MenuFvwmForms + "&C. Capture" Module FvwmForm FvwmForm-Capture + "&D. Form Defaults" Module FvwmForm FvwmForm-Form -+ "&R. Rlogin" Module FvwmForm FvwmForm-Rlogin + "&P. RootCursor" Module FvwmForm FvwmForm-RootCursor + "&S. Setup" Module FvwmForm FvwmForm-Setup + "&T. Talk Form" Module FvwmForm FvwmForm-Talk @@ -243,15 +238,6 @@ AddToMenu MenuFvwmQuitVerify "$[gt.Reall + "" Nop + "&R. $[gt.Restart]" Restart + "" Nop -+ "&T. $[gt.Start] twm" Restart twm -+ "&C. $[gt.Start] ctwm" Restart ctwm -+ "&2. $[gt.Start] tvtwm" Restart tvtwm -+ "&V. $[gt.Start] vtwm" Restart vtwm -+ "&M. $[gt.Start] mwm" Restart mwm -+ "&O. $[gt.Start] olwm" Restart /usr/openwin/bin/olwm -+ "" Nop -+ "&X. $[gt.Just an Xterm]" Restart xterm -n '"X Console"' -T '"X Console"' -+ "" Nop + "&N. $[gt.No, Don't Quit]" Nop ######################## Sample Functions ########################## @@ -302,6 +288,11 @@ AddToFunc FuncFvwmFocusPolicyChange + I Style * $0 + I Recapture +# 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 + # Read config files for modules: read ConfigFvwmBacker read ConfigFvwmButtons --- fvwm-2.5.18/modules/FvwmTaskBar/ConfigFvwmTaskBar.alt-config 2006-09-13 17:30:07 +0400 +++ fvwm-2.5.18/modules/FvwmTaskBar/ConfigFvwmTaskBar 2006-09-13 17:30:35 +0400 @@ -18,16 +18,18 @@ DestroyModuleConfig FvwmTaskBar: * *FvwmTaskBar: UseSkipList *FvwmTaskBar: UseIconNames *FvwmTaskBar: AutoStick +*FvwmTaskBar: AutoFocus +*FvwmTaskBar: DeskOnly *FvwmTaskBar: ShowTips *FvwmTaskBar: ButtonWidth 180 *FvwmTaskBar: BellVolume 20 *FvwmTaskBar: MailBox /var/spool/mail/ -#*FvwmTaskBar: MailCommand Exec xterm -e mail +#*FvwmTaskBar: MailCommand Exec xvt -e mutt *FvwmTaskBar: ClockFormat %H:%M *FvwmTaskBar: StartName Start *FvwmTaskBar: StartMenu MenuFvwmRoot -*FvwmTaskBar: StartIcon mini.fvwm.xpm +*FvwmTaskBar: StartIcon mini-fvwm.xpm *FvwmTaskBar: AutoHide