diff options
Diffstat (limited to 'meta/packages/matchbox-keyboard/files')
-rwxr-xr-x | meta/packages/matchbox-keyboard/files/80matchboxkeyboard.shbg (renamed from meta/packages/matchbox-keyboard/files/80matchboxkeyboard) | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/meta/packages/matchbox-keyboard/files/80matchboxkeyboard b/meta/packages/matchbox-keyboard/files/80matchboxkeyboard.shbg index 7c775af0eb..e6745c5695 100755 --- a/meta/packages/matchbox-keyboard/files/80matchboxkeyboard +++ b/meta/packages/matchbox-keyboard/files/80matchboxkeyboard.shbg @@ -14,8 +14,10 @@ elif [ "$DISPLAY_CAN_ROTATE" = "1" ]; then fi fi -# Delay to make sure the window manager is active if [ "$CMD" ]; then - { sleep 2 ; $CMD ; } & + # Delay to make sure the window manager is active + # by waiting for the desktop to say its finished loading + dbus-wait org.matchbox_project.desktop Loaded + $CMD fi |