v0.07: switch to Chromium snap, remove Google Chrome

- Replace google-chrome with /snap/bin/chromium
- Remove --test-type flag (was triggering Google bot detection/CAPTCHA)
- Add --disable-blink-features=AutomationControlled (hides webdriver flag)
- Move profile dir to /home/jgitta/chromium-kiosk (snap can't write to .config)
- Uninstall google-chrome-stable and its apt repo
This commit is contained in:
2026-05-22 12:28:48 +00:00
parent e574403853
commit aac4605e66
+4 -4
View File
@@ -561,7 +561,7 @@ class KioskOverlay(QWidget):
# ── Chrome launcher ───────────────────────────────────────────────
def launch_chrome():
import pathlib, json as _json, shutil
profile_dir = pathlib.Path("/home/jgitta/.config/google-chrome-kiosk")
profile_dir = pathlib.Path("/home/jgitta/chromium-kiosk")
profile_dir.mkdir(parents=True, exist_ok=True)
for name in ("SingletonLock", "SingletonSocket", "SingletonCookie"):
@@ -606,7 +606,7 @@ def launch_chrome():
chrome_h = SCREEN_H - TOP_H
cmd = [
"google-chrome",
"chromium",
"--no-first-run",
"--no-default-browser-check",
"--disable-translate",
@@ -623,9 +623,9 @@ def launch_chrome():
"--disable-extensions",
"--disable-gpu",
"--no-sandbox",
"--test-type",
"--disable-blink-features=AutomationControlled",
"--disable-dev-shm-usage",
"--user-data-dir=/home/jgitta/.config/google-chrome-kiosk",
"--user-data-dir=/home/jgitta/chromium-kiosk",
f"--remote-debugging-port={CDP_PORT}",
"--remote-allow-origins=*",
f"--window-position=0,{TOP_H}",