diff -r a29ab59f95a8 -r dd621eec0cdf .fvwm/config --- a/.fvwm/config Sun Jan 18 14:34:01 2009 +0200 +++ b/.fvwm/config Sun Jan 18 19:15:30 2009 +0200 @@ -46,7 +46,7 @@ MiniIcon app/x-flex-16x16.xpm Style "XTerm" Icon app/terminal-16x16.xpm, \ MiniIcon app/terminal-16x16.xpm -Style "Mc" Icon app/mc-16x16.xpm, \ +Style "mc-*" Icon app/mc-16x16.xpm, \ MiniIcon app/mc-16x16.xpm # ############ @@ -224,7 +224,7 @@ AddToMenu Utilities Utilities Title + Xterm Exec exec xterm -e bash -i + Mc Exec exec xterm -fn "-misc-fixed-medium-r-*-*-18-*-*-*-*-*-iso10646-1" \ - -name Mc -geometry 120x42 -e bash -i -c "mc -x" + -name mc-secondary -geometry 120x42 -e bash -i -c "mc -x" + Emacs Exec emacs + debian Popup "/Debian" @@ -287,10 +287,27 @@ *FvwmPager: Rows 3 *FvwmPager: Columns 1 +#################### +# Startup functions. +#################### + +# Define whare place autoloaded progs. +# StartsOnPage [desk [x y]] +Style "mc-main" StartsOnPage 0 1 0, SkipMapping +Style "stardict" StartsOnPage 2 1 2, SkipMapping + +# Only once. +AddToFunc InitFunction ++ I Exec xterm -fn "-misc-fixed-medium-r-*-*-18-*-*-*-*-*-iso10646-1" \ + -name mc-main -geometry 120x42 -e bash -i -c "mc -x" ++ I Exec stardict + +# After all restart. +AddToFunc RestartFunction + +# First and after all restart. +# All fvwm modules exit after restart fvwm, so you must put they there. AddToFunc StartFunction + I Module FvwmPager 0 2 -# + I GotoDeskAndPage 2 2 2 -# + I Exec stardict -# + I GotoDeskAndPage 0 0 0 # Add next to load desktop image (must be .xpm or .png) # + I Exec fvwm-root -r ~/tmp/MagicItemComp2_1280x1024.png