Chromium est un excellent navigateur que l’on peut utiliser sans se lier pieds et poings à google
Introduction
Chromium est assez intrusif par certains côtés, heureusement des gars sympas font ce qu’il faut pour enlever les verrues.
Les ressources
Les numéros de versions officielles :
https://chromiumdash.appspot.com/releases?platform=Linux
Les versions disponibles:
https://chromium.woolyss.com/#linux
Télecharger ungoogled-chromium
toutes les versions et types https://ungoogled-software.github.io/ungoogled-chromium-binaries/
Depuis le site https://ungoogled-software.github.io/ungoogled-chromium-binaries/releases/linux_portable/64bit/
Ce 18/01/2021 c’est la version 87.0.4280.141-1.1
Version Flatpak https://flathub.org/apps/details/com.github.Eloston.UngoogledChromium
Autre fournisseur https://github.com/macchrome/linchrome
Décompresser dans /opt
sudo tar -xvf ungoogled-chromium_87.0.4280.141-1.1_linux.tar.xz -C /opt
Renommer en ungoogled-chromium
cd /opt
sudo mv ungoogled-chromium_87.0.4280.141-1.1_linux ungoogled-chromium
Tester en ligne de commande
/opt/ungoogled-chromium/chrome --enable-namespace-sandbox --gpu-sandbox-start-early --no-pings --disk-cache-dir=/tmp/chromium --password-store=gnome --renderer-process-limit=2 --lang=fr --disable-gpu-rasterization --disable-background-networking %U
Créer un lanceur
Fichier ~/.local/share/applications/chromiumUngoogled.desktop
Avec le contenu suivant (avec option sandbox):
[Desktop Entry]
Version=1.0
Name=ChromiumUngoogled
Name[fr]=ChromiumUngoogled
GenericName[fr]=Navigateur Web
Comment[fr]=Accéder à Internet
Exec=/opt/ungoogled-chromium/chrome --enable-namespace-sandbox --gpu-sandbox-start-early --no-pings --disk-cache-dir=/tmp/chromium --password-store=gnome --renderer-process-limit=2 --lang=fr --disable-gpu-rasterization --disable-background-networking %U
Terminal=false
X-MultipleArgs=false
Type=Application
Icon=/opt/ungoogled-chromium/product_logo_48.png
Categories=Network;WebBrowser;
MimeType=text/html;text/xml;application/xhtml_xml;x-scheme-handler/http;x-scheme-handler/https;
StartupNotify=true
StartupWMClass=chromium
Comment=ChromiumUngoogled
Sur Debian l’option est activée dans le noyau.
grep -i namespace config-5.10.0-1-amd64
CONFIG_NAMESPACES=y
Les autres options correspondesnt à mon choix et aux capacités de mon PC.
Voir https://peter.sh/experiments/chromium-command-line-switches/
Lancer ungoogled-chromium
Par un clic sur le lanceur dans les menus habituels.
Vérification
Dans la barre d’adresse chrome://sandbox/
On obtient:
Sandbox Status
Layer 1 Sandbox Namespace
PID namespaces Yes
Network namespaces Yes
Seccomp-BPF sandbox Yes
Seccomp-BPF sandbox supports TSYNC Yes
Ptrace Protection with Yama LSM (Broker) No
Ptrace Protection with Yama LSM (Non-broker) No
You are adequately sandboxed.
Paramètres
Page d’accueil et moteur de recherche par défaut: https://www.startpage.com/
Vérifier les ports utilisés
sudo netstat -lapunt | grep chrome
Pas d’adresse distante de site Google
Inconvénients
Pas de mise à jour automatique.
Il faut faire de la veille par le feed RSS: https://raw.githubusercontent.com/ungoogled-software/ungoogled-chromium-binaries/master/feed.xml
J’utilise l’extension « RSS Feed Reader »: https://chrome.google.com/webstore/detail/rss-feed-reader/pnjaodmkngahhkoihejjehlcdlnohgmp?hl=en
Et recommencer avec les commandes tar et mv sur la nouvelle version.
Le lanceur n’est pas à modifier.
Exemple passer de la version 87 à la version 88 de linchrome
cd /opt
sudo mv ungoogled-chromium ungoogled-chromium.bak
cd ~/Téléchargements
sudo tar -xvf ungoogled-chromium_88.0.4324.96_1.vaapi_linux.tar.xz -C /opt
cd /opt
sudo mv ungoogled-chromium_88.0.4324.96_1.vaapi_linux ungoogled-chromium
Vérification
chrome://version/
Chromium 88.0.4324.96 (Build officiel) (64 bits)
Révision 68dba2d8a0b149a1d3afac56fa74648032bcf46b-refs/branch-heads/4324@{#1784}
Système d'exploitation Linux
JavaScript V8 8.8.278.14
Agent utilisateur Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.96 Safari/537.36
Ligne de commande /opt/ungoogled-chromium/chrome --enable-namespace-sandbox --gpu-sandbox-start-early --no-pings --disk-cache-dir=/tmp/chromium --password-store=gnome --renderer-process-limit=2 --lang=fr --disable-gpu-rasterization --disable-background-networking --flag-switches-begin --extension-mime-request-handling=download-as-regular-file --flag-switches-end
Chemin d'accès exécutable /opt/ungoogled-chromium/chrome
Chemin d'accès au profil /home/guy/.config/chromium/Profile 1
chrome://gpu/
Graphics Feature Status
Canvas: Software only. Hardware acceleration disabled
Compositing: Software only. Hardware acceleration disabled
Multiple Raster Threads: Disabled
Out-of-process Rasterization: Disabled
OpenGL: Disabled
Hardware Protected Video Decode: Disabled
Rasterization: Software only. Hardware acceleration disabled
Skia Renderer: Enabled
Video Decode: Software only. Hardware acceleration disabled
Vulkan: Disabled
WebGL: Disabled
WebGL2: Disable
.
.
Sandboxed true
25/10/2021 version ungoogled-chromium_95.0.4638.54_1.vaapi_linux.tar.xz
Erreur sur GPU
[10411:10411:1025/074445.739722:ERROR:gpu_process_host.cc(979)] GPU process exited unexpectedly: exit_code=11
La commande devient
/opt/ungoogled-chromium/chrome --enable-namespace-sandbox --no-pings --disk-cache-dir=/tmp/chromium --password-store=gnome --renderer-process-limit=2 --lang=fr --disable-gpu-rasterization --disable-background-networking --disable-logging %U
chrome://sandbox/
Sandbox Status
Layer 1 Sandbox Namespace
PID namespaces Yes
Network namespaces Yes
Seccomp-BPF sandbox Yes
Seccomp-BPF sandbox supports TSYNC Yes
Ptrace Protection with Yama LSM (Broker) Yes
Ptrace Protection with Yama LSM (Non-broker) No
You are adequately sandboxed.
chrome://version/
Chromium 95.0.4638.54 (Official Build, ungoogled-chromium) (64 bits)
Révision d31a821ec901f68d0d34ccdbaea45b4c86ce543e-refs/branch-heads/4638@{#871}
Système d'exploitation Linux
JavaScript V8 9.5.172.21
Agent utilisateur Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.54 Safari/537.36
Ligne de commande /opt/ungoogled-chromium/chrome --enable-namespace-sandbox --no-pings --disk-cache-dir=/tmp/chromium --password-store=gnome --renderer-process-limit=2 --lang=fr --disable-gpu-rasterization --disable-background-networking --disable-logging --enable-crashpad --flag-switches-begin --extension-mime-request-handling=download-as-regular-file --flag-switches-end %U
Chemin d'accès exécutable /opt/ungoogled-chromium/chrome
Utilisation des extensions
Utiliser l’extension chromium-web-store
changer le flag chrome://flags/#extension-mime-request-handling à Always prompt
telecharger et decompresser de https://github.com/NeverDecaf/chromium-web-store/releases/tag/v1.4.4 le fichier tar.gz
Dans chrome://extensions/ cliquer sur charger l’extension non empaquetée selectionner le dossier par exemple ~/Téléchargements/linux/chromium/chromium-web-store-1.4.4/src/ L’extension Chromium web store 1.4.4 s’installe
Mise à jour des extensions
Selectionner l’icone extension dans la barre de chromium (genre de petit marteau) selectionner chrome web store → mettre à jour toutes les extensions

Cas de l’installation de l’Appimage en dur dans /opt
~/Téléchargements/linux/chromium$ chmod +x ungoogled-chromium_102.0.5005.63_1.vaapi_linux.AppImage
~/Téléchargements/linux/chromium$ ./ungoogled-chromium_102.0.5005.63_1.vaapi_linux.AppImage --appimage-extract
cd ~/Téléchargements/linux/chromium/squashfs-root/opt/google/
sudo cp -R chrome /opt/ungoogled-chromium
1 commentaire
Les commentaires sont désactivés.