1

After upgrading to Chrome 48, i see the message:

This computer will soon stop receiving Google Chrome updates because this Linux system will no longer be supported

Is there a way to hide or disable that message?

Edit: I'm not asking about Linux support, i just want to disable the message.

Ahmed
  • 378

2 Answers2

1

What you are making sens for me, because I am using an old 32 bit Ubuntu without any possibilities of upgrade and chromium don't provide DRM access for my iptv broadcaster.

I agree that this message is really annoying .. it's ok I have understand ... no longer support... stop saying that at each run, i'm not stupid, i can remember that it's an old version....

the simplest solution is :

/usr/bin/google-chrome --disable-infobars

user610179
  • 26
  • 1
  • for permanent change edit /opt/google/chrome/google-chrome with sudo and update last line with :

    exec -a "$0" "$HERE/chrome" --disable-infobars "$@"

    – user610179 Oct 22 '16 at 15:06
0

I have Ubuntu 16.04.7, Xenial, 64 bit, but my workaround works fine for any OS versions. In my case I follow this steps:

  1. Download old debian package of Chrome v. 108 from url: https://oldversions.info/down/chrome/108_version/google-chrome_108_amd64.deb;
  2. Uninstall every Chromium or Google Chrome versions, and disable relatives repositories:
sudo apt-get purge chromium-browser* google-chrome*
sudo apt-get autoremove
sudo apt-get autoclean
sudo apt-get clean
sudo apt purge $(COLUMNS=300 dpkg -l | egrep -v '^[hi]i\s' | 
  awk 'length($1) < 4 && $1 ~ /[a-zA-Z]/ {print($2)}' | tr '\n' ' ')
  1. Go on ~/Downloads folder (or other location where you are donwloaded .deb file in step 1) and type:

sudo dpkg -i google-chrome_108_amd64.deb

then wait installation completion;
  1. create an autorun script, name it "MySettings.sh", and save in your home directory:
#!/bin/bash
#
# My personal settings

Symlink os-release - for Google Chrome "Unsupported OS Warning" patch.

[ -e /tmp/os-release ] && rm /tmp/os-release ln -s /usr/lib/os-release.ori /tmp/os-release exit

  1. making previous script operative by creating .desktop launcher in your folder "~/.config/autostart". Edit in that folder a file as "MySettings.desktop", ad save it typing:
[Desktop Entry]
Type=Application
Name=MySettings
Name[<your-lang>]=MySettings
GenericName[<your-lang>]=Impostazioni personali
Comment=Personal Settings
Comment[<your-lang>]=Personal Settings
Icon=/bin/bash
Exec=/bin/bash /home/<you-user-name>/MySettings.sh
NoDisplay=true
NotShowIn=Gnome;Unity;

don't forget to make it executable: chmod +x ~/.config/autostart/MySettings.desktop

  1. rename original "os-release" file:

sudo mv /usr/lib/os-release /usr/lib/os-release.ori

  1. change old os-release file name in new symlink:

sudo ln -s /tmp/os-release /usr/lib/os-release

  1. create new os-release file, with dummy field to "cheat" Chrome, and save it as "/usr/lib/os-release.mod":

sudo <your-text-editor> /usr/lib/os-release.mod

and type in it:

NAME="Ubuntu"
VERSION="22.04.2 LTS (Jammy Jellyfish)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 22.04.2 LTS"
VERSION_ID="22.04"
HOME_URL="http://www.ubuntu.com/"
SUPPORT_URL="http://help.ubuntu.com/"
BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"
VERSION_CODENAME=Jammy
UBUNTU_CODENAME=Jammy
  1. Now you have to "hacking" Google Chrome. First, rename launcher:

sudo mv /opt/google/chrome/google-chrome /opt/google/chrome/google-chrome1

  1. now you have to create a new launcher, saving it as "/opt/google/chrome/google-chrome". Therefore:
sudo <your-text-editor> /opt/google/chrome/google-chrome

then type in it:

#!/bin/bash
#
# Start Chrome with params and "Unsupported OS Warning" patch.
#

"Unsupported OS Warning patch".

rm -f /tmp/os-release ln -s /usr/lib/os-release.mod /tmp/os-release sync

/opt/google/chrome/google-chrome1 --log-level=0 --ash-hide-notifications-for-factory --simulate-outdated-no-au='Tue, 31 Dec 2099 23:59:59 GMT' "$@" & disown

Restore os-release link

sleep 3 rm -f /tmp/os-release ln -s /usr/lib/os-release.ori /tmp/os-release exit

THAT'ALL !!!

Now you can use Chrome version 108 got rid from every warnig message about missing update or unsupported OS.

Enjoy...