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 " -G, --greeter Run the greeter instead of the shell." >&2
19 echo " -h, --help Show this help." >&2
20 echo " -m, --nomousetouch Run without -mousetouch argument." >&2
25ARGS=`getopt -n$0 -u -a --longoptions="fake,pinlock,keylock,gdb,greeter,help,nomousetouch" -o "fpkgGhm" -- "$@"`
32 -f|--fake) FAKE=true;;
33 -p|--pinlock) PINLOCK=true;;
34 -k|--keylock) KEYLOCK=true;;
36 -G|--greeter) QML_PHONE_SHELL_PATH=./builddir/unity8-greeter;;
38 -m|--nomousetouch) MOUSE_TOUCH=false;;
45 export QML2_IMPORT_PATH=$PWD/builddir/tests/mocks:$PWD/builddir/plugins:$PWD/builddir/modules
46 export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$PWD/builddir/tests/mocks/libusermetrics:$PWD/builddir/tests/mocks/liblightdm/single
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/liblightdm/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/liblightdm/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