# HG changeset patch # User Oleksandr Gavenko # Date 1326120593 -7200 # Node ID 1e3802e511df364b24a2e04144dda9674a1b6bc7 # Parent a390aa4a553b33661ebac7b41dab9d7601924798# Parent ee3bf8657532095345a32a343c93fbe60d268cb6 merged diff -r ee3bf8657532 -r 1e3802e511df .fvwm/config --- a/.fvwm/config Sun Jan 08 22:43:26 2012 +0200 +++ b/.fvwm/config Mon Jan 09 16:49:53 2012 +0200 @@ -197,7 +197,7 @@ Key Print A N FvwmScreenshot Key Print A S FvwmDesktopScreenshot -Key Scroll_Lock A N Exec xscreensaver-command -activate +Key Scroll_Lock A N Exec exec xscreensaver-command -activate # Similar to Vi hjkl: # @@ -254,13 +254,13 @@ AddToDecor MyDecor + TitleStyle LeftJustified Height 18 + ButtonStyle 1 ActiveUp Vector 4 30x30@3 60x60@3 60x30@4 30x60@3 -- Flat -+ ButtonStyle 1 ActiveDown Vector 4 30x30@3 60x60@3 60x30@4 30x60@3 -- Flat ++ ButtonStyle 1 ActiveDown Vector 4 30x30@1 60x60@1 60x30@4 30x60@1 -- Flat + ButtonStyle 1 Inactive Vector 4 30x30@3 60x60@3 60x30@4 30x60@3 -- Flat + ButtonStyle 3 ActiveUp Vector 5 30x60@3 60x60@3 60x50@3 30x50@3 30x60@3 -- Flat -+ ButtonStyle 3 ActiveDown Vector 5 30x60@3 60x60@3 60x50@3 30x50@3 30x60@3 -- Flat ++ ButtonStyle 3 ActiveDown Vector 5 30x60@1 60x60@1 60x50@1 30x50@1 30x60@1 -- Flat + ButtonStyle 3 Inactive Vector 5 30x60@3 60x60@3 60x50@3 30x50@3 30x60@3 -- Flat + ButtonStyle 5 ActiveUp Vector 7 30x30@3 30x60@3 60x60@3 60x30@3 30x30@3 30x35@3 60x35@3 -- Flat -+ ButtonStyle 5 ActiveDown Vector 7 30x30@3 30x60@3 60x60@3 60x30@3 30x30@3 30x35@3 60x35@3 -- Flat ++ ButtonStyle 5 ActiveDown Vector 7 30x30@1 30x60@1 60x60@1 60x30@1 30x30@1 30x35@1 60x35@1 -- Flat + ButtonStyle 5 Inactive Vector 7 30x30@3 30x60@3 60x60@3 60x30@3 30x30@3 30x35@3 60x35@3 -- Flat ################ @@ -269,7 +269,16 @@ Style "*" UseDecor MyDecor Style "*" BorderWidth 6, HandleWidth 6 -Style "*" MWMBorder +# NoDecorHint, OLDecor, MwmDecor +Style "*" MwmDecor +# MwmBorder, FvwmBorder, DepressableBorder, FirmBorder +Style "*" MwmBorder +# With Mwm resize and move feedback windows are in the center of the screen, instead of +# the upper left corner. Available: Fvwm, Mwm, Win. +Emulate Mwm +# Mwm and Win style menus popup sub menus automatically and never overlap the parent menu. +# Available: Fvwm, Mwm, Win. +MenuStyle "*" Mwm # ##### # Menu. @@ -281,13 +290,13 @@ Read $[fvwm_home]/menudefs.hook AddToMenu MenuMy Media Title -+ Emacs Exec emacs -+ HTop Exec xterm -name htop -e htop ++ Emacs Exec exec emacs ++ HTop Exec exec xterm -name htop -e sudo htop + Firefox Exec exec firefox -+ "Peoplenet" Exec xterm -e /usr/bin/pon -+ VLC Exec vlc -+ Goldendict Exec goldendict -+ xkill Exec xkill ++ VLC Exec exec vlc ++ Goldendict Exec exec goldendict ++ xkill Exec exec xkill ++ "Peoplenet" Exec exec xterm -e /usr/bin/pon # Drawback - you can not make it smaller. Style "htop" MinWindowSize 98 98 @@ -295,8 +304,8 @@ # Use interactive bash mode to read profile (~/.bashrc) to override default # value of PS1. AddToMenu Utilities Utilities Title -+ Xterm Exec xterm -e bash -i -+ Mc Exec xterm -fn "-misc-fixed-medium-r-*-*-18-*-*-*-*-*-iso10646-1" \ ++ Xterm Exec exec xterm -e bash -i ++ Mc Exec exec xterm -fn "-misc-fixed-medium-r-*-*-18-*-*-*-*-*-iso10646-1" \ -name mc-secondary -geometry 136x42 -e bash -i -c "mc -x" + debian Popup "/Debian" + my Popup MenuMy @@ -391,18 +400,21 @@ Style "mc-main1" StartsOnPage 0 1 0, SkipMapping Style "mc-main2" StartsOnPage 0 2 0, SkipMapping Style "goldendict" StartsOnPage 3 1 2, SkipMapping +Style "XClock" !Title, Sticky, StaysOnTop, !Iconifiable, FixedPosition, FixedSize, WindowListSkip, CirculateSkip # Only once. AddToFunc InitFunction -+ I Exec xterm -fn "-misc-fixed-medium-r-*-*-18-*-*-*-*-*-iso10646-1" \ ++ I Exec exec xterm -fn "-misc-fixed-medium-r-*-*-18-*-*-*-*-*-iso10646-1" \ -name mc-main1 -geometry 136x42 -e bash -i -c "mc -x" -+ I Exec xterm -fn "-misc-fixed-medium-r-*-*-18-*-*-*-*-*-iso10646-1" \ ++ I Exec exec xterm -fn "-misc-fixed-medium-r-*-*-18-*-*-*-*-*-iso10646-1" \ -name mc-main2 -geometry 136x42 -e bash -i -c "mc -x" -+ I Exec goldendict ++ I Exec exec goldendict +# Right offset: 80 from FvwmPager + 2*6 from border = 92. ++ I Exec exec xclock -digit -update 1 -strftime '%F %T %a' -padding 2 -geometry 165x18-92+0 -face Monospace-9 -bg gray # After all restart. AddToFunc RestartFunction -+ I Nop ++ I Exec exec update-menus # First and after all restart. # All fvwm modules exit after restart fvwm, so you must put they there.