webapp-container
-
Hi Guys,
I'm a bit of a newby to Ubuntu-touch, I've downloaded and installed 16.04 (2018-W31) and it works great on an old OnePlus One. I want to create a 'test' webapp-container so i'm going through 'adb' in terminal but i get the following error to do with the 'mir' display. Can you guys help me out?
$ adb -s dd1ed1db shell
phablet@ubuntu-phablet:~$ webapp-container --webappUrlPatterns-http://www.ubuntu.com/*/features http://www.ubuntu.com
Loading module: 'libubuntu_application_api_touch_mirclient.so.3.0.0'
UbuntuClientIntegration: connection to Mir server failed. Check that a Mir server is
running, and the correct socket is being used and is accessible. The shell may have
rejected the incoming connection, so check its log file
Aborted (core dumped)
phablet@ubuntu-phablet:~$Should I upgrade to 16.04 dev?
Regards,
Paul Shapley
-
You need to specify the
--desktop_file_hint=/usr/share/applications/webbrowser-app.desktop
. You won't need this once you have created your desktop file, but it's required when running applications from the command line. -
Hmm...all I get is 'no such file or directory'.
-
@shapley see the correct syntax here https://docs.ubuntu.com/phone/en/web/ubuntu-webapps-guide
-
export MIR_SOCKET=/var/run/mir_socket
The above command solved this for me as was suggested here:-
https://askubuntu.com/questions/611274/how-do-i-run-a-mir-application-from-a-command-line
Thanks for your help
Paul Shapley