diff --git a/.fvwmrc b/.fvwmrc index 93e138d..5bae80c 100755 --- a/.fvwmrc +++ b/.fvwmrc @@ -1,29 +1,30 @@ # Serguei Chmod777's Xenvt configuration +# Old fashion Motif-like's look, CDE colorset. ModulePath /usr/X11R6/lib/X11/fvwm PixmapPath /usr/X11R6/include/X11/pixmaps IconPath /usr/X11R6/include/X11/bitmaps -EdgeResistance 250 10 +EdgeResistance 1000 1000 # kind of a trick to avoid damned switchover ! EdgeScroll 100 100 -ClickTime 750 +ClickTime 150 + # make sure these fonts exist on your system: WindowFont -adobe-times-bold-r-*-*-14-*-*-*-*-*-*-* IconFont -adobe-helvetica-bold-r-*-*-10-*-*-*-*-*-*-* - -HilightColor #bebebe blue +HilightColor #bebebe darkcyan MenuStyle #4d4d4d #bebebe #e7e7e7 -adobe-times-bold-r-*-*-12-*-*-*-*-*-*-* fvwm DeskTopSize 3x3 -ColormapFocus FollowsMouse +ColormapFocus FollowsFocus # default Styles: -Style "*" BorderWidth 7, HandleWidth 7 -Style "*" Icon unknown1.xpm, Color #bebebe/darkred -Style "*" MWMFunctions, MWMDecor, HintOverride +Style "*" BorderWidth 4, HandleWidth 4, +Style "*" Icon unknown1.xpm, Color #bebebe/darkolivegreen +Style "*" MWMFunctions, MWMBorder, MWMButtons, MWMDecor, HintOverride Style "*" DecorateTransient, NoPPosition Style "*" IconBox 0 -10 -280 -1 @@ -34,24 +35,24 @@ Style "*" ClickToFocus Style "*" RandomPlacement, SmartPlacement # Styles for various Fvwm modules: -Style "Fvwm*" NoTitle, Sticky, WindowListSkip -Style "Fvwm*" BorderWidth 2, CirculateSkipIcon, CirculateSkip -Style "FvwmPager" StaysOnTop +Style "Fvwm*" NoTitle, Sticky, WindowListSkip +Style "Fvwm*" BorderWidth 1, CirculateSkipIcon, CirculateSkip +Style "FvwmPager" Sticky, WindowListSkip, ClickToFocus Style "FvwmBanner" StaysOnTop Style "FvwmButtons" Icon toolbox.xpm, ClickToFocus # Styles for your common terminal emulator programs: AddToDecor terms + ButtonStyle 1 Pixmap mini.xterm.xpm -+ HilightColor #bebebe blue ++ HilightColor #bebebe salmon3 Style "XTerm" UseDecor terms -Style "XTerm" Icon xterm.xpm, SloppyFocus, IconBox -70 1 -1 -140 +Style "XTerm" Icon xterm.xpm, ClickToFocus, IconBox -70 1 -1 -140 Style "rxvt" UseDecor terms -Style "rxvt" Icon term.xpm, SloppyFocus, IconBox -70 1 -1 -140 +Style "rxvt" Icon term.xpm, ClickToFocus, IconBox -70 1 -1 -140 Style "rxvt" MWMBorder, MWMButtons # Styles for various common programs: -Style "*lock" NoTitle, NoHandles, Sticky, WindowListSkip, ClickToFocus +Style "xclock" NoTitle, Sticky, WindowListSkip, ClickToFocus Style "xbiff" NoTitle, Sticky, WindowListSkip, ClickToFocus Style "xcalc" Icon xcalc.xpm, NoButton 2,RandomPlacement,ClickToFocus Style "xmh" Icon mail1.xpm, NoIconTitle,StickyIcon @@ -61,11 +62,8 @@ Style "xmag" Icon mag_glass.xpm, RandomPlacement, ClickToFocus Style "xgraph" Icon graphs.xpm, RandomPlacement, ClickToFocus Style "xmosaic" Color Green/Yellow, ClickToFocus Style "xconsole" Icon rterm.xpm, WindowListSkip, Sticky -Style "xload" Sticky +Style "xload" NoTitle, Sticky, WindowListSkip, ClickToFocus -# some simple default key bindings: -Key Next A SCM Next [*] Focus -Key Prior A SCM Prev [*] Focus # some simple default mouse bindings: # for the root window: @@ -97,10 +95,11 @@ Mouse 3 TSIF A RaiseLower Function "InitFunction" Exec exec xloadimage -onroot -center \ /home/serguei77/graphic/fractintLorenz.png & - Exec exec xclock -bg darkcyan -geometry 100x100+0+212 & - Exec exec xload -bg darkcyan -geometry 100x100+0+79 & +# Exec exec xclock -bg darkcyan -geometry 100x100+0+191 & + Exec exec xload -bg darkcyan -geometry 100x100+0+72 & Exec exec xterm -geometry 81x45+744+15 -e \ - "/bin/sh /home/serguei77/.monitorr.sh" & + "/usr/X11R6/bin/xclock -bg darkcyan -geometry \ + 100x100+0+180 & /bin/sh /home/serguei77/.monitorr.sh" & Module FvwmButtons Module FvwmWinList Module FvwmPager 0 0 @@ -304,13 +303,6 @@ Key Down A MC Scroll +0 +100 # from one string to another in a text ! - -# press arrow + meta key, and scroll by 1/10 of a page -#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 - # press shift arrow + control anywhere, and move the pointer by 1% of a page Key Left A SC CursorMove -1 0 Key Right A SC CursorMove +1 +0 @@ -330,18 +322,7 @@ Key F3 A M WindowList FvwmWinList Key F4 A M Iconify Key F5 A M Move Key F6 A M Resize -Key F7 A M CirculateUp -Key F8 A M CirculateDown -#Page Up/Page Down keys are used to scroll by one desktop page -# in any context, press page up/down + control -# in root context, just pressing page up/down is OK -# -# I prefer the non-wrapping scroll. These are for example purposes only -#Key Next A C Scroll 100000 0 -#Key Next R N Scroll 100000 0 -#Key Prior A C Scroll -100000 0 -#Key Prior R N Scroll -100000 0 ################## FvwmButtons button-bar ################################ *FvwmButtonsBack bisque3 @@ -372,7 +353,7 @@ Key F8 A M CirculateDown *FvwmPagerBack darkcyan *FvwmPagerFore white *FvwmPagerHilight #2d2d2d -*FvwmPagerGeometry 100x100+0+326 +*FvwmPagerGeometry 100x100+0+288 *FvwmPagerLabel 0 "OpenBSD 5.8" *FvwmPagerLabel 1 Hacks *FvwmPagerLabel 2 Mail @@ -396,11 +377,6 @@ Key F8 A M CirculateDown *FvwmScrollBack grey40 *FvwmScrollFore green -############################################################ -############################################################ -# Note that icons are shown in the module -# only if NoIcon command is applied. -#Style "*" NoIcon ############################################################ *FvwmIconBoxIconBack #cfcfcf @@ -442,44 +418,6 @@ Key F8 A M CirculateDown # *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 White -*RloginItemFore Yellow -*RloginItemBack Wheat -# 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 -#*RloginChoice Default Default on "same user" -#*RloginChoice Custom Custom off "user:" -*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 @@ -492,54 +430,9 @@ Key F8 A M CirculateDown *QuitVerifyItemBack Gray50 # begin items *QuitVerifyLine center -*QuitVerifyText "Do you really want to exit FVWM?" +*QuitVerifyText "Do ya really wanna divorce with FVWM???" *QuitVerifyLine expand -*QuitVerifyButton quit " Exit " +*QuitVerifyButton quit " Nuke me! " *QuitVerifyCommand Quit -*QuitVerifyButton quit "Cancel" +*QuitVerifyButton quit "Bring me back to reason!" *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 Red -*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 Red -*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