Contents of /trunk/alxconfig-ng/patches/alxconfig-ng-0.6.0_rc1-sleep-before-autorun-wfica.patch
Parent Directory | Revision Log
Revision 1365 -
(show annotations)
(download)
Wed Jun 8 08:49:37 2011 UTC (13 years, 3 months ago) by niro
File size: 775 byte(s)
Wed Jun 8 08:49:37 2011 UTC (13 years, 3 months ago) by niro
File size: 775 byte(s)
fixed patch
1 | diff -Naur alxconfig-ng-0.6.0-rc1/functions/config_sessions.sh alxconfig-ng-0.6.0-rc1-fixed/functions/config_sessions.sh |
2 | --- alxconfig-ng-0.6.0-rc1/functions/config_sessions.sh 2011-05-18 23:55:22.000000000 +0200 |
3 | +++ alxconfig-ng-0.6.0-rc1-fixed/functions/config_sessions.sh 2011-06-08 10:49:41.000000000 +0200 |
4 | @@ -370,7 +370,8 @@ |
5 | # add autostart session |
6 | if [[ ! -z ${cfg_autostart_session} ]] |
7 | then |
8 | - addconfig "[startup] {nohup nice -n 19 wfica ${ALX_ICA_SESSIONS}/$(fix_whitespaces ${cfg_autostart_session}) &}" |
9 | + # sleep one second to wait until busybox is fully initialized and the screen is really centered |
10 | + addconfig "[startup] {sleep 1 && nohup nice -n 19 wfica ${ALX_ICA_SESSIONS}/$(fix_whitespaces ${cfg_autostart_session}) &}" |
11 | fi |
12 | |
13 | # fluxbox hotkeys |