0

I have this call to webapp-container in this .desktop file.

$ cat .local/share/applications/foo.desktop 
[Desktop Entry]
Version=1.0
Name=web container
Type=Application
Exec=/usr/bin/webapp-container --enable-addressbar --enable-back-forward --webappUrlPatterns=/home/phablet/*/*/* /home/phablet/*/* /home/phablet/* /home/phablet/
Icon=/usr/share/icons/Humanity/actions/32/add.svg
Terminal=false
X-Ubuntu-Touch=true

This is the way I've found to open my local html files. It works fine until I follow a link to a PDF file. Then, I choose Document Viewer to open the PDF file, but it opens a dialog to choose a file to open instead. Sometimes it works right... Why?

  • 1
    There is a bug in Document viewer, if you don't have Document viewer already open, files don't open from another app. Are you facing the same issue? – pomsky Dec 24 '16 at 7:24
  • You may be right, pomsky. Anyway, it does not always fail when still not running. – Jgrg.sdc Dec 24 '16 at 16:00

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.