StartApplication.sh: Run chromium browser if available
authorFlorian Boor <florian@kernelconcepts.de>
Thu, 12 Jul 2018 15:32:10 +0000 (17:32 +0200)
committerFlorian Boor <florian@kernelconcepts.de>
Thu, 12 Jul 2018 15:32:10 +0000 (17:32 +0200)
recipes-bsp/application/files/StartApplication.sh

index acefc6b..0611e6f 100644 (file)
@@ -19,3 +19,9 @@ if [ -x /usr/bin/Qt5_CinematicExperience ]; then
        Qt5_CinematicExperience -platform eglfs&
 fi
 
+# or alternate application
+if [ -x /usr/bin/chromium ]; then
+       export DISPLAY=:0
+       /usr/bin/chromium --no-sandbox --disable-session-chrashed-bubble https://www.kernelconcepts.de &
+fi
+