Run Emacs, Firefox and Goldendict in ".xinit".
authorOleksandr Gavenko <gavenkoa@gmail.com>
Wed, 25 Feb 2015 01:17:28 +0200
changeset 735 26eaadaeb19a
parent 734 da0dc50393b6
child 736 73748dd9a563
Run Emacs, Firefox and Goldendict in ".xinit".
.fvwm/config
.xinitrc
--- a/.fvwm/config	Tue Feb 24 00:37:27 2015 +0200
+++ b/.fvwm/config	Wed Feb 25 01:17:28 2015 +0200
@@ -94,10 +94,7 @@
 # Right offset: 80 from FvwmPager + 2*6 from border = 92.
 + I Exec  exec xclock -digit -update 1 -strftime '%m-%d %T %a' -padding 2 -geometry 130x16-92+0 -face Monospace-9 -bg gray
 + I Exec  exec stalonetray --window-strut none --grow-gravity S --icon-gravity N --geometry 1x16-$((130+92+24))+0 
-+ 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')
 
 # Run after each restart.
--- a/.xinitrc	Tue Feb 24 00:37:27 2015 +0200
+++ b/.xinitrc	Wed Feb 25 01:17:28 2015 +0200
@@ -23,6 +23,9 @@
   xsetroot -mod 2 2 -fg gray70 -bg gray60
   # To debug FvwmM4 add "-debug" after "FvwmM4".
   fvwm -cmd "Module FvwmM4 -m4-prefix -m4-prefix-defines $HOME/.fvwm/config" &
+  emacs --name emacs-main &
+  goldendict &
+  firefox &
   notfy_daemon_cmd=/usr/lib/notification-daemon/notification-daemon
   if [[ -x $notfy_daemon_cmd ]]; then
     $notfy_daemon_cmd &