how to disable chromium update notice to popping up?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

how to disable chromium update notice to popping up?

跳至解决方案
7,047 次查看
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 项奖励
回复
1 解答
6,997 次查看
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 项奖励
回复
4 回复数
6,998 次查看
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 项奖励
回复
7,024 次查看
Zhiming_Liu
NXP TechSupport
NXP TechSupport

@gonewithwind-peter 

 

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

0 项奖励
回复
7,007 次查看
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 项奖励
回复
7,017 次查看
gonewithwind-peter
Senior Contributor I

@Zhiming_Liu 

let me try to add it , thanks

0 项奖励
回复