6QML_PHONE_SHELL_PATH=./builddir/src/unity8
13 echo "usage: "$0" [OPTIONS]\n" >&2
14 echo "Script to run the shell.\n" >&2
16 echo " -f, --fake Force use of fake Qml modules." >&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,gdb,help:,nomousetouch" -o "fghm" -- "$@"`
31 -f|--fake) USE_MOCKS=true;;
34 -m|--nomousetouch) MOUSE_TOUCH=false;;
41 export QML2_IMPORT_PATH=$QML2_IMPORT_PATH:$PWD/builddir/tests/mocks:$PWD/builddir/plugins:$PWD/builddir/modules
42 export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$PWD/builddir/tests/mocks/LightDM/liblightdm:$PWD/builddir/tests/mocks/libusermetrics:$PWD/builddir/tests/mocks/QMenuModel
44 export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$PWD/builddir/plugins/LightDM/liblightdm
47QML_PHONE_SHELL_ARGS=""
49 QML_PHONE_SHELL_ARGS="$QML_PHONE_SHELL_ARGS -mousetouch"
54 /sbin/initctl stop unity8
61 gdb -ex run --args $QML_PHONE_SHELL_PATH $QML_PHONE_SHELL_ARGS $@
63 status=`/sbin/initctl status unity8`
64 if [ "$status" != "unity8 stop/waiting" ]; then
65 echo "Unity8 is already running, please stop it first"
68 /sbin/initctl start unity8 BINARY="`readlink -f $QML_PHONE_SHELL_PATH` $QML_PHONE_SHELL_ARGS $@" XDG_DATA_DIRS=$XDG_DATA_DIRS QML2_IMPORT_PATH=$QML2_IMPORT_PATH LD_LIBRARY_PATH=$LD_LIBRARY_PATH
69 tailf -n 0 ~/.cache/upstart/unity8.log
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