|
Post by bigbass on Jun 18, 2018 7:32:26 GMT 1
Hey Guys I found a cool discovery ! developer.gnome.org/gtk3/3.22/broadwayd.htmleasy to use to get HUG3 apps on your browser and they run HUG3 uses gtk3 a working example to get you started web-widgets.tar.gz (112.92 KB) To keep it easy I tested this on mint 19 beta just uncompress cd into and run autorun.shThe autorun does the compiling and connecting a one click solution Joe
|
|
|
Post by vovchik on Jun 18, 2018 19:10:46 GMT 1
Dear Joe, My version of Mint (17.3) doesn't have broadwayd. I am now looking for a suitable package or may later compile it myself, but I fear dependency hell. After that, I can test. With kind regards, vovchik
|
|
|
Post by bigbass on Jun 24, 2018 18:45:53 GMT 1
Hey vovchik
updated the first post now tested to be working on linux mint 19 with a better example to show interaction between the app and the web browser as the canvas broadwayd uses cairo to do its magic the image looks different but better
Joe
|
|
|
Post by vovchik on Jun 24, 2018 22:32:42 GMT 1
Dear Joe, I compiled for Raspberry Pi and it works fine. I don't have firefox there, but only chromium. I modified the script, broadwayd started, and then nothing in chromium-browser (I changed autostart.sh). Still trying to get the browser to display...and will report back later. Thanks. With kind regards, vovchik
|
|
|
Post by bigbass on Jun 24, 2018 22:47:59 GMT 1
Hey vovchik almost there ... just installed chomium to test with a small edit # or open your web browser and paste this http://127.0.0.1:8085 #firefox http://127.0.0.1:8085 chromium-browser http://127.0.0.1:8085
it may ask some password I invented mint then mint again (since it was the first time used ) and you may need to go to the url area in the browser click and the press enter in it to run in theory it should do this for you also after the first run it is automatic without password ahhh normal user not root user when running the script !! /home/mint/Documents/web-widgets Joe
|
|
|
Post by bigbass on Jul 5, 2019 17:16:51 GMT 1
I forgot about this broadwayd gtk3 developer.gnome.org/gtk3/stable/gtk-broadway.htmlbut since I built an image for xubuntu rpi3 I tried to see if it would work again or not and yes it works a bit awkward but works awkward to automate but I almost got it the reason being is number one you need to start the backend server first then open the browser with the correct display and run a gtk3 (gtk2 is not supported) app on that display well all you do for testing is run ./autorun.sh then run ./autorun2.sh in a new terminal and it should work if you have your gtk3 pre compiled with broadwayd support or else it wont work web-widgets-2.tar.gz (19.12 KB) firefox is too slow so I installed chrome note run all scripts as non root one dep needed #dependency #sudo apt-get install libgoocanvas-2.0-9 Joe
|
|