Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Disable Chromium "Can not update Chromium" Window Notification

We're running Google Chromium in kiosk mode on a touch screen (Linux). Often we get the message "Can not update Chromium" window notification. We have not found a flag that would prevent this.

Does somebody have an idea?

like image 792
Konzule Avatar asked Nov 22 '19 11:11

Konzule


2 Answers

Try this flag

--simulate-outdated-no-au='Tue, 31 Dec 2099 23:59:59 GMT'

You can set a future date. This will let chromium think that it shouldn't be outdated until this date and therefor won't show the outdated message.

By Adalbert Michelic [email protected]
"It's possible to silence this notification by faking the build date by using this command line parameter: --simulate-outdated-no-au='Tue, 31 Dec 2099 23:59:59 GMT'" https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=943668#15

like image 59
MarquisBS Avatar answered Oct 24 '22 12:10

MarquisBS


This Bug seems to be floating around Debian and Raspbian already since Chromium 76.

From the Debian Report I understand it should be fixed with Chromium 78 and the commandline option --disable-component-update should disable it.

But from the thread in the Raspberrypi.org Forums it still seems to appear in Chromium 78 at least on Raspbian. So there the following workaround is proposed:

Create a file /etc/chromium-browser/customizations/01-disable-update-check and set its content to

CHROMIUM_FLAGS="${CHROMIUM_FLAGS} --check-for-update-interval=31536000"

Or as a copy&paste solution:

sudo touch /etc/chromium-browser/customizations/01-disable-update-check;echo CHROMIUM_FLAGS=\"\$\{CHROMIUM_FLAGS\} --check-for-update-interval=31536000\" | sudo tee /etc/chromium-browser/customizations/01-disable-update-check

It effectively disables the update check for 1 year, until then a fix should have been distributed.

like image 31
heine Avatar answered Oct 24 '22 12:10

heine