--- trunk/alxconfig-ng/patches/alxconfig-ng-0.6.0_rc1-sleep-before-autorun-wfica.patch 2011/06/08 08:35:42 1364 +++ trunk/alxconfig-ng/patches/alxconfig-ng-0.6.0_rc1-sleep-before-autorun-wfica.patch 2011/06/08 08:49:37 1365 @@ -1,14 +1,13 @@ -Index: alxconf-060/functions/config_sessions.sh -=================================================================== ---- alxconf-060/functions/config_sessions.sh (Revision 2168) -+++ alxconf-060/functions/config_sessions.sh (Arbeitskopie) +diff -Naur alxconfig-ng-0.6.0-rc1/functions/config_sessions.sh alxconfig-ng-0.6.0-rc1-fixed/functions/config_sessions.sh +--- alxconfig-ng-0.6.0-rc1/functions/config_sessions.sh 2011-05-18 23:55:22.000000000 +0200 ++++ alxconfig-ng-0.6.0-rc1-fixed/functions/config_sessions.sh 2011-06-08 10:49:41.000000000 +0200 @@ -370,7 +370,8 @@ - # add autostart session - if [[ ! -z ${cfg_autostart_session} ]] - then -- addconfig "[startup] {nohup nice -n 19 wfica ${ALX_ICA_SESSIONS}/$(fix_whitespaces ${cfg_autostart_session}) &}" -+ # sleep one second to wait until busybox is fully initialized and the screen is really centered -+ addconfig "[startup] {sleep 1 && nohup nice -n 19 wfica ${ALX_ICA_SESSIONS}/$(fix_whitespaces ${cfg_autostart_session}) &}" - fi + # add autostart session + if [[ ! -z ${cfg_autostart_session} ]] + then +- addconfig "[startup] {nohup nice -n 19 wfica ${ALX_ICA_SESSIONS}/$(fix_whitespaces ${cfg_autostart_session}) &}" ++ # sleep one second to wait until busybox is fully initialized and the screen is really centered ++ addconfig "[startup] {sleep 1 && nohup nice -n 19 wfica ${ALX_ICA_SESSIONS}/$(fix_whitespaces ${cfg_autostart_session}) &}" + fi - # fluxbox hotkeys + # fluxbox hotkeys