* Load Emacs and Firefox automatically.
* Load timer first.
* Load Emacs second as it can load long time.
* SkipMapping was not added to emacs to give focus it.
--- a/.Xdefaults Wed Oct 31 09:57:51 2012 +0200
+++ b/.Xdefaults Wed Oct 31 10:20:28 2012 +0200
@@ -9,6 +9,7 @@
! 4x6, 5x7, 5x8, 6x9, 8x9, 6x10, 5x12, 6x12, 7x12, 8x12, 16x12, 6x13, 7x13, 8x13, 7x14, 9x15, 8x16, 12x16, 9x18, 10x18, 10x20, 12x24
emacs.font: -misc-fixed-medium-r-normal-*-14-*-*-*-c-*-iso10646-1
+emacs-main.font: -misc-fixed-medium-r-normal-*-14-*-*-*-c-*-iso10646-1
! emacs.font: -misc-fixed-medium-r-normal-*-13-*-75-75-c-80-iso10646-1
! emacs.font: -misc-fixed-medium-r-semicondensed--13-*-iso10646-1
! emacs.font: -misc-fixed-medium-r-normal--13-*-iso10646-1
--- a/.fvwm/config Wed Oct 31 09:57:51 2012 +0200
+++ b/.fvwm/config Wed Oct 31 10:20:28 2012 +0200
@@ -88,17 +88,22 @@
# 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
+# SkipMapping was not added to emacs to give focus it.
+Style "emacs-main" StartsOnPage 2 0 0
+Style "Goldendict" StartsOnPage 3 1 2, SkipMapping
+Style "Iceweasel" StartsOnPage 1 0 0, SkipMapping
Style "XClock" !Title, Sticky, StaysOnTop, !Iconifiable, FixedPosition, FixedSize, WindowListSkip, CirculateSkip
# Run only om sturtup.
DestroyFunc InitFunction
AddToFunc InitFunction
+# 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
++ I Exec exec emacs --name emacs-main
+ I Exec exec m4_XTERM_MC(`mc-main1')
+ I Exec exec goldendict
++ I Exec exec firefox
+ I Exec exec m4_XTERM_MC(`mc-main2')
-# 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