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
48 export QML2_IMPORT_PATH=$PWD/builddir/tests/mocks:$PWD/builddir/plugins:$PWD/builddir/modules
49 export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$PWD/builddir/tests/mocks/libusermetrics:$PWD/builddir/tests/mocks/LightDM/single-pin
53 export QML2_IMPORT_PATH=$PWD/builddir/tests/mocks:$PWD/builddir/plugins:$PWD/builddir/modules
54 export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$PWD/builddir/tests/mocks/libusermetrics:$PWD/builddir/tests/mocks/LightDM/single-passphrase
57# Force icon theme if running on the desktop, otherwise gnome theme (if running
58# on Ubuntu Desktop) will be used and icons won't be found
59if [ -n "$DESKTOP_SESSION" ]; then
60 export UBUNTU_ICON_THEME=ubuntu-mobile
63QML_PHONE_SHELL_ARGS=""
65 QML_PHONE_SHELL_ARGS="$QML_PHONE_SHELL_ARGS -mousetouch"
69 gdb -ex run --args $QML_PHONE_SHELL_PATH $QML_PHONE_SHELL_ARGS $@
71 $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