diff options
author | Sylvain Pineau <sylvain.pineau@canonical.com> | 2018-05-03 07:07:25 +0200 |
---|---|---|
committer | Sylvain Pineau <sylvain.pineau@canonical.com> | 2018-05-03 07:07:25 +0200 |
commit | 53b17c3b56042c10a59f6d76d78ca6c41b4faa30 (patch) | |
tree | 3e1d5cbb3dfc24e9df85c8cd97c13c8d6c71f52d /units/touchscreen | |
parent | 475ae5879f4b72a4c198cf451bf23086d6f6e0d9 (diff) |
Import plainbox-provider-checkbox_0.45.0~rc1.orig.tar.gzupstream-0.45.0_rc1patched-0.45.0_rc1-1
Diffstat (limited to 'units/touchscreen')
-rw-r--r-- | units/touchscreen/jobs.pxu | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/units/touchscreen/jobs.pxu b/units/touchscreen/jobs.pxu index 9db5677..98a2d4f 100644 --- a/units/touchscreen/jobs.pxu +++ b/units/touchscreen/jobs.pxu @@ -124,6 +124,7 @@ _description: Did the tap open the Dash? plugin: user-interact-verify +template-engine: jinja2 category_id: com.canonical.plainbox::touchscreen id: touchscreen/3-touch-tap imports: from com.canonical.plainbox import manifest @@ -139,14 +140,19 @@ _description: VERIFICATION: Did you see the green circles around the three fingers? command: + {%- if __system_env__["XDG_CURRENT_DESKTOP"] == 'Unity' %} manage_compiz_plugin unityshell disable - qmlscene -qt5 $PLAINBOX_PROVIDER_DATA/touch_tap_test.qml 3 2>&1 | grep -o PASS + {% endif %} + qmlscene -qt5 3 $PLAINBOX_PROVIDER_DATA/touch_tap_test.qml 2>&1 | grep -o PASS EXIT=$? sleep 5 + {%- if __system_env__["XDG_CURRENT_DESKTOP"] == 'Unity' %} manage_compiz_plugin unityshell enable + {% endif %} exit $EXIT plugin: user-interact-verify +template-engine: jinja2 category_id: com.canonical.plainbox::touchscreen id: touchscreen/4-touch-tap imports: from com.canonical.plainbox import manifest @@ -162,9 +168,13 @@ _description: VERIFICATION: Did you see the green circles around the four fingers? command: + {%- if __system_env__["XDG_CURRENT_DESKTOP"] == 'Unity' %} manage_compiz_plugin unityshell disable - qmlscene -qt5 $PLAINBOX_PROVIDER_DATA/touch_tap_test.qml 4 2>&1 | grep -o PASS + {% endif %} + qmlscene -qt5 4 $PLAINBOX_PROVIDER_DATA/touch_tap_test.qml 2>&1 | grep -o PASS EXIT=$? sleep 5 + {%- if __system_env__["XDG_CURRENT_DESKTOP"] == 'Unity' %} manage_compiz_plugin unityshell enable + {% endif %} exit $EXIT |