Contents of /trunk/alxconfig-ng/patches/alxconfig-ng-0.6.0_rc1-sleep-before-autorun-wfica.patch
Parent Directory | Revision Log
Revision 1363 -
(show annotations)
(download)
Wed Jun 8 08:31:16 2011 UTC (13 years, 3 months ago) by niro
Original Path: trunk/alxconfig-ng/patches/alxconfig-0.6.0_rc1-sleep-before-autorun-wfica.patch
File size: 744 byte(s)
Wed Jun 8 08:31:16 2011 UTC (13 years, 3 months ago) by niro
Original Path: trunk/alxconfig-ng/patches/alxconfig-0.6.0_rc1-sleep-before-autorun-wfica.patch
File size: 744 byte(s)
-added small hotfix for alxconfig
1 | Index: alxconf-060/functions/config_sessions.sh |
2 | =================================================================== |
3 | --- alxconf-060/functions/config_sessions.sh (Revision 2168) |
4 | +++ alxconf-060/functions/config_sessions.sh (Arbeitskopie) |
5 | @@ -370,7 +370,8 @@ |
6 | # add autostart session |
7 | if [[ ! -z ${cfg_autostart_session} ]] |
8 | then |
9 | - addconfig "[startup] {nohup nice -n 19 wfica ${ALX_ICA_SESSIONS}/$(fix_whitespaces ${cfg_autostart_session}) &}" |
10 | + # sleep one second to wait until busybox is fully initialized and the screen is really centered |
11 | + addconfig "[startup] {sleep 1 && nohup nice -n 19 wfica ${ALX_ICA_SESSIONS}/$(fix_whitespaces ${cfg_autostart_session}) &}" |
12 | fi |
13 | |
14 | # fluxbox hotkeys |