how to disable chromium update notice to popping up?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

how to disable chromium update notice to popping up?

Jump to solution
7,233 Views
gonewithwind-peter
Senior Contributor I

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.

 

0 Kudos
Reply
1 Solution
7,183 Views
gonewithwind-peter
Senior Contributor I

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}"

View solution in original post

0 Kudos
Reply
4 Replies
7,184 Views
gonewithwind-peter
Senior Contributor I

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}"

0 Kudos
Reply
7,210 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

@gonewithwind-peter 

 

Did you try add this :–disable-desktop-notifications ?

0 Kudos
Reply
7,193 Views
gonewithwind-peter
Senior Contributor I

@Zhiming_Liu 

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?

 

 

0 Kudos
Reply
7,203 Views
gonewithwind-peter
Senior Contributor I

@Zhiming_Liu 

let me try to add it , thanks

0 Kudos
Reply