3QML_PHONE_SHELL_PATH=./builddir/unity8
11 echo "usage: "$0" [OPTIONS]\n" >&2
12 echo "Script to run the shell.\n" >&2
14 echo " -f, --fake Force use of fake Qml modules." >&2
15 echo " -p, --pinlock Use a pin protected user." >&2
16 echo " -k, --keylock Use a passphrase protected user." >&2
17 echo " -g, --gdb Run through gdb." >&2
18 echo " -h, --help Show this help." >&2
19 echo " -m, --nomousetouch Run without -mousetouch argument." >&2
24ARGS=`getopt -n$0 -u -a --longoptions="fake,pinlock,keylock,gdb,help,nomousetouch" -o "fpkghm" -- "$@"`
31 -f|--fake) FAKE=true;;
32 -p|--pinlock) PINLOCK=true;;
33 -k|--keylock) KEYLOCK=true;;
36 -m|--nomousetouch) MOUSE_TOUCH=false;;
43 export QML2_IMPORT_PATH=$PWD/builddir/tests/mocks:$PWD/builddir/plugins:$PWD/builddir/modules
44 export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$PWD/builddir/tests/mocks/libusermetrics:$PWD/builddir/tests/mocks/LightDM/single
46 export QML2_IMPORT_PATH=`pkg-config --variable=plugindir unity-shell-api`
50 export QML2_IMPORT_PATH=$PWD/builddir/tests/mocks:$PWD/builddir/plugins:$PWD/builddir/modules
51 export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$PWD/builddir/tests/mocks/libusermetrics:$PWD/builddir/tests/mocks/LightDM/single-pin
55 export QML2_IMPORT_PATH=$PWD/builddir/tests/mocks:$PWD/builddir/plugins:$PWD/builddir/modules
56 export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$PWD/builddir/tests/mocks/libusermetrics:$PWD/builddir/tests/mocks/LightDM/single-passphrase
59# Force icon theme if running on the desktop, otherwise gnome theme (if running
60# on Ubuntu Desktop) will be used and icons won't be found
61if [ -n "$DESKTOP_SESSION" ]; then
62 export UBUNTU_ICON_THEME=ubuntu-mobile
65QML_PHONE_SHELL_ARGS=""
67 QML_PHONE_SHELL_ARGS="$QML_PHONE_SHELL_ARGS -mousetouch"
71 gdb -ex run --args $QML_PHONE_SHELL_PATH $QML_PHONE_SHELL_ARGS $@
73 $QML_PHONE_SHELL_PATH $QML_PHONE_SHELL_ARGS $@
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list