← Back to team overview

ubuntu-phone team mailing list archive

Re: viewing local HTML files

 

> 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


Follow ups

References