Hi all,
I use imx8 maaxboad,iwave board. we use chromium -kiosk webpage as user GUI(of course ,there is no menu,no settings ...(3 points ),no webpage bar....
but the chromium keep popping up update notice to dispplay. how to disable it when starting up chromium with options or in setting config files in somewhere? (of course , can not use menu to change it manually).
I searched online, but do not find solutions up to now.
any help?
Thank you very much.
Solved! Go to Solution.
The following are the relevant flags we set. Of these, the --simulate-outdated-no-au argument is the one you need for this issue, but we specify a bunch more to suppress behaviour that assumes a user present or is otherwise desirable in a kiosk.
exec /usr/bin/chromium \
--kiosk --enable-fullscreen \
--touch-events=enabled \
--activate-on-launch \
--noerrdialogs \
--remote-debugging-port=9222 \
--disable-pinch \
--disable-features=OverscrollHistoryNavigation \
--start-maximized \
--disable-infobars \
--disable-notifications \
--disable-session-crashed-bubble \
--no-first-run \
--enable-offline-auto-reload \
--autoplay-policy=no-user-gesture-required \
--deny-permission-prompts \
--disable-search-geolocation-disclosure \
--enable-ipv6 $CHROMIUM_EXTRAS \
--simulate-outdated-no-au='Tue, 31 Dec 2099 23:59:59 GMT' \
--disable-component-update \
--allow-browser-signin=false \
"${KIOSK_URI}"
—
The following are the relevant flags we set. Of these, the --simulate-outdated-no-au argument is the one you need for this issue, but we specify a bunch more to suppress behaviour that assumes a user present or is otherwise desirable in a kiosk.
exec /usr/bin/chromium \
--kiosk --enable-fullscreen \
--touch-events=enabled \
--activate-on-launch \
--noerrdialogs \
--remote-debugging-port=9222 \
--disable-pinch \
--disable-features=OverscrollHistoryNavigation \
--start-maximized \
--disable-infobars \
--disable-notifications \
--disable-session-crashed-bubble \
--no-first-run \
--enable-offline-auto-reload \
--autoplay-policy=no-user-gesture-required \
--deny-permission-prompts \
--disable-search-geolocation-disclosure \
--enable-ipv6 $CHROMIUM_EXTRAS \
--simulate-outdated-no-au='Tue, 31 Dec 2099 23:59:59 GMT' \
--disable-component-update \
--allow-browser-signin=false \
"${KIOSK_URI}"
—
I add that option, but not work.
can I remove the message from the source code?
I find the message at file :
./tmp-glibc/work/aarch64-oe-linux/chromium-x11/76.0.3809.100-r0/chromium-76.0.3809.100/chrome/app/chromium_strings.grd
but I not not sure how to remove it.
anybody any help?
let me try to add it , thanks