]> git.karo-electronics.de Git - meta-kc-bsp.git/commitdiff
start-application: silence some calls, run chromium with GPU disabled pre default
authorFlorian Boor <florian@kernelconcepts.de>
Sat, 14 Jul 2018 15:13:19 +0000 (17:13 +0200)
committerFlorian Boor <florian@kernelconcepts.de>
Sat, 14 Jul 2018 15:13:19 +0000 (17:13 +0200)
recipes-bsp/application/files/StartApplication.sh

index 0611e6f56b63e53f8c7fbe18c888f5c9061b2916..9aee9a9271616323bcf4baf317f2edded9684502 100644 (file)
@@ -9,19 +9,18 @@ echo "Starting application..."
 
 # set up environment
 
-export QT_QPA_FONTDIR=/usr/share/fonts/truetype
+export QT_QPA_FONTDIR=/usr/share/fonts
 export FB_MULTI_BUFFER=2
-rmmod evbug 2>&1 > /dev/null
+rmmod evbug > /dev/null 2>&1
 
 
-# run application
+# run framebuffer demo application
 if [ -x /usr/bin/Qt5_CinematicExperience ]; then
-       Qt5_CinematicExperience -platform eglfs&
+       Qt5_CinematicExperience -platform eglfs > /dev/null 2>&1 &
 fi
 
-# or alternate application
+# or alternate run x11 browser application
 if [ -x /usr/bin/chromium ]; then
        export DISPLAY=:0
-       /usr/bin/chromium --no-sandbox --disable-session-chrashed-bubble https://www.kernelconcepts.de &
+       /usr/bin/chromium --disable-gpu --no-sandbox --disable-session-chrashed-bubble https://www.kernelconcepts.de &
 fi
-