diff -r 6f3882ab9918 -r c922ed36372c .fvwm/config --- a/.fvwm/config Wed Aug 08 21:02:32 2012 +0300 +++ b/.fvwm/config Wed Aug 08 21:08:30 2012 +0300 @@ -10,6 +10,45 @@ ImagePath m4_ICONPATH;.xpm:m4_IMGPATH:+ ################################################################ +# Startup functions. + +# Define places for autoloaded programs. +# StartsOnPage [desk [x y]] +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 + +# Run only om sturtup. +DestroyFunc InitFunction +AddToFunc InitFunction ++ 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 exec xterm -fn "-misc-fixed-medium-r-*-*-18-*-*-*-*-*-iso10646-1" \ + -name mc-main2 -geometry 136x42 -e bash -i -c "mc -x" ++ 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 + +# Run after each restart. +DestroyFunc RestartFunction +AddToFunc RestartFunction + +# Run at sturtup and after each restart. +# All fvwm modules exit after restart Fvwm, so you must put they there. +DestroyFunc StartFunction +AddToFunc StartFunction +# + I Module FvwmDebug --xconsole +# + I KillModule FvwmDebug +# + I Module FvwmGtkDebug +# + I Module FvwmConsole ++ I Module FvwmPager 0 4 ++ I Module FvwmAuto 1 -menter enter_handler ++ I Module FvwmKbdd.pl +# Add next to load desktop image (must be .xpm or .png) +# + I Exec fvwm-root -r ~/tmp/MagicItemComp2_1280x1024.png + +################################################################ # Virtual Desktops. DesktopSize 3x3 @@ -19,7 +58,7 @@ DesktopName 3 Media DesktopName 4 Games # Percentage of a page to scroll when the cursor hits the edge of a page. -# With 0 0 I cann't scroll to other page by hitting edge, but can move app to another page! +# With 0 0 I can't scroll to other page by hitting edge, but can move app to another page! # With 100 100 by hitting edge I move to next page. EdgeScroll 0 0 # Tells how hard it should be to change the desktop viewport by moving the mouse over the @@ -388,42 +427,3 @@ DestroyFunc enter_handler AddToFunc enter_handler + I autohide FvwmPager 1000 N - -################################################################ -# Startup functions. - -# Define whare place autoloaded progs. -# StartsOnPage [desk [x y]] -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 - -# Run only om sturtup. -DestroyFunc InitFunction -AddToFunc InitFunction -+ 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 exec xterm -fn "-misc-fixed-medium-r-*-*-18-*-*-*-*-*-iso10646-1" \ - -name mc-main2 -geometry 136x42 -e bash -i -c "mc -x" -+ 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 - -# Run after each restart. -DestroyFunc RestartFunction -AddToFunc RestartFunction - -# Run at sturtup and after each restart. -# All fvwm modules exit after restart Fvwm, so you must put they there. -DestroyFunc StartFunction -AddToFunc StartFunction -# + I Module FvwmDebug --xconsole -# + I KillModule FvwmDebug -# + I Module FvwmGtkDebug -# + I Module FvwmConsole -+ I Module FvwmPager 0 4 -+ I Module FvwmAuto 1 -menter enter_handler -+ I Module FvwmKbdd.pl -# Add next to load desktop image (must be .xpm or .png) -# + I Exec fvwm-root -r ~/tmp/MagicItemComp2_1280x1024.png