← Back to team overview

ubuntu-phone team mailing list archive

Re: viewing local HTML files

 

El domingo, 27 de marzo de 2016 22:17:50 (CEST), kaabud-lp@xxxxxxxx escribió:
I have in the HOME of phablet some tree with HTML (...) files:


phablet@ubuntu-phablet:~$ ls -C1 diario2016/
diario.html
enanitos/
imagenes/

(diario.html has <img ...> refernces into the subdirs enanitos/ and
imagenes/).

How can I view this locally on the BQ? I tried something like:

ubuntu-app-launch webbrowser-app file:///home/phablet/diario2016/index.html
but with no luck.



A .desktop file like this works for me:

[Desktop Entry]
Name=web container
Type=Application
Exec=webapp-container --enable-addressbar --enable-back-forward --webappUrlPatterns=/home/phablet/* /home/phablet/
Terminal=false
X-Ubuntu-Touch=true


Hello,

Thanks, where should I place this file?

    matthias



--
Sent from my Ubuntu phone
http://www.unixarea.de/


Follow ups

References