From a8a1146a2fdbd91e2e74fe93f648852a63873d14 Mon Sep 17 00:00:00 2001 From: Florian Boor Date: Thu, 12 Jul 2018 17:32:10 +0200 Subject: [PATCH] StartApplication.sh: Run chromium browser if available --- recipes-bsp/application/files/StartApplication.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/recipes-bsp/application/files/StartApplication.sh b/recipes-bsp/application/files/StartApplication.sh index acefc6b..0611e6f 100644 --- a/recipes-bsp/application/files/StartApplication.sh +++ b/recipes-bsp/application/files/StartApplication.sh @@ -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 + -- 2.39.2