Couple Newbie question
-
So i have two questions that i am sure someone can answer easily
I am having an issue building a webapp. HTML links dont seem to work, when I run clickable desktop and click a standard href link i get this;qml: user agent: Mozilla/5.0 (Linux; Ubuntu 16.04) AppleWebKit/537.36 Chrome/77.0.3865.129 Safari/537.36 QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-hisham' Unable to detect a web browser to launch 'https://google.com/'The other issue is instead of using a webapp i tried to just build a basic shell script which works once in the terminal but if i make a .desktop file to launch from the app drawer it does nothing?
Any help is appreciated.
Thanks.
-
@kmsgli Have you tried using webber https://open-store.io/app/webber.timsueberkrueb it might do what you need.
-
@lakotaubp
I did find that and it works well however I am trying to learn to code my own app and for example I want a main page with two different web links attached to buttons one for my home camera interface and one for my shop camera rather then two apps i think it would be useful to build one app that has the two options in it unless webapps can not go to another site from inside the web app? -
@kmsgli Someone should be able to help with that, but not me I'm afraid.Good luck
-
Hi @kmsgli
Have you tried Clickable ?
IIRC there is an HTML5 template you can use to start a new project.
You can also check parameters for webapps in order to create a custom one (i.e. allowing browsing to outside links via Morph or adding several url to your webapp) -
@applee I did use clickable and i like how easy it is to make and html app. However standard <a href=url a> code makes a link but nothing happens when u click it wether in the desktop emulation clickable or if you deploy the app on the phone. There must be a setting I am missing that allows morph to use links to other pages?
-
@kmsgli
Oh, I'm not at all a webdev but it might be some apparmor rights or some kind of confinement rules...
I hope someone will be able to help.You can also check how some webapp+ are made like the one in the open store for facebook.
Those should have some interesting features mixing simple webapp and added custom code... -
My apparmor.json file needed "webview" listed under the policy_groups which according to the documentation and this solved my issue.
Thanks for pointing me in the right direction.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login