on xenial help sign in
Added some handy shell-scripts for easier runtime-debugging of DBus-APIs on the device.
commit7b7e5f63c46073914618a29e8eb25ce269bbe1e9 authorMirco Müller <mirco.mueller@ubuntu.com> dateThu 16 Jul 2015, 16:53 (11 years ago) parent4a5f0b1
3 files changed+11
tests/scripts/README+5 tests/scripts/alert-launcher-icon.sh+3 tests/scripts/list-launcher-icons.sh+3
tests/scripts/READMEnew file+5
@@ -0,0 +1,5 @@
1+This directory holds a few handy shell-scripts to simplify runtime-testing of DBus-APIs (requires qdbus-qt5 to be installed).
2+
3+launcher-icon related:
4+ * list-launcher-icons.sh - get all icons of unity8-launcher
5+ * alert-launcher-icon.sh - trigger alert/wiggle of unfocused launcher-icon
tests/scripts/alert-launcher-icon.shnew file+3
@@ -0,0 +1,3 @@
1+#!/bin/sh
2+
3+qdbus com.canonical.Unity.Launcher /com/canonical/Unity/Launcher/$1 com.canonical.Unity.Launcher.Item.Alert
tests/scripts/list-launcher-icons.shnew file+3
@@ -0,0 +1,3 @@
1+#!/bin/sh
2+
3+qdbus com.canonical.Unity | grep Launcher | cut -f6 -d/